I hereby claim:
- I am klazuka on github.
- I am klazuka (https://keybase.io/klazuka) on keybase.
- I have a public key whose fingerprint is A333 39C2 3C11 4D44 0160 AA2F 845C 70A7 DD1F A59C
To claim this, I am signing this object:
| diff --git a/basis/fonts/fonts.factor b/basis/fonts/fonts.factor | |
| index fb89bdb..5806bec 100644 | |
| --- a/basis/fonts/fonts.factor | |
| +++ b/basis/fonts/fonts.factor | |
| @@ -9,7 +9,8 @@ size | |
| bold? | |
| italic? | |
| { foreground initial: COLOR: black } | |
| -{ background initial: COLOR: white } ; | |
| +{ background initial: COLOR: white } |
| : RGB>RGB ( bitmap -- bitmap' ) ; | |
| : RGB>BGR ( bitmap -- bitmap' ) BGR>RGB ; inline | |
| : RGB>RGBA ( bitmap -- bitmap' ) add-dummy-alpha ; inline | |
| : RGB>BGRA ( bitmap -- bitmap' ) | |
| 3 <sliced-groups> [ <reversed> add-dummy-alpha ] map concat ; inline | |
| : RGB>ARGB ( bitmap -- bitmap' ) |
| static CIImage* ApplyFiltersToImage(NSArray *filters, CIImage *inputImage) | |
| { | |
| CIImage *img = inputImage; | |
| for (CIFilter *filter in filters) | |
| { | |
| [filter setValue:img forKey:kCIInputImageKey]; | |
| img = filter.outputImage; | |
| } | |
| return img; | |
| } |
| // | |
| // TwoColumnTextArea.h | |
| // TastingRoom | |
| // | |
| // Created by Keith Lazuka on 4/26/13. | |
| // Copyright (c) 2013 Keith Lazuka. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
| _guid = [[NSUUID UUID] UUIDString]; |
| function mk_prompt | |
| { | |
| # script to visually list terminal color codes: | |
| # http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html | |
| local GRAY="\[\033[0;37m\]" | |
| local BOLD_GRAY="\[\033[1;37m\]" | |
| local GREEN="\[\033[0;32m\]" | |
| local BOLD_GREEN="\[\033[1;32m\]" | |
| local CYAN="\[\033[0;36m\]" | |
| local BOLD_CYAN="\[\033[1;36m\]" |
| # Change the terminal title automatically based on current process / working-directory | |
| # | |
| # The main improvement over the default 'fish_title' behavior | |
| # is that I use the name of the current git repo, if any, as | |
| # opposed to the raw working-directory | |
| function fish_title | |
| set -l command (echo $_) | |
| if test $command = "fish" | |
| # we are sitting at the fish prompt |
I hereby claim:
To claim this, I am signing this object:
| module YourAPIClient exposing (Config, otherFunctions) | |
| import Http | |
| import Json.Decode as Decode | |
| import Json.Encode as Encode | |
| -- Config | |
| # based on https://raw.githubusercontent.com/fastai/courses/master/setup/install-gpu-azure.sh | |
| # modified January 2018 to fix various issues found in the original install script | |
| # assumes that you installed your Azure VM using the Deep Learning Virtual Machine template | |
| # TODO why did the original script install Anaconda? Maybe the Azure VM didn't used to come with it? | |
| sudo apt-get update && sudo apt-get --assume-yes upgrade | |
| sudo apt-get --assume-yes install tmux build-essential gcc g++ make binutils | |
| sudo apt-get --assume-yes install software-properties-common | |
| wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb |