Skip to content

Instantly share code, notes, and snippets.

View tracend's full-sized avatar
๐ŸŽฏ
Focusing

โœŒ Makis Tracend tracend

๐ŸŽฏ
Focusing
View GitHub Profile
@krry
krry / Canseco: A Juiced-up Bash Profile
Last active August 29, 2015 13:56
the .bashrc that ain't afraid to bash
###########################################################
#
# CANSECO
# a World Series-class .bashrc file
#
# Canseco draws from a few others' shell profiles, namely:
# killfall's ===> https://github.com/killfall/terminal-piperita
# and another couple I can't place at the moment
#
###########################################################
@tracend
tracend / backbone.inherit.js
Last active January 4, 2016 21:29
Backbone.inherit - Combine more than one Parents in one instance #cc
(function(Backbone){
Backbone.inherit = function(){
var classes = Array.prototype.slice.call(arguments, 0);
// prerequisites
if( !classes.length ) return;
var Class = classes.pop();
// loop through objects
for( var i in classes){
@tracend
tracend / .handlebars.operators.md
Last active August 28, 2025 14:49
Handlebars relational operators #handlebars #helper #cc

Handlebars relational operators

This is a series of MATLAB style relational operators for Handlebars.

Operators

  • eq - equal to
  • ne - not equal to
  • lt - less than
  • gt - greater than
@warnergodfrey
warnergodfrey / gist:7512051
Last active September 21, 2018 03:20
Access the ATO Business Portal using AusKey Mac OS X Mountain Lion
  • Install the latest JRE from Oracle
  • In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
  • Open Safari
  • Go to the ATO Business portal site https://bp.ato.gov.au/BpStatics/homepage.htm
  • Click Login
  • A dialog will apear asking you 'Do you want to trust the website โ€œauthentication.business.gov.auโ€ to use the โ€œJavaโ€ plug-in?'
  • Click 'Trust'
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
@rxaviers
rxaviers / gist:7360908
Last active August 29, 2025 19:41
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@ryndel
ryndel / fixed-footer.html
Last active December 21, 2015 17:09
fixed footer

Check status:

grep s3fs /etc/mtab

Mount:

/usr/bin/s3fs {{bucket}} /mnt/{{folder}}
@vitalyrotari
vitalyrotari / gestures.js
Last active April 21, 2023 16:35
Vanilla JS Touch Gestures | Original Size: 6.71KB (2.08KB gzipped) | Compiled Size: 2.69KB (1.2KB gzipped)
/*
* Vanilla JS - Touch Gestures
* @version 0.1
* @inspired QuoJS - http://quojs.tapquo.com
*
* Supported Gestures: singleTap, doubleTap, hold,
* swipe, swiping, swipeLeft, swipeRight, swipeUp, swipeDown,
* rotate, rotating, rotateLeft, rotateRight, pinch, pinching,
* pinchIn, pinchOut,
* drag, dragLeft, dragRight, dragUp, dragDown
@4x4notfound
4x4notfound / manifest_generator.sh
Last active December 10, 2015 20:18
HTML5 Manifest Generator and Watcher
#!/bin/bash
#This script watches your project folder and outputs a HTML5 Manifest to $OUT
#You may need to change the location of your depency scripts
#Dependencies: confess.js and phantomjs
#Usage: sh manigest_generator.sh <url> <dir>
#Author Adrian Maurer (https://github.com/adrianmaurer)
#Based on http://stackoverflow.com/questions/2972765/linux-script-that-monitors-file-changes-within-folders-like-autospec-does
#sh manifest_generator.sh $URL $DIR $OUT
@desandro
desandro / transition-scroll-to.js
Created December 4, 2012 16:50
Use CSS transitions to scroll to element
( function( window, undefined ) {
'use strict';
// helper function
function capitalize( str ) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
// ========================= getStyleProperty by kangax ===============================