Skip to content

Instantly share code, notes, and snippets.

View artursapek's full-sized avatar

Artur Sapek artursapek

View GitHub Profile
@eligrey
eligrey / leaks.md
Last active November 22, 2023 23:14
Entities that have sold or leaked my personal data

Eli's leak list

The following entities have either sold or leaked personal data about me, including email addresses and phone numbers. Be wary of sharing your data with them.

Email addresses

These entities have either sold or leaked specific unique email addresses of mine to unauthorized parties, such as spammers.

@andkerosine
andkerosine / raskell.rb
Created August 15, 2012 05:56
Haskell-like list comprehensions in Ruby
$stack, $draws = [], {}
def method_missing *args
return if args[0][/^to_/]
$stack << args.map { |a| a or $stack.pop }
$draws[$stack.pop(2)[0][0]] = args[1] if args[0] == :<
end
class Array
def +@
@minikomi
minikomi / bookmarklet.js
Created January 16, 2012 01:43
Random colors for dark vim scheme at villistrator
javascript:(function(){var divs=["normalBG","normalFG","commentFG","constantFG","strFG","specFG","identFG","keyFG","incFG","typeFG","funFG","repFG","opFG"];for(var i=1;i<myscopes.length;i++){var randcolstring="";for(var j=0;j<3;j++){var randcol=(Math.floor(Math.random()*256)).toString(16);if(randcol.length==1){randcol="0"+randcol;}randcolstring=randcolstring+randcol;myscopes[i]=randcolstring;}$("#"+divs[i]).ColorPickerSetColor(myscopes[i]);$("#"+divs[i]+" div").css("background-color","#"+myscopes[i]);$("."+divs[i]).css("color","#"+myscopes[i]);}})();