git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #!/bin/bash | |
| gnuplot -persist <<"EOF" | |
| set style data linespoints | |
| show timestamp | |
| set xlabel "time (seconds)" | |
| set ylabel "Segments (cwnd, ssthresh)" | |
| plot "reno.txt" using 1:7 title "snd_cwnd", \ | |
| "reno.txt" using 1:($8>=2147483647 ? 0 : $8) title "snd_ssthresh" | |
| EOF |
| import numpy as np | |
| from math import log | |
| #suhu 3bit (tp), waktu 4 bit (tm), kondisi langit 4 bit(sky), kelembapan 3bit(hm) | |
| # suhu: rendah, normal, tinggi | |
| # waktu: pagi, siang, sore, malam | |
| # kondisi: cerah, berawan, rintik, hujan | |
| # kelembapan: rendah, normal, tinggi | |
| def entropy(total, yes, no): | |
| y = yes/float(total) |
| import string | |
| datas = raw_input().split(' ') | |
| f = [] | |
| f.append('{}:a'.format(datas[0])) | |
| f.append('{}:b'.format(datas[1])) | |
| f.append('{}:c'.format(datas[2])) | |
| x = [] |
| import string | |
| alpha = string.ascii_uppercase | |
| while True: | |
| datas = raw_input() | |
| x, y, z = map(lambda x: x.upper(), datas) | |
| p = alpha.index(y) - (alpha.index(x)+1) |
| #include <iostream> | |
| #include <sstream> | |
| #include <string> | |
| #include <vector> | |
| #include <algorithm> | |
| using namespace std; | |
| // Initial Some Function | |
| #define pop(pda, i) pda.erase(remove(pda.begin(), pda.end(), i), pda.end()) | |
| #define push(pda, i) pda.push_back(i) |
| You can kill the port | |
| sudo kill $(sudo lsof -t -i:port_number) | |
| Like if it is running on 8000, you can do below | |
| sudo kill $(sudo lsof -t -i:8000) |
| <VirtualHost *:80> | |
| <Directory /var/www/html> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order allow,deny | |
| allow from all | |
| </Directory> | |
| # The ServerName directive sets the request scheme, hostname and port that | |
| # the server uses to identify itself. This is used when creating | |
| # redirection URLs. In the context of virtual hosts, the ServerName |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
sudo apt-get install git zshsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions~/.zshrc and replace line plugins=(git) with plugins=(git zsh-autosuggestions)~/.oh-my-zsh/custom/colors.zsh containing ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=240'git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting