Skip to content

Instantly share code, notes, and snippets.

View blackxored's full-sized avatar
🏠
Working from home

Adrian Perez blackxored

🏠
Working from home
View GitHub Profile
const gumshoe = require('gumshoe');
const mappings = {
node: 'f898', // nf-mdi-nodejs
react: 'e7ba', // nf-dev-react
reason: 'e777', // nf-dev-haskell, sorry no Reason/Ocaml icon 😢
ruby: 'e791', // nf-dev-ruby_rough
rails: 'e73b', // nf-dev-ruby_on_rails
elixir: 'e62d', // nf-custom-elixir
clojure: 'e768', // nf-dev-clojure
local app = appfinder.appFromName(object.app)
if app then·
app:activate()
else
hs.application.launchOrFocus(object.app)
end

Keybase proof

I hereby claim:

  • I am blackxored on github.
  • I am blackxored (https://keybase.io/blackxored) on keybase.
  • I have a public key ASAArTJMohWff4XB2aBo5mEjWMnfAOh_VVTxo-skPAwGDAo

To claim this, I am signing this object:

normalize.each do |attribute, resource_name|
resource_class = find_resource_class(resource_name)
attr = attribute.to_s
if resource_class && resource_class.respond_to?(:find)
denormalize_resource = ->(child_resource) {
resource_class.find(child_resource)
}
results.each do |result|
if result[attr].kind_of?(Array)
class ModalMgr.SocialWidget extends SocialPro.Views.LayoutView
template: 'modules/modal_mgr/templates/social-widget'
regions: (options) ->
widget: Marionette.Region.extend(
el: '#widget-instance',
currentView: new SocialPro.Widgets.SharingWidgetView
)
promises = []
animate = (obj, property) ->
dfd = $.Deferred()
css = {}
css[property] = nextColor
console.log(css)
options = { duration: duration, complete: dfd.resolve }
$(obj).stop().animate(css, options)
= stylesheet_link_tag "#{current_property.presence.try(:theme) || 'application'}", media: 'all', 'data-turbolinks-track' => true
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
setw -g mode-keys vi
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
require 'bundler/setup'
require 'pry'
require 'curb'
class BanorteTransferencep
CLIENT_ID = '19'
PASSWORD = 'user01'
NAME = 'user_test'
RESP_PATH = 'https://pagacell.com/a/banorte/response_return'