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
(ns org.ozias.git | |
(:require [me.raynes.conch :refer (with-programs)])) | |
(def ^:private git-porcelain | |
["add" "am" "bisect" "branch" "bundle" "checkout" "cherry-pick" "citool" | |
"clean" "clone" "commit" "describe" "diff" "fetch" "format-patch" | |
"gc" "grep" "gui" "init" "log" "merge" "mv" "notes" "pull" "push" | |
"rebase" "reset" "revert" "rm" "shortlog" "show" "stash" "status" | |
"submodule" "tag"]) |
This file has been truncated, but you can view the full file.
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
Fresh strsim v0.6.0 | |
Fresh winapi-build v0.1.1 | |
Fresh gcc v0.3.46 | |
Fresh slog v2.0.5 | |
Fresh libc v0.2.22 | |
Fresh winapi v0.2.8 | |
Fresh bitflags v0.7.0 | |
Fresh serde v0.9.15 | |
Fresh rustc-demangle v0.1.4 | |
Fresh num-traits v0.1.37 |
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
> java@0.7.2 install /data/projects/dataq/server/node_modules/java | |
> node-gyp rebuild | |
make: Entering directory '/data/projects/dataq/server/node_modules/java/build' | |
CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o | |
In file included from ../../nan/nan.h:196:0, | |
from ../src/java.h:9, | |
from ../src/java.cpp:1: | |
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’: | |
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations] |
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
> java@0.6.1 test /home/jozias/projects/node-java | |
> node testRunner.js | |
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated | |
(node) and will stop working in the next major release. | |
==== JS stack trace ========================================= | |
Security context: 0xa2ac79c9fa9 <JS Object>#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
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the branch/status of the current git repository | |
# * the branch of the current subversion repository | |
# * the return value of the previous command | |
# | |
# USAGE: |
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 | |
# Place this file in your <project>/.git/hooks directory. | |
# Note the name has to be post-checkout and the file should | |
# be executable. | |
BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
case $BRANCH in | |
"master") | |
multirust remove-override | |
;; |
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 fuck | |
echo sudo $history[1] | |
eval command sudo $history[1] | |
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
(comment | |
; Pull the datomic api into this namespace | |
(require '[datomic.api :as d]) | |
(require '[glitter.entity.util :refer :all]) | |
; Setup a connection to the transactor | |
(def conn (d/connect uri)) | |
; Get a database value | |
(def db-now (d/db conn)) |
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 post-cfg {:ctx "/account POST" | |
:dba :start | |
:reqfn (as-admin (account-post)) | |
:expected-status 200 | |
:expected-message :localized/account-created}) | |
(defmacro edn-req [{:keys [ctx dba reqfn sep | |
expected-status expected-message] | |
:or {sep true}}] | |
`(context |
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
(defn- quarter-subround | |
"### quarter-subround | |
A quarter subround. | |
Represents a vector of two values: | |
[w = (x + y mod 2<sup>32</sup>) | |
((w ^ z) <<< shift)]" | |
{:added "0.2.0"} | |
[[x y z] shift] |
NewerOlder