I hereby claim:
- I am kika on github.
- I am kika (https://keybase.io/kika) on keybase.
- I have a public key ASCjlH4m62ubWjf68rIp4m0vLJxP5eOP-aAqdik4q_fxKgo
To claim this, I am signing this object:
#!/bin/bash | |
# Include as user data during instance startup, or run as root using sudo | |
# Assumes that you are using an i3 instance type with NVMe instance storage attached | |
# Set swappiness to zero | |
sysctl vm.swappiness=0 | |
echo "vm.swappiness = 0" >> /etc/sysctl.conf | |
# Disable transparent huge pages | |
cat > /etc/init.d/disable-thp <<- 'EOM' |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
echo '#!/bin/bash' | |
echo '' | |
echo 'failed_items=""' | |
echo 'function install_package() {' | |
echo 'echo EXECUTING: brew install $1 $2' | |
echo 'brew install $1 $2' | |
echo '[ $? -ne 0 ] && $failed_items="$failed_items $1" # package failed to install.' | |
echo '}' |
module TCO where | |
import Prelude | |
import Data.Either | |
import Control.Monad.Rec.Class | |
isEven::Int -> Boolean | |
isEven = tailRec (either isEven' isOdd') <<< Left |
! - No
!!&! - No, No and NO!!
. - Period
!&. - No, period
= - Equal
* - All
~* - Not all/everything
*= - All the same/I don't care
~*=? - Isn't everything the same?
module DBResponse where | |
import Prelude | |
import Data.Foreign | |
import Data.Foreign.Class | |
data Doc a = Doc { doc :: a } | |
data CustomerResp = CustomerResp { rows :: Array (Doc Customer) } | |
data Customer = Customer { |
colorscheme torte | |
if $SHELL =~ 'bin/fish' | |
set shell=/bin/sh | |
endif | |
"set lines=55 | |
"set columns=83 | |
set ruler | |
set dir=~/.vimswap//,/var/tmp//,/tmp//,. | |
set ts=4 | |
set sw=4 |
module Main where | |
import Prelude | |
import Control.Monad.Eff | |
import Control.Monad.Eff.Console | |
type Config = { | |
debug::Boolean | |
} |
module Main where | |
import Prelude (class Show, Unit, ($), show, (++), (<<<)) | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (CONSOLE, log) | |
import Data.String (joinWith) | |
import Data.ExistsR | |
class PrintF t where | |
printf' :: Array String -> t |
mdls -name "kMDItemDisplayName" -name "kMDItemDurationSeconds" -raw *.wav | xargs -0 -L 2 echo | awk '{print $1 "," $2}' |