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
<item> | |
<name>Cambiar Option_R a Escape para usar en Terminal</name> | |
<identifier>private.cambiar_optionr_a_escape_en_terminal</identifier> | |
<only>TERMINAL</only> | |
<autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::ESCAPE</autogen> | |
</item> |
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
;Reescritura del ejemplo de for clojure-loc, del libro "Programming Clojure" usando una operación sobre listas distinta | |
;Rewrite of "Programming Clojure"'s clojure-loc for example with a different list comprehension | |
(use '[clojure.java.io :only (reader)]) | |
(defn non-blank? [line] (if (re-find #"\S" line) true false)) | |
(defn clojure-source? [file] (.endsWith (.toString file) ".clj")) | |
(defn clojure-loc2 [base-file] |
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
find . -name '.git*' -type d -prune -o -newerct "2 minute ago" -type f -print -exec git add '{}' \; |
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
(defn get-hash [type data] | |
(.digest (java.security.MessageDigest/getInstance type) (.getBytes data) )) | |
(defn sha1-hash [data] | |
(get-hash "sha1" data)) | |
(defn get-hash-str [data-bytes] | |
(apply str | |
(map | |
#(.substring |
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/bash | |
# This is free and unencumbered shell script released into the public domain. | |
# | |
####################### Begin Customization Section ############################# | |
# | |
# Name of the recipe to fetch. You can run: | |
# ebook-convert --list-recipes | |
# to look for the correct name. Do not forget the .recipe suffix | |
RECIPE="La Jornada (Mexico).recipe" |
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
:dependencies [ [google/oauth-client "1.16.0"] | |
[google/http-client "1.16.0"] | |
[google/oauth-client-java6 "1.16.0"] | |
[google/oauth-client-jetty "1.16.0"] | |
[gdata/gdata-base "1.0"] | |
[gdata/gdata-core "1.0"] | |
[gdata/docs "3.0"] | |
[gdata/docs-meta "3.0"] | |
[gdata/gdata-client "1.0"] | |
[gdata/gdata-client-meta "1.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
Crema de espinacas | |
1/4 pieza de cebolla blanca | |
4 cucharadas de aceite de oliva | |
1/4 cucharita de pimienta negra molida | |
1 diente de ajo | |
2 manojos de espinaca | |
1 cucharada de harina de trigo | |
1/4 manojo de cilantro | |
1 taza de leche de vaca |
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
;; clojure.data.xml/ | |
(let [tags (element :foo {:foo-attr "foo value"} | |
(element :bar {:bar-attr "bar value"} | |
(element :baz {} "The baz value")))] | |
(with-open [out-file (java.io.FileWriter. "/tmp/foo.xml")] | |
(emit tags out-file))) | |
;; source: https://github.com/clojure/data.xml |
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
driver: | |
name: vagrant | |
network: | |
- ["forwarded_port", {guest: 5432, host: 5432}] |
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
autossh -f -N -L8888:127.0.0.1:3306 [email protected] | |
(http://serverfault.com/a/285610) |
OlderNewer