This file contains hidden or 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 main | |
import ( | |
"fmt" | |
"os" | |
"io" | |
"bufio" | |
"strings" | |
"flag" | |
"bytes" |
This file contains hidden or 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 java.util.Queue; | |
import java.util.LinkedList; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
public class R { | |
public static void main(String[] args) { | |
int len = 10; |
This file contains hidden or 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
/** | |
* Assignment 9, exercise 3 | |
* Class representing a labyrinth | |
* Two constructors are already implemented, also a method to print out the labyrinth and its solution | |
* | |
* @author Lisa Julia Nebel Julius Plenz | |
*/ | |
// TODO Take a look how this class works. | |
// TODO Look at the docstrings, document your own functions | |
This file contains hidden or 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 | |
# fast-forward local tracking branch if you get something like (on git checkout): | |
# Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. | |
# Author: Valentin Haenel <[email protected]> | |
# Licence: wtfpl <http://sam.zoy.org/wtfpl/> | |
BRANCH=$( git branch | grep ^* | cut -f1 -d' ' --complement ) | |
if [[ -z $BRANCH ]] ; then | |
# not a git repository | |
exit 1 |
This file contains hidden or 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
zsh> ./kamusi -qs president | |
noun: urais; mkuu; mrajis; rais | |
zsh> ./kamusi -qsd sw rais | |
verb: play the hypocrite | |
noun: chairman; chairman; president |