Skip to content

Instantly share code, notes, and snippets.

View tareiking's full-sized avatar
🥰
Inventing the future with friends

Tarei King tareiking

🥰
Inventing the future with friends
View GitHub Profile
$("form :input").each(function(index, elem) {
var eId = $(elem).attr("id");
var label = null;
if (eId && (label = $(elem).parents("form").find("label[for="+eId+"]")).length == 1) {
$(elem).attr("placeholder", $(label).html());
$(label).remove();
}
});
@tareiking
tareiking / 0_reuse_code.js
Created June 5, 2014 23:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<?php
/*
Plugin Name: Delete All Subscriptions
Plugin URI:
Description: Delete all of those bad boys
Author:
Author URI:
Version: 1.0
*/
function mystic_delete_all_subscriptions() {
@tareiking
tareiking / how-i-work-template.md
Last active October 4, 2020 23:31 — forked from jazzsequence/how-i-work-template.md
Template for How I Like to Work posts

How I work

A little gist to share How I Work with my fellow wonderful humans @ Human Made.

When I work

I live in the New Zealand Timezone: +12 or +13 UTC and typically work from 9am - 5pm. I am typically available later on NZ tuesday/wednesday/thursday for syncing with IST, WIT or UK timezones.

I aim for a 40 hour work week spread evenly across the board and find monday and friday are better focus days for me.

@tareiking
tareiking / how-i-work.md
Last active June 9, 2022 22:01 — forked from willmot/how-i-work.md
Update feedback section: Im not the CEO!

Role Description

I'm the head of technology at FutureLab Digital based in New Zealand, where we invent the future with friends.

My responsibilities

We iterate on role responsibilities as we adapt to new opportunities at least weekly. But I am the Directly Responsible Individual for the following:

  • Engineering career pathways and progression.
  • Engineering teams role in project delivery.