I hereby claim:
- I am systemhalted on github.
- I am palakmathur (https://keybase.io/palakmathur) on keybase.
- I have a public key ASAlyDd40zsg963cDx5zJL-xzYMhvoadRoL10SXdxLyUxAo
To claim this, I am signing this object:
| .PRECIOUS: %.ll | |
| TARGETS=simple0.log simple1.log branch0.log loop0.log branch1.log branch2.log loop1.log cast0.log cast1.log | |
| all: ${TARGETS} | |
| %.ll: %.c | |
| clang -emit-llvm -S -fno-discard-value-names -c -o $@ $< | |
| %.log: %.ll |
I hereby claim:
To claim this, I am signing this object:
| ========================================== ========================================== | |
| TMUX COMMAND WINDOW (TAB) | |
| ========================================== ========================================== | |
| List tmux ls List ^b w | |
| New -s <session> Create ^b c | |
| Attach att -t <session> Rename ^b , <name> | |
| Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
| Kill kill-session -t <session> Close ^b & |
| build date | Sun/Oracle JDK Version | OpenJDK Version | HotSpot VM Version |
|---|---|---|---|
| 2006-11-29 | 1.6.0-b105 | 1.6.0-b105 | |
| 2007-03-14 | 1.6.0_01-b06 | 1.6.0_01-b06 | |
| 2007-06-22 | 1.6.0_02-b05 | 1.6.0_02-b05 | |
| 2007-09-24 | 1.6.0_03-b05 | 1.6.0_03-b05 | |
| 2007-12-14 | 1.6.0_04-b12 | 10.0-b19 |
| # to install the latest stable version: | |
| brew install scala --with-docs | |
| # to install scala-2.10.0-RC3: | |
| brew install https://raw.github.com/gist/4118557/scala.rb --with-docs | |
| # to switch versions (from https://github.com/mxcl/homebrew/wiki/External-Commands): | |
| brew switch scala 2.9.2 | |
| brew switch scala 2.10.0-RC3 |
| You’re running the REPL with outdated classes: Build module 'HelloKotlin' and restart | |
| Welcome to Kotlin version 1.2.10 (JRE 1.8.0_171-b11) | |
| Type :help for help, :quit for quit | |
| fun whatShouldIDoToday( | |
| mood: String, | |
| weather: String = "sunny", | |
| temperature: Int = 24): String { |
| val array = Array(5) {it * 2} | |
| println(array.asList()) | |
| [0, 2, 4, 6, 8] | |
| import kotlin.math.pow | |
| val array = Array(7) { 1000.0.pow(it)} | |
| val sizes = arrayOf("byte", "kilobyte", "megabyte", "gigabyte", |
| var rainbowColor : String = "Blue" | |
| rainbowColor = "Violet" | |
| rainbowColor | |
| Violet | |
| val blackColor : String = "Black" | |
| blackColor |
I hereby claim:
To claim this, I am signing this object:
| # first: | |
| lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
| sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
| # To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
| # go to /usr/local/lib and delete any node and node_modules | |
| cd /usr/local/lib | |
| sudo rm -rf node* |