# Javascript Mülakat Soruları
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/mobiroller/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
Verifying my Blockstack ID is secured with the address 18h4Xkg9mFhwhLgokzBkggLQ5RD6KAiAvs https://explorer.blockstack.org/address/18h4Xkg9mFhwhLgokzBkggLQ5RD6KAiAvs |
NOTE: this gist can be outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisherman-osx
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
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
// An example on how to generate a local SSL certificate in Go | |
// and serve HTTPS traffic with it. | |
// | |
// Code taken from the book Go Web Programming by Sau Sheong Chang | |
// https://github.com/sausheong/gwp | |
// | |
// Run with `--https` to serve traffic via HTTPS (it will create the certificate | |
// and private key files if they don't exist) | |
// | |
// Run with no parameters to serve traffic via HTTP (no certificates needed) |
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 main | |
import ( | |
"crypto/tls" | |
"github.com/facebookgo/grace/gracehttp" | |
"log" | |
"net/http" | |
"rsc.io/letsencrypt" | |
) |
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 main | |
import ( | |
"crypto/tls" | |
"golang.org/x/crypto/acme/autocert" | |
"log" | |
"net" | |
"net/http" | |
) |
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 main | |
import ( | |
"fmt" | |
"net/url" | |
"github.com/PuerkitoBio/goquery" | |
"time" | |
"strings" | |
"strconv" | |
"math/rand" |
We will be using 3 virtual machines as 3 Ethereum node. We used 'Ubuntu Server 14.04 LTS trusty', and 'Ubuntu 15.10 wily' for this experiment. Root Ethereum node will be referred as 'root node', client nodes will be referred as 'client node A' & 'client node B' respectively. On root node port 30303 must be accessible from outside.
Below are the installation instructions for the latest versions of Ubuntu. This step must be executed and Ethereum go client 'geth' must be installed on every node.
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
cd ~ | |
apt-get update | |
apt-get upgrade | |
wget https://storage.googleapis.com/golang/go1.8.3.linux-armv6l.tar.gz | |
tar -C /usr/local -xzf ~/go1.8.3.linux-armv6l.tar.gz | |
rm ~/go1.8.3.linux-armv6l.tar.gz | |
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc |
NewerOlder