Skip to content

Instantly share code, notes, and snippets.

View spacepluk's full-sized avatar

Oscar Morante spacepluk

  • Berlin
  • 10:52 (UTC +02:00)
View GitHub Profile
diff --git a/PKGBUILD b/PKGBUILD
index e48d714..3222fbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,6 +23,9 @@ depends=('desktop-file-utils'
'libpng12'
'libxtst'
'monodevelop')
+makedepends=('elinks'
+ 'sed'
" Clojure
NeoBundle 'vim-scripts/paredit.vim'
NeoBundle 'tpope/vim-fireplace'
NeoBundle 'tpope/vim-leiningen'
NeoBundle 'guns/vim-clojure-highlight'
NeoBundle 'guns/vim-clojure-static'
diff --git a/PKGBUILD b/PKGBUILD
index 720c195..3869754 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,8 +58,8 @@ build() {
package() {
local extraction_dir="${srcdir}/unity-editor-${_version}${_build}"
- mkdir -p "${pkgdir}/opt/Unity"
- cp -a "${extraction_dir}/." "${pkgdir}/opt/Unity"
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
#Option "SwapbuffersWait" "true"
Option "AccelMethod" "sna"
#Option "Backlight" "intel_backlight"
#Option "monitor-eDP1" "Monitor0"
EndSection
(defproject tvmetrix-storm "0.1.0-SNAPSHOT"
:description "TvMetrix Storm"
:dependencies [[org.clojure/clojure "1.6.0"]
[com.amazonaws/kinesis-storm-spout "1.1.1" :exclusions [org.apache.storm/storm-core
joda-time]]
[org.clojure/data.json "0.2.6"]
[fun-utils "0.5.9"]
[com.novemberain/monger "3.0.0"]]
:main ^:skip-aot tvmetrix.storm.core
:target-path "target/%s"
// Shim print on nodejs
try {
if (!global.print) {
global.print = function() { console.log.apply(console, arguments) }
}
} catch (e) {}
// Shim process on JavaScriptCore/duktape
try {
if (!this.process) {
(ns hello.benchmark
(:refer-clojure :exclude [println])
(:require [cljs.reader :as reader]
[clojure.core.reducers :as r]))
(def println print)
(set! *print-fn* js/print)
(simple-benchmark [x 1] (identity x) 1000)
testfn = (s) => () => console.log(s)
var chunkedProcess = [1, 2, 3, 4, 5, 6, 7].map(testfn)
function spreadProcess(fns) {
process.nextTick(fns.reduceRight(function (prev, next) {
return function() {
next()
process.nextTick(() => prev())
}
}))
# $Id: PKGBUILD 248964 2015-10-13 05:36:23Z tpowa $
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
pkgbase=linux # Build stock -ARCH kernel
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-4.2
pkgver=4.2.3
pkgrel=1
arch=('i686' 'x86_64')
# Mouse settings
set-option -g -q mouse on
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage"
bind-key -t vi-copy PPage page-up
bind-key -t vi-copy NPage page-down
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind-key -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
bind-key -t vi-copy WheelUpPane scroll-up
bind-key -t vi-copy WheelDownPane scroll-down