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
| bash-3.2$ cd ~/src/rubinius/ | |
| bash-3.2$ git tag | |
| cpp-merge | |
| pre-cleanup | |
| release-0.12 | |
| release-0.13.0 | |
| release-1.0.0-rc1 | |
| v0.9.0 | |
| bash-3.2$ git co -b 1.0.0-rc1 release-1.0.0-rc1 | |
| Switched to a new branch '1.0.0-rc1' |
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
| #!/bin/sh | |
| cd ~/bin | |
| curl -O http://github.com/technomancy/leiningen/raw/stable/bin/lein | |
| chmod 755 lein | |
| lein self-install | |
| cd /tmp | |
| mkdir test123 | |
| cd test123/ | |
| cat >project.clj <<EOF |
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> (def ls (.list (java.io.File. (System/getProperty "user.dir")))) | |
| #'user/ls | |
| user> (doseq [file ls] (println file)) | |
| #amqp.clj# | |
| .#amqp.clj | |
| amqp | |
| amqp.clj | |
| amqp.clj~ | |
| hello | |
| nil |
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
| #!/usr/bin/env escript | |
| %% -*- erlang -*- | |
| %% TODO make it so tasks only happen once | |
| %% TODO discover 'app' files & figure out the dep order | |
| paths() -> | |
| {ok,Cwd} = file:get_cwd(), | |
| filelib:wildcard(filename:join([Cwd,"lib","*"])). |
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
| %% ------------------------------------------------------------------- | |
| %% | |
| %% rebar: Erlang Build Tools | |
| %% | |
| %% Copyright (c) 2009 Dave Smith (dizzyd@dizzyd.com), | |
| %% Tim Dysinger (tim@dysinger.net) | |
| %% | |
| %% Permission is hereby granted, free of charge, to any person obtaining a copy | |
| %% of this software and associated documentation files (the "Software"), to deal | |
| %% in the Software without restriction, including without limitation the rights |
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
| #!/bin/sh | |
| # Install & configure xmonad on the server | |
| sudo apt-get install -y xmonad | |
| # Install & run tightvnc on the server | |
| sudo apt-get install -y tightvncserver | |
| tightvncserver :1 | |
| # Enter a password & restart w/ xmonad friendly script | |
| tightvncserver -kill :1 |
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
| (defmodule lfe_riak | |
| (import (rename erlang ((list_to_binary 1) l2b)) | |
| (rename riak_object ((get_value 1) get)) | |
| (from lists (foreach 2) (map 2) (foldl 3)) | |
| (rename dict | |
| ((merge 3) make-merged-dict) | |
| ((new 0) make-dict) | |
| ((from_list 1) make-dict-from-list) | |
| ((to_list 1) make-list-from-dict))) | |
| (export (hello 0) |
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
| #!/bin/sh | |
| # on ubuntu: need some utils & dev libs | |
| sudo apt-get install apache2-utils openssl libssl-dev libpcre3-dev | |
| # compile nginx | |
| cd /tmp | |
| curl http://nginx.org/download/nginx-0.7.64.tar.gz | tar xz | |
| cd nginx* | |
| ./configure --with-http_ssl_module --with-http_dav_module \ |
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
| Sonian is hiring experienced work-at-home Ruby On Rails developers | |
| in Central/South America. We are looking for a highly motivated, | |
| goal-oriented individuals who will be responsible for designing, | |
| building and maintaining our flagship UI. | |
| Responsibilities | |
| * Pair program on Skype with other developers | |
| * Produce high quality, well-documented BDD code | |
| * Design new features & improve existing ones in our RoR app | |
| * Maintain our up-to-date RoR app with the latest Rails & BDD |
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
| tim@r2d2:~$ curl -X PUT -H "Content-Type: video/x-msvideo" http://192.168.0.194:8098/raw/battlestar/episode1.avi --data-binary @/media/Clone/Users/tim/Movies/battlestar\ galactica/Season\ 1/\[1x01\]\ Thirty\ Three.avi | |
| <html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,{error,{badmatch,{error,enomem}}, | |
| [{webmachine_request,recv_unchunked_body,4}, | |
| {webmachine_request,do_recv_body,2}, | |
| {webmachine_request,call,2}, | |
| {wrq,req_body,1}, | |
| {raw_http_resource,accept_doc_body,2}, | |
| {webmachine_resource,resource_call,3}, | |
| {webmachine_resource,do,3}, | |
| curl: (55) select/poll returned error |