Skip to content

Instantly share code, notes, and snippets.

View unimatrixZxero's full-sized avatar
🌱
💎

Sam Figueroa unimatrixZxero

🌱
💎
View GitHub Profile
@unimatrixZxero
unimatrixZxero / umlauts.ahk
Created April 19, 2019 22:41
Umlauts with capslock
;Umlaut
#Persistent
SetCapsLockState, AlwaysOff
CapsLock & a::
GetKeyState, state, Shift
if state = U
SendInput {ASC 0228} ;CapsLock+a = lower case a-umlaut
else Send, {ASC 0196} ;CapsLock+Shift+a = UPPER CASE A-umlaut
return
@unimatrixZxero
unimatrixZxero / solarized_slack.css
Last active February 19, 2019 08:28
Solarized Slack Theme
body { background: #002c37; color: #7F9596; }
a { color: #b38300; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }

Video Games and the (Male) Meaning of Life

“Virtual worlds give back what has been scooped out of modern life . . . it gives us back community, a feeling of competence, and a sense of being an important person whom people depend on.” - Jonathan Gottschall

When I was 7, my parents bought me and my brother an Atari 2600, the first mass game console. The game it came with was Asteroids. We played that game an awful lot. One night, we snuck down in the middle of the night only to discover my Dad already playing.

My brother and I loved going to local arcades and try to make a few quarters last as long as possible. It was the perfect set of incentives – you win, you keep playing. You lose, you’re forced to stand there and watch others play, hoping that someone is forced to leave their game in the middle so you can jump in. We became very good at video games. My favorite was Street Fighter II. I memorized the Mortal Kombat fatalities to inflict graphic harm on defeated enemies. On the PC, I was hooked the f

⬜⬜⬜⬜🗼🌁⬜⬜📉📂🕕📂📉⬜⬜🗼🗼🌁📉🏢📂💾🏦💍🎐🔪🎼📼🎐🎐📼🎣🎣🎐🔎🎐📼📼🎐🎧📱💸🔘🔎🎼📼🎐🔪🎣🔝🔝🎼📼🎼🎣🔝🔝🎣📼🎐📼🎣🔝🎣🔪📼🎼🍨📩📟🎣🔪🎐🎧🔎
⬜⬜⬜⬜🗼🌁⬜⬜📉📂⛲📂🎡🌁🗼⏬🎹💨🏦🏪🏪👟🔘👀🐦🗿🎼🔪🗿⌚📼🎣🎣📼🔎🎐📼📼🎐🔗💳📩🔘🎐🚏📼🎐🔪🎣🔝🔝🔪📼🚏🎣🔝🔝🎣📼🎐📼🎣🔝🚏🔪📼🔪🐶⛅📟🎼🎐🔊📹💻
⬜⬜⬜⬜🗼🌁⬜🌁🏢🕖🎲🏦🏦🏦👀🔦🔦🔦🔗🎐🍬🎧💍👀👟🔲🐦⌚🗿🔎📼🎣🎣📼🎐🎐📼📼👤🔗📠📩👟📼🎣📼📼🔪🎣🔝🔝📼📼🎼🎣🔝🔝🎣📼🎐🎐🎼🚏📼🎐📼📼🍨⛅🔊📼🚉👟📤📤
⬜⬜⬜⬜📃📉📉📧👟💍🚉🔗🔦🎧📼🎼📼🎐🎧🗿📼📼🗿🔊🐦👟📱🔘🔲📟🍬🎣🚏📼🎐🎐📼📼👤🍬⚾⛅🚽🔪🎣📼📼🔪🎣🔝🔝📼📼🔪🎣🎣🚏🔪🔎🚉🔍🔍🔊📹📹🎧🍬🍨⛅🔊📼💍📱📤📤
⬜🌁📉📂📱🏦👟💍🍬🔪🚏🔪🎐🎧📼🎼🔪🎐🐦🐦🔎📼🗿🔎🔎🔗🐦📱🎹📤👀🔊📹🔊🔎🎐📼🔪📼📼💳⛅🐦🎼🎣📼📼🔪🎣🔝🎣🎐🎧🎧🔗🔊💍📹🔲👟🔘🔘📱📤🔘🔊🍬🍨📠🔊📼🚽🃏🕕🔳
🏦🏦👟📹🔦🎧🔗🔎🔪🎣🎣🎼🎐🔗🍬🎼🔪🔦🔘🔘🚉📼🗿🔎🗿🔪🔪🔗👟📧🕖🕓📂🏦🔦🎐📼🔪📼📼🍨⚾🔊🎼🎼🎐🔎🔎🔎🎧🔊💻👀🔘📱📱📱📤📤🎲🎲📤📤🎲📤💍🍬🍨😰🔊🔪⛪📩📈🌁
🎐🎐🔦🔦🎐🎐🔗🎧📼🎣🎣🎼🎐🔗🍬🚏🔪🔊📱🔘🔗📼📼🔎🎐🎼🎣🎣🔎💍🏦📂📉📱🔗🎐📼🔪📼🗿🐚🐶💍🔎🔊🔩👀👟🔘📱📱🎲💾💾🎹🎲🎲🎲🎲🎹🎹🕕📄🏭🔳🚽🍬🐶😰📟🔪🍲📝⬜⬜
🎧🔗🚉🚉⌚🗿🔗🔗📼🎣🎣🎼🎐🔗🍬🎼🎼🚉🔘🔲🎐📼📼🎐🎐🎼🎣🎣📼🔎🔗🏦🏢🏦🚉🔗🔗🔗🔗🔍💀⛪🚓📹📱🎲🎹🎹🎲📤📱🎲💾🕖🔳📄💬🏭📃📈🏭📈⬜⬜📃🔩⌚🐶😰🔊🔪🍲📈⬜⬜
🔲🐦💍🚉🍬🍬🔗🎧📼🎣🎣🔪🔎🔗📼🎣🔪🚉🔘🔩🎐🔪🎐🎐📼🎼🎣🔪🔎🚉🔊🏦📂📱🔍🐧🌷🚬🚬🚬🚬🌷🌷🎏🛀👀🐚🎹🎹🕖💬📃📈🗼🌁⬜⬜⬜⬜⬜🌁⬜⬜⬜📈💀🍬🐶😰🔍🔪🔏📈⬜⬜
🐚🔲💍🚉🍬⌚🔗🔎📼🎣🎣🔪🔎🔗📼🎣🎼🔦👀💍📼📼🗿🎧🔗🔗🚉🐦👀👟🔩🚽🛀🐘🚬🐗🐗💣🐗🐗🐗🍢🐗🍢🍢🚥🎏📓📠📈⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜📃🚽📼🐶💳🚉🔪🔏📈⬜⬜

@unimatrixZxero
unimatrixZxero / springer-free-maths-books.md
Created December 30, 2015 05:40 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of books available for free, here are the direct links
# Usage:
#
# In your controller
#
# before_filter :set_active_navigation_item
# def set_active_navigation_item
# active_navigation_item :we, :are, :here
# # or
# active_navigation_item controller.controller_name, controller.action_name
# # or
module Abyss
ROUNDTRIP = {}.tap { |abyss| abyss.default = abyss }.freeze
def to_abyss(obj = self)
case obj
when Hash
obj.inject({}) { |h,(k, v)| h.update k => to_abyss(v) }.tap { |h| h.default = ROUNDTRIP }
when Array
obj.map { |e| to_abyss(e) }
else
obj
@unimatrixZxero
unimatrixZxero / .ackrc
Created April 18, 2013 09:10
My .ackrc file
--type-add=ruby=.haml,.rake,.rsel,.phtml,.ru
--type-add=html=.html.erb,.html.haml,.mustache
--type-add=js=.js.erb
--type-add=css=.sass,.less,.scss
--type-set=markdown=.markdown,.md
--type-set=cucumber=.feature
--type-set=txt=.txt
--type-set=erb=.erb
--type-set=feature=.feature
--type-set=textile=.textile
@unimatrixZxero
unimatrixZxero / Preferences.sublime-settings
Last active December 14, 2015 09:19
SublimeText Config
{
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
@unimatrixZxero
unimatrixZxero / rexml_dos_patch.rb
Last active December 14, 2015 06:59
Patch to guard against REXML DOS vulnerability. (Superfluous if using ruby-1.9.3-p392 or greater) Original patch from the blog post on ruby-lang.org: http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/ This one is with a fixed namespace bug in row #41
class REXML::Document
@@entity_expansion_text_limit = 10_240
def self.entity_expansion_text_limit=( val )
@@entity_expansion_text_limit = val
end
def self.entity_expansion_text_limit
@@entity_expansion_text_limit
end