Skip to content

Instantly share code, notes, and snippets.

# Source this from your .zshrc file such as:
#
# source ./path/to/tomaskulich.zsh-theme
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='%{$fg_bold[green]%}%p%{$fg[green]%}%3~%{$fg_bold[blue]%}$(git_super_status) ${ret_status}%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[cyan]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[cyan]%})"
# place this file amongst zsh plugins. Then include it from your .zshrc file by:
# plugins=(git-extras swissknife)
alias ls='ls --color' #I like color
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable
alias lr='ls -tRFh' #sorted by date,recursive,show type,human readable
alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
alias ,='la'
Alexandra, Karina, Daniela, Drahoslav, Andrea, Antonia, Bohuslava, Severin, Alexej, Dasa, Malvina, Ernest, Rastislav, Radovan, Dobroslav, Kristina, Natasa, Bohdana, Drahomira, Mario, Dalibor, Vincent, Zora, Milos, Timotej, Gejza, Tamara, Bohus, Alfonz, Gaspar, Ema, Emil, Tatiana, Erika, Erik, Blazej, Veronika, Agata, Dorota, Vanda, Zoja, Zdenko, Gabriela, Dezider, Perla, Arpad, Valentin, Pravoslav, Ida, Liana, Miloslava, Jaromir, Vlasta, Livia, Eleonora, Etela, Roman, Romana, Matej, Frederik, Frederika, Viktor, Alexander, Zlatica, Albin, Anezka, Bohumil, Bohumila, Kazimir, Fridrich, Radoslav, Radoslava, Tomas, Alan, Alana, Frantiska, Bruno, Branislav, Angela, Angelika, Gregor, Vlastimil, Matilda, Svetlana, Boleslav, Lubica, Eduard, Jozef, Vitazoslav, Klaudius, Blahoslav, Benadik, Adrian, Gabriel, Marian, Emanuel, Alena, Sona, Miroslav, Vieroslava, Benjamin, Hugo, Zita, Richard, Izidor, Miroslava, Irena, Zoltan, Albert, Milena, Igor, Julius, Estera, Ales, Justina, Fedor, Dana, Danica, Rudolf, Rudolfa, Valer, J
// Let's start with a simple adder
const add = (a, b) => a + b
// Let's make a partial instantiation of it
let addone1 = (x) => add(1, x)
// and another one:
let addone2 = (x) => add(1, x)
@tomaskulich
tomaskulich / gist:5df430449e9b027fe893
Last active August 29, 2015 14:08
clojure namespace problem 2
(ns nsbug.core
(:gen-class))
(defn myfunc [] 1)
(defn -main [& args]
(println (myfunc)) ;works fine
(println (eval '(myfunc))) ;crashes
)
@tomaskulich
tomaskulich / gist:57fba595484e5e8e1a82
Created October 30, 2014 21:06
clojure namespace problem
(ns nsbug.core
(:gen-class))
(defn myfunc [] 1)
(defn -main [& args]
(println (myfunc)) ;works fine
(println (eval '(myfunc))) ;crashes
)
<!DOCTYPE html>
<html>
<body>
<p>Click the "Submit" button to submit the form.</p>
<form name='frm1' onsubmit="myFunction()" action="form_action.asp">
Firstname: <input type="text" name="fname" value="Donald"><br>
<input type="text" name="lname" value="" style="display:none;"><br>
<br><br>