Skip to content

Instantly share code, notes, and snippets.

View spacepluk's full-sized avatar

Oscar Morante spacepluk

  • Berlin
  • 03:46 (UTC +02:00)
View GitHub Profile
diff --git a/input.clj b/input.clj
index 8b6089d..87ca39a 100644
--- a/input.clj
+++ b/input.clj
@@ -1,16 +1,16 @@
(ns hard.input
(:import
[UnityEngine Input KeyCode Camera Physics Time Camera]))
-
+
diff --git a/Assets/Arcadia b/Assets/Arcadia
index 0dca205..57ab756 160000
--- a/Assets/Arcadia
+++ b/Assets/Arcadia
@@ -1 +1 @@
-Subproject commit 0dca205623d9f914339a9e7830d0e6f0f3ec144e
+Subproject commit 57ab756fce46968941c40b89ba2eb9954758260c-dirty
diff --git a/Assets/Moments b/Assets/Moments
--- a/Assets/Moments
+++ b/Assets/Moments
#?(:clj
(defmacro cljs?
[]
`(boolean (:ns '&env))))
#?(:clj
(defn err-sym
[n]
(if n
`js/Error
(defmacro the [name]
`(let [gob# (arcadia.cora/object-named ~(str name))]
(dostuff gob#)))
(ns arcadia.repl.client
(:import (java.net InetAddress DatagramPacket DatagramSocket))
(:refer-clojure :exclude [send]))
(def host (InetAddress/getLocalHost))
(def port 11211)
(defonce socket (DatagramSocket.))
(defn send [text]
(.send socket
" Plugins {{{
call plug#begin('~/.config/nvim/plugged')
" Colorschemes
Plug 'chriskempson/base16-vim'
" Navigation
Plug 'christoomey/vim-tmux-navigator'
Plug 'dhruvasagar/vim-vinegar'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: deis-minio
labels:
heritage: deis
annotations:
component.deis.io/version: canary
spec:
replicas: 1
apiVersion: v1
kind: Service
metadata:
name: minio-endpoint
spec:
selector:
app: minio
ports:
- name: "s3"
port: 9000
@spacepluk
spacepluk / -
Created December 7, 2016 07:23
diff --git a/Makefile b/Makefile
index 1e0d478..94283be 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
+LDFLAGS := $(shell go run buildscripts/gen-ldflags.go) --extldflags "-static"
all: install
@spacepluk
spacepluk / -
Created December 7, 2016 08:12
(: … o/src/github.com/minio/mc master*) λ env GOROOT=/usr/lib/go GOPATH=$HOME/.go PATH=/usr/lib/go/bin:$PATH CGO_ENABLED=0 make
Checking deps:
Check for supported arch.. Check for supported os.. Checking if proper environment variables are set.. Done
Using GOPATH=/home/spacepluk/.go and GOROOT=/usr/lib/go
Checking dependencies for Minio Client.. Done
Checking if project is at /home/spacepluk/.go
Installed golint:
Installed gocyclo:
Installed deadcode:
go install net: open /usr/lib/go/pkg/linux_amd64/net.a: permission denied