This is a list of the most helpful keyboard commands I use within top.
h shows help on interactive commands. Also see the top manual page
q to quit the program.
This is a list of the most helpful keyboard commands I use within top.
h shows help on interactive commands. Also see the top manual page
q to quit the program.
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
TCL-Expect scripts are an amazingly easy way to script out laborious tasks in the shell when you need to be interactive with the console. Think of them as a "macro" or way to programmaticly step through a process you would run by hand. They are similar to shell scripts but utilize the .tcl extension and a different #! call.
The first step, similar to writing a bash script, is to tell the script what it's executing under. For expect we use the following:
#!/usr/bin/expect
| #!/bin/bash | |
| # disk-usage from docker-experiments | |
| # https://github.com/rsp/docker-experiments | |
| # by Rafał Pocztarski - https://github.com/rsp | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: $0 \"image1 image2 ...\"" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| echo "Building NGINX along with Echo module" | |
| # install prerequisites | |
| yum -y install gcc gcc-c++ make zlib-devel pcre-devel openssl-devel | |
| # download the Echo module | |
| curl -L -O 'https://github.com/openresty/echo-nginx-module/archive/v0.58.tar.gz' | |
| tar -xzvf v0.58.tar.gz && rm v0.58.tar.gz | |
| mv echo-nginx-module-0.58 /tmp/echo-nginx-module |
| vi /etc/environment | |
| add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
A basic responsive web page, following the ideas presented in Learning Responsive Web Design by Clarissa Peterson.
| -- http://stackoverflow.com/questions/37812664/end-of-central-directory-signature-not-found-when-installing-xcode-8-beta-xip/37857162#37857162 | |
| on run argv | |
| tell application "Archive Utility" to open POSIX path of (item 1 of argv) | |
| repeat | |
| delay 5 | |
| if application "Archive Utility" is not running then exit repeat | |
| end repeat | |
| end run |
| -server | |
| -Xms2048m | |
| -Xmx2048m | |
| -XX:NewSize=512m | |
| -XX:MaxNewSize=512m | |
| -XX:PermSize=512m | |
| -XX:MaxPermSize=512m | |
| -XX:+UseParNewGC | |
| -XX:ParallelGCThreads=4 | |
| -XX:MaxTenuringThreshold=1 |
| #EXTM3U | |
| #EXTINF:-1,Digitally Imported - Ambient | |
| http://pub1.diforfree.org:8000/di_ambient_hi | |
| #EXTINF:-1,Digitally Imported - Big Room House | |
| http://pub1.diforfree.org:8000/di_bigroomhouse_hi | |
| #EXTINF:-1,Digitally Imported - Breaks | |
| http://pub1.diforfree.org:8000/di_breaks_hi |