Skip to content

Instantly share code, notes, and snippets.

View timothystewart6's full-sized avatar
🚀
Ship it!

Techno Tim timothystewart6

🚀
Ship it!
View GitHub Profile
@timothystewart6
timothystewart6 / watchman_delete_all.sh
Last active September 30, 2019 18:19 — forked from EQuimper/clear.txt
React-Native clear Watchman + Cache
watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn ios -- --reset-cache
@timothystewart6
timothystewart6 / countries-states.js
Last active September 23, 2017 18:00 — forked from e1024kb/gist:41bf38fdb1a2cb19a781
Country - state list in javascript
const countries = [
{
'country': 'Afghanistan',
'states': ['Badakhshan', 'Badghis', 'Baghlan', 'Balkh', 'Bamian', 'Daykondi', 'Farah', 'Faryab', 'Ghazni', 'Ghowr', 'Helmand', 'Herat', 'Jowzjan', 'Kabul', 'Kandahar', 'Kapisa', 'Khost', 'Konar', 'Kondoz', 'Laghman', 'Lowgar', 'Nangarhar', 'Nimruz', 'Nurestan', 'Oruzgan', 'Paktia', 'Paktika', 'Panjshir', 'Parvan', 'Samangan', 'Sar-e Pol', 'Takhar', 'Vardak', 'Zabol'],
},
{
'country': 'Albania',
'states': ['Berat', 'Dibres', 'Durres', 'Elbasan', 'Fier', 'Gjirokastre', 'Korce', 'Kukes', 'Lezhe', 'Shkoder', 'Tirane', 'Vlore'],
},
{
@timothystewart6
timothystewart6 / zsh.md
Created September 3, 2017 15:44 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
@timothystewart6
timothystewart6 / gist:2865cc303b7124e96b0fc2ec8cdcab9a
Created September 18, 2016 00:12 — forked from Kinzcool/gist:f2b42ad6f6ba6054cd53
World of Warcraft Cataclysm (4.3.4 - Build 15595) - Download Links.
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/art.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/base-OSX.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/base-Win.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/expansion1.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/expansion2.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/expansion3.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/sound.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/world.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/world2.MPQ
http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/15050.direct/Data/wow-update-base-15211.MPQ
@timothystewart6
timothystewart6 / post-repeat-directive.js
Created June 16, 2016 20:46 — forked from rkgarg/post-repeat-directive.js
Angular ng-repeat Benchmark
// Post repeat directive for logging the rendering time
angular.module('myApp').directive('postRepeatDirective',
['$timeout',
function($timeout) {
return function(scope) {
if (scope.$first)
window.a = new Date(); // window.a can be updated anywhere if to reset counter at some action if ng-repeat is not getting started from $first
if (scope.$last)
$timeout(function(){
console.log("## DOM rendering list took: " + (new Date() - window.a) + " ms");