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
stefanmaier@macbookpro:~/tmp/foo$ LC_ALL=de_DE.UTF-8 dotnet run | |
14046 | |
stefanmaier@macbookpro:~/tmp/foo$ LC_ALL=en_US.UTF-8 dotnet run | |
14 | |
stefanmaier@macbookpro:~/tmp/foo$ LC_ALL=C dotnet run | |
14 | |
stefanmaier@macbookpro:~/tmp/foo$ |
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
Now playing: Kyle - iSpy (feat. Lil Yachty) | |
[shuffle on] | |
Now playing: Lily Allen - Fuck You | |
[shuffle on] | |
Now playing: Lily Allen - Fuck You | |
[shuffle on] | |
Now playing: Lily Allen - Fuck You | |
[shuffle on] | |
Now playing: Shawn Mendes - There's Nothing Holdin' Me Back | |
[shuffle on] |
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
bool make_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg){ | |
Serial.print("encoding string "); | |
Serial.println((char* const) arg); | |
char* const str = (char* const) arg; | |
if (!pb_encode_tag_for_field(stream, field)) | |
return false; | |
return pb_encode_string(stream, (uint8_t*)str, strlen(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
root@hosting-glusterfs-2:~# apt-get install xfs_progs | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
E: Unable to locate package xfs_progs | |
root@hosting-glusterfs-2:~# apt-get install xfs_tools | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
E: Unable to locate package xfs_tools |
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
tGwGDtww tGwtDtww tGwwDtww | |
twtwDtww twtwDtww twtwDtww | |
tGGwDtww tGwwDtww tGtwDtww |
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
completions = { | |
supson = { value = "¯\\_(ツ)_/¯"; }; | |
tableflip = { value = "(╯°□°)╯︵ ┻━┻"; }; | |
tableback = { value = "┬─┬ ノ( ゜-゜ノ)"; }; | |
gief = { value = "༼ つ ◕_◕ ༽つ"; }; | |
eyes = { value = "ಠ_ಠ"; }; | |
}; |
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
Heute habe ich etwas Dummes getan. | |
Ich habe mir Chili con Carne in so einem Plastikschüsselchen gekauft, auf das eine Plastikfolie augeschweißt war. | |
Weil ich das Plastikschüsselchen nicht mit all dem anderen Einkaufskram in die Tasche stecken wollte (weil, hält ja nichts aus) hab ich das erstmal im Mittelbereich unter der Handbremse verstaut. | |
Nach dem ich meinen Einkaufswagen zurückgebracht hatte hab ich dann doch - ohne an das Chili zu denken - relativ energisch die Handbremse gelöst und dem Plastikschüsselchen einen Faustschlag verpasst auf den es nicht vorbereitet war. Chili. Überall. | |
tl;dr: Chili gefaustschlagt, Chili in der Handbremse… |
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
require 'unimidi' | |
p = IO.popen('ssh root@mailserver tail -f /var/log/mail') | |
notes = (24..36).to_a | |
o = UniMIDI::Output.open(:first) | |
while l = p.readline do | |
if l =~ /sasl_username=(.*)$/ |
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
re> /(\w\(\w\))=(.*)/ | |
data> f(x)=foo | |
0: f(x)=foo | |
1: f(x) | |
2: foo |
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
<?php | |
$a = []; | |
$a[0] = 1; | |
$a['banana'] = 2; | |
$a[] = 3; | |
$a[2] = 4; | |
for($i=0;$i<count($a); $i++) | |
echo $a[$i]; | |
?> |