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
rio@morty ~> cat foo.java | |
public class foo { | |
public static void main(String[] args) { | |
String bar = new String("qux"); | |
if(bar == "qux") { | |
System.out.println(bar + " == " + "qux"); | |
} | |
System.out.println(bar + " != " + "qux"); | |
} | |
} |
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
rio@morty ~> cat foo.java | |
public class foo { | |
public static void main(String[] args) { | |
String bar = new String("qux"); | |
String baz = new String("qux"); | |
if(bar == baz) { | |
System.out.println(bar + " == " + baz); | |
} | |
System.out.println(bar + " != " + baz); | |
} |
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
rio@morty ~> cat foo.java | |
public class foo { | |
public static void main(String[] args) { | |
String bar = new String("qux"); | |
if(args[0] == bar) { | |
System.out.println(args[0] + " == " + bar); | |
} | |
System.out.println(args[0] + " != " + bar); | |
} | |
} |
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
#!/bin/bash | |
if [[ "$ACTION" == "download" ]]; then | |
echo "New image from camera. Uploading ..." | |
scp -B "$ARGUMENT" summer:public_html/feed/ | |
echo "Updating remote symlink ..." | |
ssh summer ln -s "~/public_html/feed/`basename $ARGUMENT`" "~/public_html/feed/current.jpg" -f | |
fi |
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
ASRock J4105-ITX | |
Corsair ValueSelect SO-DIMM 8GB DDR4-2133 | |
Crucial MX500 250 GB | |
Fractal Design NODE 304 | |
WD Red 4TB SATA III, 6000 Mbit/s, 5400 rpm, 64 MB (2x: RAID 1) | |
picoPSU-160-XT | |
+ an external power supply | |
+ some cables and stuff |
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
rio@morty ~ $ sudo gphoto2 --list-config | |
/main/actions/syncdatetime | |
/main/actions/bulb | |
/main/actions/uilock | |
/main/actions/autofocusdrive | |
/main/actions/manualfocusdrive | |
/main/actions/cancelautofocus | |
/main/actions/eoszoom | |
/main/actions/eoszoomposition | |
/main/actions/viewfinder |
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
Jan 24 10:30:45 summer nginx[873]: 2019/01/24 10:30:45 [error] 897#897: *13809 access forbidden by rule, client: 132.232.47.206, server: , request: "HEAD http://176.9.116.9:80/1phpmyadmin/ HTTP/1.1", host: "176.9.116.9" | |
Jan 24 10:30:46 summer nginx[873]: 2019/01/24 10:30:46 [error] 897#897: *13809 access forbidden by rule, client: 132.232.47.206, server: , request: "HEAD http://176.9.116.9:80/2phpmyadmin/ HTTP/1.1", host: "176.9.116.9" | |
Jan 24 10:30:46 summer nginx[873]: 2019/01/24 10:30:46 [error] 897#897: *13809 access forbidden by rule, client: 132.232.47.206, server: , request: "HEAD http://176.9.116.9:80/3phpmyadmin/ HTTP/1.1", host: "176.9.116.9" | |
Jan 24 10:30:46 summer nginx[873]: 2019/01/24 10:30:46 [error] 897#897: *13809 access forbidden by rule, client: 132.232.47.206, server: , request: "HEAD http://176.9.116.9:80/4phpmyadmin/ HTTP/1.1", host: "176.9.116.9" | |
Jan 24 10:30:47 summer nginx[873]: 2019/01/24 10:30:47 [error] 897#897: *13809 access forbidden by rule, client: 132.232.47.206, server: , reque |
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
Jan 10 21:01:23 summer kernel: Not tainted 4.20.0-arch1-1-ARCH #1 | |
Jan 10 21:01:23 summer kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
Jan 10 21:01:23 summer kernel: md127_raid1 D 0 323 2 0x80000000 | |
Jan 10 21:01:23 summer kernel: Call Trace: | |
Jan 10 21:01:23 summer kernel: ? __schedule+0x29b/0x8b0 | |
Jan 10 21:01:23 summer kernel: ? blk_queue_exit+0x2c/0x60 | |
Jan 10 21:01:23 summer kernel: ? preempt_count_add+0x79/0xb0 | |
Jan 10 21:01:23 summer kernel: schedule+0x32/0x90 | |
Jan 10 21:01:23 summer kernel: md_super_wait+0x69/0xa0 [md_mod] | |
Jan 10 21:01:23 summer kernel: ? wait_woken+0x80/0x80 |
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
\begin{frame} | |
\begin{tikzpicture}[overlay, remember picture] | |
\coordinate (my north west) at ($ (current page.north west)+(5pt,-30pt) $); | |
\coordinate (my west) at ($ (current page.west)+(5pt,0) $); | |
\coordinate (my east) at ($ (current page.east)+(-5pt,0) $); | |
\coordinate (my south east) at ($ (current page.south east)+(-5pt,20pt) $); | |
\coordinate (my south west) at ($ (current page.south west)+(5pt,20pt) $); | |
\coordinate (my south) at ($ (current page.south)+(0,20pt) $); | |
\node[anchor=north west] (orthonormal bases) at (my north west) { |
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
[Unit] | |
Description=Advanced key-value store | |
After=network.target | |
[Service] | |
Type=simple | |
User=redis | |
Group=redis | |
ExecStart=/usr/bin/redis-server /etc/redis.conf | |
ExecStop=/usr/bin/redis-cli shutdown |
NewerOlder