- as-is implemented now, no changes needed
- phone has static ip configuraton for usb network interface
- phone runs udhcpd, which
- provides gateway & dns info as made available by e.g. cellular internet connection
- pc runs dhcp client, gets ip, gateway & dns info from phone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get purge virtualbox-5.0 | |
dpkg -i virtualbox-5.0_5.0.0-101573~Ubuntu~trusty_amd64.deb | |
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.0.vbox-extpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("flowdock.com") { | |
.chat-message, .comment-message, .action-message, .line-message, .status-message, .file-message, .error-message { | |
padding-top: 0 !important; | |
padding-bottom: 0 !important; | |
font-family: Ubuntu,Tahoma,sans-serif !important; | |
font-size: 10px !important; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use utf8; | |
sub nonEmptyString($) { | |
my ($str) = @_; | |
return defined($str) && length($str); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//$webrun_wrapped | |
shared void run() { | |
value cn = "foo.bar"; | |
print(cn[(cn.lastIndexWhere((Character ch) => ch == '.') else 0) ...]); | |
// vs | |
print(cn[(cn.lastIndexWhere((Character ch) => ch == '.') else 0)+1 ...]); | |
// vs | |
print(cn[ cn.lastIndexWhere((Character ch) => ch == '.') else 0 ...]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void hexdump(String s) { | |
value hexes = { for (ch in s) let (x = "_____" + formatInteger(ch.integer, 16)) x[x.size - 5 ...] }; | |
log.debug(hexes.fold("")((x,y) => x + y + " ")+ s); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ceylon.file { | |
Path, | |
Nil, | |
File, | |
createFileIfNil, | |
parsePath | |
} | |
import ceylon.logging { | |
Logger | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use File::Temp qw/ :mktemp /; | |
my @params = grep(/^-/,@ARGV); | |
@ARGV = grep(!/^-/,@ARGV); | |
my $tmp = $ENV{"TMP"}; | |
$tmp = "/tmp" unless(defined($tmp)); | |
($tmpfh, $tmpfile) = mkstemp($tmp."/diff_u.XXXXXX"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; For finnish keyboard layout. Uses Ctrl + the two keys to the right of non-numpad number key "0" | |
(define-key global-map [?\C-+] 'text-scale-increase) | |
(define-key global-map [?\C-'] 'text-scale-decrease) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<botConfig> | |
<irc-settings> | |
<encoding>utf-8</encoding> | |
<fallbackEncoding>iso-8859-15</fallbackEncoding> |