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
import java.util.Scanner; | |
public class Week1 { | |
public static void main(String[] args) { | |
Scanner reader = new Scanner(System.in); | |
System.out.printf("Masukkan tanggal lahir, bulan lahir, dan tahun lahir\n"); | |
System.out.printf("Setiap variabel dipisah dengan spasi\nInput : "); | |
short tanggalLahir = reader.nextByte(); | |
byte bulanLahir = reader.nextByte(); |
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
/** | |
* | |
* @author nelvson | |
*/ | |
import java.util.Scanner; | |
public class Week3 { | |
public static void main(String[] args) { | |
Scanner reader = new Scanner(System.in); | |
int X = reader.nextInt(); | |
int Y = reader.nextInt(); |
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
/** | |
* | |
* @author nelvson | |
*/ | |
import java.util.Scanner; | |
public class Week2 { | |
public static void main(String[] args) { | |
Scanner reader = new Scanner(System.in); | |
int N = reader.nextInt(); | |
int M = reader.nextInt(); |
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
"~/.vimrc | |
"latest update : 2019-01-10 | |
" | |
" | |
"colorscheme nord | |
"TODO: find out why nord isnt working | |
" | |
map <C-c> y:e ~/clipsongzboard<CR>P:w !pbcopy<CR><CR>:bdelete!<CR> |
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
PS1='[\h@\W$] ' | |
export TERM=xterm-256color | |
export EDITOR=/usr/bin/nano | |
alias clean='find . -name ".DS_Store" -exec rm "{}" \;' | |
export PATH=./node_modules/.bin:$PATH | |
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" | |
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
assume-paste-time 1 | |
base-index 0 | |
bell-action any | |
bell-on-alert off | |
default-command "" | |
default-shell "/bin/bash" | |
destroy-unattached off | |
detach-on-destroy on | |
display-panes-active-colour red | |
display-panes-colour blue |
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
letter | frequency | |
---|---|---|
A | 0.08167 | |
B | 0.01492 | |
C | 0.02782 | |
D | 0.04253 | |
E | 0.12702 | |
F | 0.02288 | |
G | 0.02015 | |
H | 0.06094 | |
I | 0.06966 |
![k.gif](https://gist.github.com/nelvson/bf22dd0d4d0b1f53c66bad60330b2db2/raw/7549e3ca8c2be68d8869284ccc5cdd9225ef62d4/k.gif)
![n.gif](https://gist.github.com/nelvson/5eb6a0f71942f6a9454a45da6c385e0b/raw/a25de4625720e16a30829b16ddcf57179665def0/n.gif)
![i.gif](https://gist.github.com/nelvson/c458f0684c3a012e9c769e74b2026ca7/raw/737057304131fd27c13ad7f71c74a4ed468fcb59/i.gif)
OlderNewer