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
client | |
dev tun | |
comp-lzo | |
auth-user-pass | |
# remote-cert-tls server | |
server-poll-timeout 10 | |
auth-nocache | |
auth-retry interact | |
verb 1 | |
remote openvpn.getcloakvpn.com 443 udp |
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
#include <string> | |
#include <map> | |
#include <utility> | |
#include <sstream> | |
#include <iostream> | |
#include <fstream> | |
// #include <pair> | |
using namespace std; |
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
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |
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
#include "Expression_Tree.h" | |
#include <iostream> | |
#include <stack> | |
#include <string> | |
#include <iomanip> | |
using namespace std; | |
bool isDigit(char ch) { | |
return (ch >='0' && ch <= '9'); | |
} |
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
class ETNode { | |
public: | |
char value; | |
ETNode *left, *right; | |
ETNode(char value_); | |
ETNode(char value_, ETNode* left_, ETNode* right_); | |
}; | |
// A very simple expression tree class that converts a parenthesized input | |
// consisting of addition and multiplication operations, into an expression tree. |
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
input[ 0 ] = '2' | |
st = [ ] | |
t = { 'value': '2' } | |
input[ 1 ] = '+' | |
st = [ | |
{ 'value': '2' } ] | |
t = { 'value': '+' } | |
input[ 2 ] = '(' |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# BEGIN Derwent qTranslatex mods | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(en|fr)(/.*|)$ $2 [L,NC,R=301] | |
</IfModule> | |
# END Derwent qTranslatex mods |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# ZSH customization | |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
COMPLETION_WAITING_DOTS="true" | |
HIST_STAMPS="yyyy-mm-dd" | |
plugins=(git, zsh-autosuggestions, zsh-syntx-highlighting, brew, npm, z, colorize, autopep8, cabal, dirhistory, lein, macports, osx, perl, pep8, python, pip, sublime, taskwarrior, wd, vi-mode, zsh_reload) | |
bindkey -v | |
source $ZSH/oh-my-zsh.sh |
OlderNewer