Skip to content

Instantly share code, notes, and snippets.

@vool
vool / ibeacon_stuff
Last active August 29, 2015 14:10
iBeacon stuff
http://www.appcoda.com/ios7-programming-ibeacons-tutorial/
https://github.com/petermetz/cordova-plugin-ibeacon
https://github.com/divineprog/evo-demos/tree/master/Demos2014/iBeaconDemo
https://www.sticknfind.com/SDK/
http://stackoverflow.com/questions/20416218/understanding-ibeacon-distancing
@vool
vool / depth_map
Last active August 29, 2015 14:10
http://googleresearch.blogspot.ie/2014/04/lens-blur-in-new-google-camera-app.html
http://www.convoluted.net/depthmesh/
https://github.com/spite/android-lens-blur-depth-extractor
https://github.com/0xtob/gcam2ply
https://developers.google.com/depthmap-metadata/
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>2016.ie</title>
<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.1.min.js'></script>
@vool
vool / debian_setup.md
Last active June 19, 2020 15:24
Debain standard setup

Debain setup

Default set up for git deploy web-server on debian box [for a laravel site but also pretty generic]

There a good guide (for ubuntu) here

Update and install

apt-get update &amp;&amp; apt-get upgrade

@vool
vool / firefox_addons
Last active August 29, 2015 14:04
Firefox addons
https://addons.mozilla.org/en-US/firefox/addon/font-finder/
https://addons.mozilla.org/en-US/firefox/addon/wappalyzer/
https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
https://addons.mozilla.org/en-US/firefox/addon/web-developer/
https://addons.mozilla.org/en-US/firefox/addon/firebug/
https://addons.mozilla.org/en-US/firefox/addon/yslow/
https://addons.mozilla.org/en-US/firefox/addon/jsonview/
@vool
vool / xpimaker.sh
Created June 20, 2014 23:55
Bash script for compiling firefox (.xpi) extensions
#!/bin/bash
## Description: Script to generate firefox .xpi extensions
## Usage: xpimaker name dir[optional]
## Example: ./xpimaker.sh my-extension src
## Author: Keith o'Faoláin
@vool
vool / laravel_post_receive hook
Last active May 5, 2022 22:39
Post receive hook for Laravel website deploy
#!/bin/bash
echo "********************"
echo "Post receive hook: Updating website"
echo "********************"
#set the git repo dir
GIT_REPO_DIR=~/git/<repo>.git
echo "The git repo dir is $GIT_REPO_DIR"
@vool
vool / handy_linux_pdf_cmds.txt
Last active December 28, 2015 05:49
handy linux commands for working with pdf's
# compress a pdf with ghostscript
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf
#concatenate docs
pdftk 1.pdf 2.pdf 3.pdf support_docs/TCA_support.pdf cat output out.pdf
@vool
vool / benday.html
Created October 27, 2013 07:46
A happy birthday message for Ben.
<!DOCTYPE html>
<html>
<head>
<title>Ben Day ?</title>
</head>
<body>
<script>
var b = 4;
var who;
var tday = new Date();
@vool
vool / site_archiver.md
Last active January 9, 2020 20:24
wget command to archive sites

kbf

wget -q --mirror -p --html-extension --base=./ --exclude-directories=2008/,2009/,2010/,2011/,2012/,news/ -k -P ./ http://kerrybicyclefestival.org

wildmind

wget -q --mirror -p --html-extension --base=./ --exclude-directories=blog -nc -k -P ./ http://wildmind.ie