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 IntelliSense to learn about possible Node.js debug attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "mocha", | |
"type": "node", | |
"request": "launch", |
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
/script install buffers.pl buffer_autoclose.py iset.pl go.py colorize_nicks.py | |
/key bind meta-g /go | |
/set weechat.bar.status.color_bg 0 | |
/set weechat.bar.title.color_bg 0 | |
/set weechat.color.chat_nick_colors 1,2,3,4,5,6 | |
/set buffers.color.hotlist_message_fg 7 | |
/set weechat.bar.buffers.position top | |
/set weechat.bar.buffers.items buffers |
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
import Ember from 'ember'; | |
import { test } from 'ember-qunit'; | |
// var map = Ember.EnumerableUtils.map; | |
var forEach = Ember.EnumerableUtils.forEach; | |
var run = Ember.run; | |
function validateValues(object, propertyName, values, isTestForValid) { | |
var promise = null; | |
var validatedValues = []; |
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
rinfo: { | |
response: [ | |
{ | |
id: "0", | |
correctAnswer: "checked", | |
correct: "false", | |
value: "" | |
}, | |
{ | |
id: "1", |
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 | |
# | |
# This simple script will get you a pretty decent Ruby development setup | |
# for Debian based machines. | |
# | |
# Included are: Vim, tmux, Git, zsh, Janus*, rbenv. | |
# | |
# Use at your own risk!.. Buhaha | |
# | |
# Created by Doug Yun [email protected] |
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
let mapleader = "," | |
let g:mapleader = "," | |
set encoding=utf-8 | |
let g:airline_powerline_fonts=1 | |
inoremap ;a <Esc> |
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 t_Co=256 | |
set pastetoggle=<F7> | |
syntax on | |
colorscheme jellybeans | |
set background=dark | |
highlight Normal guibg=black guifg=white | |
set mouse=a | |
set timeout timeoutlen=1000 ttimeoutlen=100 | |
set showcmd | |
:nnoremap <Leader>c :set cursorline!<CR> |
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 to C-a | |
set -g prefix C-a | |
unbind C-b | |
#shorten escape time | |
set -sg escape-time 1 | |
# Use 1-based indexes | |
set -g base-index 1 | |
setw -g pane-base-index 1 |
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 EmailController < ApplicationController | |
def create | |
person.add_observer Agent.new | |
person.send_email 'Subject', 'Fred' | |
end | |
private | |
def person | |
@person ||= Person.new |
NewerOlder