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
[Desktop Entry] | |
Version=2016.1.1 | |
Type=Application | |
Terminal=false | |
Icon[en_US]=/usr/local/bin/DataGrip/bin/product.png | |
Name[en_US]=DataGrip | |
Exec=/usr/local/bin/DataGrip/bin/datagrip.sh | |
Name=DataGrip | |
Icon=/usr/local/bin/DataGrip/bin/product.png |
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 encoding=utf-8 nobomb | |
" Neovim Config | |
let mapleader="," | |
" Autoinstall | |
if empty(glob('~/.config/nvim/autoload/plug.vim')) | |
silent ! curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind-key | split-window -h | |
bind-key \ split-window -h | |
bind-key _ split-window -v | |
bind-key - split-window -v |
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 ( | |
"log" | |
"io/ioutil" | |
"net/http" | |
"github.com/ant0ine/go-json-rest/rest" | |
) |
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
var http = require('http'), | |
url = require('url'), | |
fs = require('fs'); | |
var port = 9000; | |
var httpServer = http.createServer(function(request, response) { | |
var parsedUrl = url.parse(request.url); | |
var requestData; | |
var requestOpts = { |
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
#!/usr/bin/env ruby | |
# encoding utf-8 | |
status = Hash.new() | |
if ARGF === nil | |
puts "NA" | |
exit | |
end |
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
#!/usr/local/bin/node | |
/** | |
* Dependencies | |
*/ | |
var app = require('commander') | |
, FeedParser = require('feedparser') | |
, fs = require('fs') | |
, request = require('request') |
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
function name { | |
say "doing stuff" | |
cat > $WORKSPACE/config.yml <<-CONFIG | |
hub: | |
host: "local" | |
path: "/hub" | |
port: "80" | |
CONFIG | |
} |