Skip to content

Instantly share code, notes, and snippets.

View LnL7's full-sized avatar
❄️
1970 /nix/store

Daiderd Jordan LnL7

❄️
1970 /nix/store
View GitHub Profile
@LnL7
LnL7 / config.nix
Last active August 29, 2015 14:23 — forked from codedmart/config.nix
# This does now work:
vimEnv = with self.pkgs; buildEnv {
name = "vim-env";
paths = [
(vimNox.override {
name = "vim_configurable-7.4.712";
src = self.fetchurl {
url = "http://mirrors.kernel.org/debian/pool/main/v/vim/vim_7.4.712.orig.tar.gz";
sha256 = "0p5mcr5402d3vxy3wv5q6qbhd23b4kzffifgkz90bil2csgvld5k";
};
@LnL7
LnL7 / default.nix
Last active August 29, 2015 14:23 — forked from codedmart/default.nix
{ stdenv, fetchgit, python }:
stdenv.mkDerivation {
name = "UltiSnips-2015-06-11";
src = fetchgit {
url = "git://github.com/sirver/ultisnips";
rev = "c3a0924b777dbba2f8612950bd8f8a00df18d1bf";
sha256 = "7ad0e5dc8e8713db38ef2875e5d512e6cf8ef3dd7885ce12aff22052da780593";
};
dependencies = [ python ];
@LnL7
LnL7 / config.nix
Last active August 29, 2015 14:22 — forked from gilligan/config.nix
{ pkgs }:
{
allowBroken = true;
allowUnfree = true;
haskellPackageOverrides = self : super : (let inherit (pkgs.haskell-ng) lib; in {
ghc-mod = lib.overrideCabal super.ghc-mod (oldAttrs: {
src = pkgs.fetchgit {
url = https://github.com/kazu-yamamoto/ghc-mod;
@LnL7
LnL7 / luvit.rb
Last active December 28, 2017 12:36 — forked from nuxlli/luvit.rb
require 'formula'
class Luvit < Formula
homepage 'http://luvit.io'
url 'http://luvit.io/dist/latest/luvit-0.6.1.tar.gz'
sha1 'f5e49a33e0e32d8e75d5cdd843d54f213f6e508e'
head 'https://github.com/luvit/luvit.git'
def install
ENV.j1 # if your formula's build system can't parallelize
#lang r5rs
(#%require "dispatching.rkt")
(define (make-wallet value)
(define (add! amount)
(set! value (+ value amount)))
(define (take! amount)
(set! value (- value amount)))
(dispatch (wallet) add! take! value))
@LnL7
LnL7 / hack.sh
Created April 16, 2012 15:13 — forked from dan/hack.sh
Shell: OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#