Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ukrutt on github.
  • I am henrikholm (https://keybase.io/henrikholm) on keybase.
  • I have a public key ASDvhjwDl6nOFAGjjih_KqAscx8HLzWTVowzDaxAC4cTGgo

To claim this, I am signing this object:

@ukrutt
ukrutt / timestamp.js
Created February 26, 2016 16:30 — forked from hurjas/timestamp.js
Print out a nicely formatted timestamp in JavaScript.
/**
* Return a timestamp with the format "m/d/yy h:MM:ss TT"
* @type {Date}
*/
function timeStamp() {
// Create a date object with the current time
var now = new Date();
// Create an array with the current month, day and time
# this script can never fail
#
# Place it in ~/.config/fish/functions
#
# Call if from config.fish as ssh_agent_start
setenv SSH_ENV $HOME/.ssh/environment
function ssh_agent_start