Skip to content

Instantly share code, notes, and snippets.

https://press.one/p/address/v?s=e4a972f743ee81dcaf6402db856d24505c30f221d76ca240407896871fc4a3122fd0ea8ccbcc9d21ffa5b963e88893de59cd846607e40db1974f549a9edc08f81&h=52d8c43b9270f85fe2445ff4cd807396f753cf04b0764015fbf20d29c4cf8a1b&a=8590d7566d138474d2acf4b8207bfadfb5e79a00&f=P1&v=2
(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 / 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)
@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 / 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.

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:

Using config file "/etc/xen/l42y".
Started domain l42y
Xen Minimal OS!
start_info: 0xaab000(VA)
nr_pages: 0x20000
shared_inf: 0xbe9fb000(MA)
pt_base: 0xaae000(VA)
nr_pt_frames: 0x9
mfn_list: 0x9ab000(VA)
mod_start: 0x0(VA)
@L42y
L42y / L42y.js
Last active December 16, 2015 06:19
var page = require('webpage').create();
var fs = require("fs");
page.onLoadStarted = function() {
console.log('Now loading a new page...');
};
page.onLoadFinished = function () {
var file = fs.open('L42y.html', 'w');
file.write(page.content);
file.close();
phantom.exit();
function FirstCtrl($scope) {
First.query({}, function(items) {
$scope.first = items;
});
Second.query({}, function(items) {
$scope.second = items;
});
}
print "Hello World!"