System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
'use strict'; // avoid ambiguity and sloppy errors | |
/** | |
* Tests whether or not a given string is a Palindrome | |
* @param {string} stringToTest - the string to test. | |
*/ | |
function isPalindrome(stringToTest) { | |
var start = 0, | |
end; |
Servo serv; | |
int pos = 0; | |
void setup() { | |
serv.attach(D0); | |
Spark.function("setpos", setPos); | |
Spark.variable("getpos", &pos, INT); | |
} | |
void loop() { |
#!/bin/bash | |
cat test.txt | \ | |
convert -background '#44aff7' -fill white -size 250x5000 -trim +repage -font AvantGarde-Book -pointsize 16 caption:@- miff:- |\ | |
#convert -background blue \ | |
# -size $((`identify -format %w test_tmp.png` + 20))x$((`identify -format %h test_tmp.png` + 20)) \ | |
# xc: test_tmp.png -flatten test.png | |
convert - -bordercolor '#44aff7' -border 10x10 test.png |
,_---~~~~~----._ | |
_,,_,*^____ _____``*g*\"*, | |
/ __/ /' ^. / \ ^@q f | |
[ @f | @)) | | @)) l 0 _/ | |
\`/ \~____ / __ \_____/ \ | |
| _l__l_ I | |
} [______] I | |
] | | | | | |
] ~ ~ | | |
| | |
var cluster = require('cluster'); | |
if (cluster.isMaster) { | |
// Fork workers. | |
for (var i = 0; i < 20; i++) { | |
cluster.fork(); | |
} | |
return ; |
require 'base64' | |
require 'cgi' | |
def show_session(cookie) | |
Marshal.load(Base64.decode64(CGI.unescape(cookie.split("\n").join).split('--').first)) | |
end |