Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am l42y on github.
  • I am l42y (https://keybase.io/l42y) on keybase.
  • I have a public key whose fingerprint is 32EE 2746 0529 0172 5BB8 F21F E672 B970 54D0 0454

To claim this, I am signing this object:

@L42y
L42y / gist:f49d0022fc948ec1acae
Created August 9, 2014 21:54
iwantmyname search blocked by itself
XMLHttpRequest cannot load https://search.iwantmyname.com/socket.io/?EIO=2&transport=polling&t=somerandomstring. Origin https://iwantmyname.com is not allowed by Access-Control-Allow-Origin.
@L42y
L42y / neo4j.rb
Created October 21, 2014 09:30
Neo4j formula include enterprise version
require "formula"
class Neo4j < Formula
homepage "http://neo4j.org"
url "http://dist.neo4j.org/neo4j-community-2.1.5-unix.tar.gz"
sha1 "727c361e74d6a91e50b1ddc9b4ff6e61f72e39d9"
version "2.1.5"
option "enterprise", "Install enterprise version"
@L42y
L42y / PKGBUILD
Created January 28, 2015 07:26
slimerjs 0.9.5 PKGBUILD
# Maintainer: sirajul147 <siraj [dot] mussafirr [at] gmail[dot] com>
# Contributor: L42y <423300@gmail.com>
pkgname=slimerjs
pkgver=0.9.5
pkgrel=1
pkgdesc="A PhantomJS-like tool running Gecko"
arch=('i686' 'x86_64')
url="http://slimerjs.org/"
license=(custom:'MPL2.0')
depends=(xulrunner)
(defcustom pm-host/js2
(pm-bchunkmode "JS2"
:mode 'js2-mode)
"JS2 host innermode"
:group 'hostmodes
:type 'object)
(defcustom pm-inner/web
(pm-hbtchunkmode "JSX"
:mode 'web-mode
@L42y
L42y / minus-uploader.PKGBUILD
Created April 20, 2011 00:55
minus-uploader PKGBUILD for Arch Linux
# Maintainer: Giorgio Gilestro <giorgio@gilest.ro>
pkgname=minus-uploader
pkgver=1.2
pkgrel=1
pkgdesc="The Minus desktop app allows you to drag-n-drop photos and files into the taskbar and instantly upload onto Minus"
url="http://min.us/pages/tools"
license=('GPL')
arch=('i686' 'x86_64')
@L42y
L42y / PKGBUILD
Created May 6, 2011 16:20
python-nautilus PKGBUILD
# Maintaner: Giorgio Gilestro <giorgio@gilest.ro>
pkgname=python-nautilus
pkgver=1.0
pkgrel=1
pkgdesc="Python binding for Nautilus components"
arch=('i686' 'x86_64')
url="http://projects.gnome.org/nautilus-python/"
license="GPL"
makedepends=('pkgconfig' 'gnome-python' )
depends=('nautilus' 'pygtk')
@L42y
L42y / gist:1306120
Created October 22, 2011 15:35
ps auxf | grep unity
bug 27377 0.0 0.0 11428 1380 ? Ss 23:27 0:00 \_ /bin/bash /usr/bin/startunity3d
bug 27541 0.0 0.6 194172 12784 ? Ss 23:27 0:00 | \_ /usr/bin/unity-window-decorator
bug 27640 0.1 0.4 189204 8548 ? Sl 23:28 0:00 /usr/lib/unity-lens-applications/unity-applications-daemon
bug 27642 0.0 0.2 165652 4536 ? Sl 23:28 0:00 /usr/lib/unity-lens-files/unity-files-daemon
bug 27644 0.0 0.2 157804 4652 ? Sl 23:28 0:00 /usr/lib/unity-lens-music/unity-music-daemon
bug 27753 0.0 0.1 154324 3040 ? Sl 23:28 0:00 /usr/lib/unity-lens-music/unity-musicstore-daemon
bug 28038 0.0 0.0 6308 568 pts/0 S+ 23:32 0:00 \_ grep --color=auto unity
bug 28031 2.7 1.1 344200 23180 ? Sl 23:31 0:00 /usr/lib/unity/unity-panel-service
@L42y
L42y / gist:1315696
Created October 26, 2011 07:35
load comments
{% load comments %}
{% get_comment_count for article as comment_count %}
{% render_comment_list for article %}
<table>
<form action="{% comment_form_target %}" method="post">
{% csrf_token %}
{{ form }}
@L42y
L42y / gist:1736828
Created February 4, 2012 09:53
mockup
<!DOCTYPE html>
<style type='text/css'>
.clearfix .l {
float:left;
}
.clearfix .r {
float:right;
}