Skip to content

Instantly share code, notes, and snippets.

View jumski's full-sized avatar
🐴
For the lack of a nail, throw new HorseshoeNailNotFoundException("no nails!");

Wojtek Majewski jumski

🐴
For the lack of a nail, throw new HorseshoeNailNotFoundException("no nails!");
  • Independent hacker
View GitHub Profile
call plug#begin('~/.vim/plugged')
Plug 'SirVer/ultisnips'
Plug 'Lokaltog/vim-powerline'
Plug 'Shougo/deoplete.nvim'
@jumski
jumski / pasta
Created December 20, 2016 09:55
>bądź mną
>mieszkaj w tej słynnej Polsce B na zabitej dechami wiosce
>psy szczekają dupami a ludzie wylizują talerz po bułce
>lepianki z gówna i cebuli wszędzie
>chuj, że 2k16, czas tu zatrzymał się 100 lat temu
>99% domów brak prądu i wody
>sąsiedzi srają za płot jak jebane zwierzęta
>wszystko spoko, tylko, że za tym płotem jest twój trawnik
>nie nadążasz sprzątać kloców
>boisz się chodzić po własnym trawniku, bo nasrane po kostki
@jumski
jumski / IFTTTDate.md
Created October 4, 2016 16:07 — forked from oscarmorrison/IFTTTDate.md
Make IFTTT Date Format play nice with Google Spreadsheets

##Date and Time

=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Date

=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Time

post(path, data, config) {
return this.axios.post(`${Connection.BASE_URL}${path}`, data, config);
}
<!doctype html>
<html>
<head>
<title>My Little Webapp: Coding Is Magic</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
</head>
<body>
</body>
</html>
@jumski
jumski / piglet.rb
Last active February 18, 2016 11:14
class Trough < Array
alias_method :|, :push
def call(context)
reduce(context) do |ctx, pig|
pig.new(ctx).call
ctx
end
end
end
@jumski
jumski / piglet.rb
Last active February 18, 2016 11:34
Alternative implementation of codequest-eu/codequest_pipes :-)
class Trough < Array
alias_method :|, :push
def call(context)
reduce(context) do |ctx, pig|
pig.new(ctx).call
ctx
end
end
end
@jumski
jumski / README.md
Created January 29, 2016 11:46 — forked from phillbaker/README.md
A micro Gem for rspec controller spec default parameters.
@jumski
jumski / gist:0c90e26c24c5f735e1cc
Created November 30, 2015 17:38 — forked from soleblaze/gist:975bc2b0e5e69137fd08
/etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
# Enables Palm Detection to prevent bad clicks
# This seems to work on PS/2, but not on i2c
Option "PalmDetect" "1"
Option "PalmMinWidth" "8"
Option "PalmMinZ" "100"
# Enable clickpad support