This file contains hidden or 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
# Shell prompt based on the Solarized Dark theme. | |
# Screenshot: http://i.imgur.com/EkEtphC.png | |
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles | |
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing. | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM='gnome-256color'; | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM='xterm-256color'; | |
fi; |
This file contains hidden or 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
require 'rubygems' | |
require 'headless' | |
require 'selenium-webdriver' | |
Headless.ly do | |
caps = Selenium::WebDriver::Remote::Capabilities.firefox(:proxy => Selenium::WebDriver::Proxy.new(:http => "109.232.62.78:12345")) | |
driver = Selenium::WebDriver.for(:firefox, :desired_capabilities => caps) | |
# driver = Selenium::WebDriver.for :chrome | |
driver.navigate.to 'http://google.com' | |
puts driver.title |
This file contains hidden or 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 "header.h" | |
int Counter = 0; | |
HWND hwnd; | |
const int Width = 300; | |
const int Height = 300; | |
ID3D11DeviceContext* g_DeviceContext; | |
ID3D11Device* g_Device; | |
ID3D11RenderTargetView* g_RenderTargetView; |
This file contains hidden or 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
{ | |
"after_callback": "", | |
"before_callback": "", | |
"bold_folder_labels": false, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"check_for_bundler": false, | |
"check_for_rbenv": false, | |
"check_for_rvm": false, | |
"check_for_spring": false, |
This file contains hidden or 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 Tmdb::Requester | |
def self.get(url, params = {} of Char => Char) | |
url = api.url_for(action, params) | |
HTTP::Client.get(url, headers: headers) | |
end | |
private def api | |
Igdb::Api.instance | |
end |
This file contains hidden or 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
# Unix | |
alias ll="ls -al" | |
alias mkdir="mkdir -p" | |
set -x PYTHONPATH '/usr/local/lib/python2.7/site-packages' | |
set -x ANDROID_HOME '/usr/local/opt/android-sdk' | |
# Swift | |
alias swift='xcrun swift' | |
alias simulator='open /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app/' |
This file contains hidden or 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
json_mapping({ | |
images: Hash( | |
base_url: String, | |
secure_base_url: String, | |
backdrop_sizes: Array(String), | |
logo_sizes: Array(String), | |
poster_sizes: Array(String), | |
profile_sizes: Array(String), | |
still_sizes: Array(String), | |
), |
This file contains hidden or 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
[user] | |
email = [email protected] | |
name = Ahmet Abdi | |
[alias] | |
br = branch | |
; Example: g ch master...staging | |
ch = log --cherry --pretty=format:\"%C(auto)%h (%ar) %an: %s\" --date-order --reverse | |
ci = commit | |
co = checkout |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using ReadWriteMemory; | |
namespace TestSwtorApp |
This file contains hidden or 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
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System; | |
using System.Media; | |
using System.Text; | |
using System.Threading; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; |