Skip to content

Instantly share code, notes, and snippets.

Hassan Zamani hzamani

Block or report user

Report or block hzamani

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
hzamani / keep-direction.user.js
Last active Oct 4, 2016
Add bidi support to Google Keep
View keep-direction.user.js
// ==UserScript==
// @name Google Keep Direction
// @namespace
// @description Add bidi support to Google Keep
// @include*
// @run-at document-end
// @version 2.0
// ==/UserScript==
var tag = document.createElement('style');
hzamani /
Last active Dec 11, 2015
Configure phoenix framework to use webpack as assets manager
  1. For new projects run mix with --no-brunch option and for existing projects remove brunch related things.

  2. create package.json file:

echo '{"private": true}' > package.json
  1. install webpack and loaders you want to use:
hzamani / gist:c446bea100e0c55b6972
Last active Aug 29, 2015
Try to have higher order messages (HOM) in ruby :-)
View gist:c446bea100e0c55b6972
module Messaging
def method_missing(name, *args, &block)
each do |item|
item.send(name, *args, &block)
def compose(op)
case op
when Symbol
You can’t perform that action at this time.