Skip to content

Instantly share code, notes, and snippets.

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$
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]
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));
}
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
tGwGDtww tGwtDtww tGwwDtww
twtwDtww twtwDtww twtwDtww
tGGwDtww tGwwDtww tGtwDtww
completions = {
supson = { value = "¯\\_(ツ)_/¯"; };
tableflip = { value = "(╯°□°)╯︵ ┻━┻"; };
tableback = { value = "┬─┬ ノ( ゜-゜ノ)"; };
gief = { value = "༼ つ ◕_◕ ༽つ"; };
eyes = { value = "ಠ_ಠ"; };
};
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…
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=(.*)$/
re> /(\w\(\w\))=(.*)/
data> f(x)=foo
0: f(x)=foo
1: f(x)
2: foo
<?php
$a = [];
$a[0] = 1;
$a['banana'] = 2;
$a[] = 3;
$a[2] = 4;
for($i=0;$i<count($a); $i++)
echo $a[$i];
?>