Skip to content

Instantly share code, notes, and snippets.

🌱
💎

Sam Figueroa unimatrixZxero

🌱
💎
Block or report user

Report or block unimatrixZxero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@unimatrixZxero
unimatrixZxero / umlauts.ahk
Created Apr 19, 2019
Umlauts with capslock
View umlauts.ahk
;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 Feb 19, 2019
Solarized Slack Theme
View solarized_slack.css
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; }
View video_games.md

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

View ⬜📈📜.md

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

@unimatrixZxero
unimatrixZxero / springer-free-maths-books.md
Created Dec 30, 2015 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of books available for free, here are the direct links
View abyss.rb
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
View active_navigation_item.rb
# 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
View .ackrc
--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
View Preferences.sublime-settings
{
"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 Dec 14, 2015
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
View rexml_dos_patch.rb
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
You can’t perform that action at this time.