Skip to content

Instantly share code, notes, and snippets.

Nils Riedemann nocksock

Block or report user

Report or block nocksock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MapEditor.cs
using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(MapGenerator))]
public class MapEditor : Editor {
private bool liveUpdate = true;
public override void OnInspectorGUI() {
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
@mixin dash($width) {
stroke-dasharray: $width;
stroke-dashoffset: $width;
nocksock /
Last active Aug 29, 2015 — forked from jookyboi/
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.


  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
nocksock / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am noxoc on github.
  • I am noxoc ( on keybase.
  • I have a public key whose fingerprint is E2A1 DD94 5C92 594D AB86 80D7 E4DD 9AE7 CB79 0A66

To claim this, I am signing this object:

nocksock / Gruntfile.js
Created Oct 31, 2013
Grunt-Template for HTML and CSS-Stuff.
View Gruntfile.js
module.exports = function (grunt) {
pkg: grunt.file.readJSON('package.json'),
compass: {
dev: {
options: {
sassDir: 'sass',
cssDir: '.',
nocksock / index.html
Created Apr 4, 2013
A CodePen by Nils Riedemann. RayCasting Part2 - Using the basis of my previous RayCasting implementation to create the classic 3D simulation.
View index.html
<h1>Use the Cursor Keys!</h1>
<p>… after you clicked on the canvas</p>
nocksock /
Created Apr 20, 2012
QND Kirby Update Script
#!/usr/bin/env sh
# very quick and dirrrty updatescript
echo "Update started"
git clone &&
rm -rf kirby &&
mv kirbycms/kirby . &&
rm -rf kirbycms
echo "Update finished"
nocksock / capistrano_database_yml.rb
Created Mar 26, 2012 — forked from weppos/capistrano_database_yml.rb
Provides a couple of tasks for creating the database.yml configuration file dynamically when deploy:setup is run.
View capistrano_database_yml.rb
# = Capistrano database.yml task
# Provides a couple of tasks for creating the database.yml
# configuration file dynamically when deploy:setup is run.
# Category:: Capistrano
# Package:: Database
# Author:: Simone Carletti <>
# Copyright:: 2007-2010 The Authors
View tat.zsh
tat() {
tmux attach -t $1;
_tat() {
tmux list-sessions | awk 'BEGIN { FS=":" } { print $1 }' | sed 's/[ ]/\\ /'
compdef _tat tat
You can’t perform that action at this time.