module Test
def get
y x
end
def x
'x'
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
<?xml version="1.0" encoding="UTF-8"?> | |
<code_scheme name="PeopleBrowsr"> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="4" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="8" /> | |
<option name="TAB_SIZE" value="4" /> | |
<option name="USE_TAB_CHARACTER" value="true" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="Quall Dracula" version="124" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.1" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="CONSOLE_FONT_NAME" value="Consolas" /> | |
<option name="CONSOLE_FONT_SIZE" value="16" /> | |
<option name="CONSOLE_LINE_SPACING" value="0.9" /> | |
<option name="EDITOR_FONT_NAME" value="Consolas" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="d6822" /> |
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
define('app/chat', [ | |
'dom', 'underscore', 'lib/app' | |
], function ($, _, app) { | |
"use strict"; | |
function init() { | |
var $element = $('.jsAppChat').html(app.template('template/app/chat')); | |
$element.find('.jsAppChat-formContainer') | |
.html(app.template('template/app/chat/form')); | |
} |
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
require.config({ | |
urlArgs: window.noCacheSuffix, | |
baseUrl: 'js', | |
paths: { | |
underscore: 'vendor/underscore', | |
dom: 'vendor/jquery', | |
bootstrap: '../lib/bootstrap/js/bootstrap', | |
Firebase: 'https://cdn.firebase.com/v0/firebase', | |
FirebaseSimpleLogin: 'https://cdn.firebase.com/v0/firebase-simple-login' | |
}, |
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
# .bashrc | |
PS1="\[\033[1;30m\][\[\033[1;34m\]\u\[\033[1;30m\]@\[\033[0;35m\]\h\[\033[1;30m\]] \[\033[0;37m\]\W \[\033[1;30m\]\$\[\033[0m\] " | |
export PATH=~/npm/bin:$PATH | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi |
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 node | |
const glob = require('glob'); | |
const path = require('path'); | |
const fs = require('fs'); | |
const mkdirp = require('mkdirp'); | |
const args = global.process.argv.slice(2); | |
const sourcesRoot = args.shift() || path.join(__dirname, '..', 'src'); | |
const specsRoot = args.shift() || path.join(__dirname, '..', 'spec'); |
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 React = require('react'); | |
const FeedsContainer = require('./FeedsContainer'); | |
const $inject = []; | |
const feeds = function () { | |
const link = ($scope, $element) => { | |
const node = $element.get(0); | |
$scope.$watch('feeds', f => | |
React.render(<FeedsContainer isLoading={!f.length} feeds={f} />, node)); |
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
mkdir -p $HOME/Library/KeyBindings | |
echo '{ | |
/* Remap Home / End keys to be correct */ | |
"\UF729" = "moveToBeginningOfLine:"; /* Home */ | |
"\UF72B" = "moveToEndOfLine:"; /* End */ | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ | |
"^\UF729" = "moveToBeginningOfDocument:"; /* Ctrl + Home */ | |
"^\UF72B" = "moveToEndOfDocument:"; /* Ctrl + End */ | |
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:"; /* Shift + Ctrl + Home */ |
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 process = require('process'); | |
const fs = require('fs'); | |
const util = require('util'); | |
const readdir = util.promisify(fs.readdir); | |
const realpath = util.promisify(fs.realpath); | |
const stat = util.promisify(fs.stat); | |
const ls = async (cwd, paths = []) => { | |
for (let p of (await readdir(cwd))) { | |
const rp = await realpath(`${cwd}/${p}`); |