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 demian0311 on github. | |
* I am demian0311 (https://keybase.io/demian0311) on keybase. | |
* I have a public key whose fingerprint is 144B 1BD6 7A70 37F1 BBDB 3ACA 1728 B19C 1979 9BCE | |
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
package interview; | |
import org.junit.Test; | |
import static org.junit.Assert.*; | |
import java.util.function.IntPredicate; | |
import java.util.stream.IntStream; | |
public class Sevens { |
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/sh | |
name=neidetcher_access | |
rrdfile="/var/local/${name}.rrd" | |
imageDir="/home/demian/code/demian0311.github.com/_site" | |
case "$1" in | |
create) | |
rrdtool create $rrdfile --step 60 \ | |
"DS:${name}:GAUGE:120:0:1000000" \ |
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
demian ~/boxes/foobox cat bootstrap.sh | |
#!/usr/bin/env bash | |
apt-get update | |
apt-get upgrade | |
apt-get install -y apache2 | |
apt-get install -y vim | |
apt-get install -y git | |
#apt-get install -y tomcat7 | |
apt-get install -y openjdk-7-jdk |
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
rm -f *.class | |
rm -rf *.scala | |
echo 'object HelloWorld extends App{ println("hello world")}' > hw.scala | |
echo "## Scala source created" | |
cat hw.scala | |
echo "## Compiling Scala class" | |
scalac hw.scala |