Skip to content

Instantly share code, notes, and snippets.

Avatar

gabriel dunne quilime

View GitHub Profile
@quilime
quilime / Expiration.sol
Created May 12, 2018
Simple License Expiration Example
View Expiration.sol
pragma solidity ^ 0.4.4;
// *****************************************************************
// DEMO!! UNVETTED CODE! DO NOT DEPLOY!!!
// Please seek expert guidance and perform a solidity security audit
// before using it in financially important code.
// *****************************************************************
contract ArtLicenseExpiration {
View uuidObfuscation.js
const key = 'z){@UWzw*+TRt7Xu3c-(qL_.~MNCN3prv(!{'; // secret
const encode = function encode(key, data) {
return new Buffer(xorStrings(key, data), 'utf8').toString('base64');
}
const decode = function decode(key, data) {
data = new Buffer(data, 'base64').toString('utf8');
return xorStrings(key, data);
}
View keybase.md

Keybase proof

I hereby claim:

  • I am quilime on github.
  • I am gld (https://keybase.io/gld) on keybase.
  • I have a public key whose fingerprint is 9044 71A8 B484 7E6D 9745 23DC 4D10 8263 BE57 EC8E

To claim this, I am signing this object:

View sshfs on osx with sshfs.sh
sshfs -o reconnect -o volname=mount-name -o IdentityFile=~/.ssh/id_rsa user@remoteserver:/dir/to/mount /home/user/sshfs/mountpoint
View drives on linux.md
@quilime
quilime / btsync init.d
Created Nov 29, 2015
init.d for btsync
View btsync init.d
#!/bin/sh
### BEGIN INIT INFO
# Provides: btsync
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Should-Start: network-manager
# Should-Stop: network-manager
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
View btsync.StreamsList
# StreamsList is a UTF-8 encoded .txt file that helps you specify alternate streams,
# xattrs and resource forks white list. It supports "?" and "*" wildcard symbols.
#
#
com.apple.FinderInfo
com.apple.metadata:_kMDItemUserTags
com.apple.metadata:kMDItemFinderComment
View btsync.IgnoreList
# .SyncIgnore is a UTF-8 encoded .txt file that helps you specify single files, paths and rules
# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols.
#
#
# OS generated files #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
View quasi.glsl
// http://glslsandbox.com/e#29006.1
#ifdef GL_ES
precision mediump float;
#endif
// modified by @hintz
// further modded by @quilime
@quilime
quilime / tsws
Last active Jun 11, 2019 — forked from dfletcher/tsws
Totally simple web server using Bash and netcat (nc)
View tsws
#!/bin/bash
# --------------------------------
# Totally Simple Web Server (TSWS)
# --------------------------------
#
# (c) 2015 Dave Fletcher
# All Rights Reserved
#
# This is free and unencumbered software released into the public domain.
You can’t perform that action at this time.