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 CA certificate is for verifying HTTPS connection to; | |
- https://rubygems.org/ (obtained by RubyGems team) | |
Certificate: | |
Data: | |
Version: 3 (0x2) | |
Serial Number: 1 (0x1) | |
Signature Algorithm: sha1WithRSAEncryption | |
Issuer: C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root | |
Validity |
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
""" | |
Exports Issues from a specified repository to a CSV file | |
Uses basic authentication (Github username + password) to retrieve Issues | |
from a repository that username has access to. Supports Github API v3. | |
""" | |
import csv | |
import requests | |
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
$ echo $PATH | sed ‘s/\:/\n/g’ | sort | |
Output: | |
/bin | |
/home/artheman/.nvm/versions/node/v6.2.2/bin | |
/home/artheman/.pyenv/bin | |
/home/artheman/.pyenv/shims | |
/home/artheman/.rbenv/bin | |
/home/artheman/.rbenv/plugins/ruby-build/bin | |
/home/artheman/.rbenv/shims | |
/home/artheman/.rvm/bin |
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
set -g buffer-limit 100 | |
set -g history-limit 10000 | |
#set -g status-utf8 on | |
set-option -g status-position top | |
set -g default-terminal "xterm" | |
set -g status-bg black | |
set -g status-fg blue | |
set -g status-attr dim |
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/bash | |
MHOST="$1" | |
MUSER="$2" | |
MPASS="$3" | |
MDB="$4" | |
# Detect paths | |
MYSQL=$(which mysql) | |
AWK=$(which awk) | |
GREP=$(which grep) |
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
Show hidden characters
{ | |
"color_scheme": "Packages/Theme - Superflat Adventures/Adventure Time.tmTheme", | |
"color_scheme_r1": "Packages/Agila Theme/Agila Neon Monocyanide.tmTheme", | |
"color_scheme_r3": "Packages/Agila Theme/Agila Origin Oceanic Next.tmTheme", | |
"draw_white_space": "all", | |
"font_size": 11, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
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
// Differences of ES5 and ES2015(formerly known as ES6) | |
//==================================================== | |
// ES5 | |
var braveNewWorld = function( world ) { | |
console.log( "Welcome to" + world ) | |
}; | |
// ES2015: Using Arrow Functions, let, template strings | |
let braveNewWorld = ( world ) => { | |
console.log(`Welcome to ${world}`); |
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
const greeting = <h1>hello world!</h1> | |
// If you have JSX code that spans across multiple lines, | |
// you can wrap it in ( and ) brackets, as follows: | |
const greeting = ( | |
<h1> | |
hello world! | |
</h1> | |
) |
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
## Add git branch name in Terminal | |
force_color_prompt=yes | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
## export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] >\n$ " | |
export PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[33m\]\$(parse_git_branch)\[\033[00m\] >\n$ " | |
## Git shortcuts | |
alias gitlogtree="git log -n 10 --graph --decorate -30 --all --date-order --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%C(cyan)%h%Creset %C(black bold)%ad%Creset%C(auto)%d %s'" |
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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.investagrams.com/Chart/PSE:* | |
// @icon https://www.google.com/s2/favicons?domain=investagrams.com | |
// @grant none | |
// ==/UserScript== |
OlderNewer