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
def test | |
str = "this is a test of new pastie" | |
# print out the test msg | |
puts str | |
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
./homunculus "test/**/*.coffee" | |
{"init terminating in do_boot",{undef,[{'Elixir.Mix.Utils',last_modified,[<<24 bytes>>],[]},{'Elixir.Homunculus.Watcher','-initial_state/1-fun-0-',1,[{file,"lib/watcher.ex"},{line,32}]},{'Elixir.Enum','-map/2-lc$^0/1-0-',2,[{file,"lib/enum.ex"},{line,967}]},{'Elixir.Homunculus.Watcher',initial_state,1,[{file,"lib/watcher.ex"},{line,32}]},{'Elixir.Agent.Server',init,1,[{file,"lib/agent/server.ex"},{line,7}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}} | |
Crash dump was written to: erl_crash.dump | |
init terminating in do_boot () |
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 {Socket} from "phoenix"; | |
import {Ember} from "ember"; | |
// let socket = new Socket("/ws") | |
// socket.join("topic:subtopic", {}, chan => { | |
// }) | |
let App = Ember.Application.extend({}); | |
export default App; |
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
app.js:92 Uncaught Error: Could not find module jquery | |
app.js:62 Uncaught Error: Cannot find module "web/static/js/app" from "/" |
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() { | |
"use strict"; | |
var e = "undefined" != typeof window ? window : global; | |
if ("function" != typeof e.require) { | |
var t = {}, n = {}, i = function(e, t) { | |
return {}.hasOwnProperty.call(e, t) | |
}, r = function(e, t) { | |
var n, i, r = []; | |
n = /^\.\.?(\/|$)/.test(t) ? [e, t].join("/").split("/") : t.split("/"); | |
for (var o = 0, s = n.length; s > o; o++) |
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 parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" | |
} | |
export PS1='\u@\h \[\033[1;33m\]\w\[\033[0m\]$(parse_git_branch)$ ' |
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
### In Terminal cd into project dir #### | |
bundle install --binstubs # Creates a bin folder with all your project binaries | |
### .rvmrc ### | |
export PATH=./bin:${PATH//:\.\/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
call pathogen#runtime_append_all_bundles() | |
set nocompatible | |
set hidden | |
set tabstop=4 | |
set softtabstop=4 | |
set expandtab | |
set cursorline | |
let mapleader = "," |
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
" Toggle search results with spacebar | |
map <Space> :set hlsearch!<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
express = require('express') | |
app = module.exports = express.createServer() | |
app.configure('development', -> | |
app.use(express.static("./public")) | |
app.use('/test', express.static("./test/public")) | |
#serve up specs.js when were in development for jasmine dom tests in the browser | |
app.get(hem.options.specsPath, hem.specsPackage().createServer()) | |
app.use(express.errorHandler({ dumpExceptions: true, showStack: true })) | |
) |
OlderNewer