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
# Create the file itself | |
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress | |
# Only root should be able to read and write | |
sudo chmod 600 /swapfile | |
# Format the swap file | |
sudo mkswap /swapfile | |
# Enable the swap |
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
package pgdp.datastructures; | |
import java.util.Arrays; | |
import java.util.NoSuchElementException; | |
import java.util.Objects; | |
public class QuadTreeKnotenImpl implements QuadTreeKnoten { | |
private int dimension; | |
private int[][] colorValues; |
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
testing/actual/season_1/1.0_hellofriend.txt | |
1🍆Hello, friend. | |
97🍆That's my childhood friend, Angela. | |
2🍆Hello, friend. | |
3🍆"Hello, friend?" That's lame. | |
611🍆And, Elliot, we are on the verge of taking down this virtual reality. | |
164🍆And we need to work on your anger issues, Elliot. | |
356🍆Lloyd, what's up? Lloyd? Elliot. | |
772🍆Elliot FBI agents claim that Colby either used hacking groups, or worked in conjunction with them to pressure Evil Corp during his contract negotiations. | |
102🍆- Gideon, will you please answer me? Awesome? You think this is awesome? This is killing us, Elliot. |
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
package pgdp.arrays; | |
public class ProbabilisticSearch extends MiniJava { | |
/** | |
* Binary Search aus der Vorlesung leicht abgewandelt | |
*/ | |
public static int[] find (int[] a, int x) { | |
return find0(a, x, 0, a.length-1, 1); |
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
### Keybase proof | |
I hereby claim: | |
* I am alexanderstephan on github. | |
* I am alexanderstephan (https://keybase.io/alexanderstephan) on keybase. | |
* I have a public key ASAhRRjqYP_zhEIw90zghHBNZuUpt-eqwVMy9R3rfHYVggo | |
To claim this, I am signing this object: |
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
#! | |
echo "Put yr keyboard in boot mode!" | |
echo "erasing in 10 seconds" | |
sleep 10 | |
echo "erasing..." | |
dfu-programmer atmega32u4 erase --suppress-validation | |
echo "flashing in 10 seconds" | |
sleep 10 | |
echo "flashing..." | |
dfu-programmer atmega32u4 flash gh60.hex |
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
\e[0;36m. | |
\e[0;36m/ \ | |
\e[0;36m/ \ \e[1;37m # \e[1;36m| * | |
\e[0;36m/^. \ \e[1;37m a##e #%" a#"e 6##% \e[1;36m| | |-^-. | | \ / | |
\e[0;36m/ .-. \ \e[1;37m.oOo# # # # # \e[1;36m| | | | | | X | |
\e[0;36m/ ( ) _\ \e[1;37m%OoO# # %#e" # # \e[1;36m| | | | ^._.| / \ \e[0;37mTM | |
\e[1;36m/ _.~ ~._^\ | |
\e[1;36m/.^ ^.\ © Alexander Stephan |
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
set $mod Mod1 | |
# Font for window titles. Will also be used by the bar unless a different font | |
# is used in the bar {} block below. | |
font pango:Roboto Regular 10 | |
# This font is widely installed, provides lots of unicode glyphs, right-to-left | |
# text rendering and scalability on retina/hidpi displays (thanks to pango). |