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 / 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");
@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 / extractor.bat
Last active December 10, 2016 16:34
maps extractor
REM you will need mapextractor.exe, vmap4extractor.exe, vmap4assembler.exe, and mmaps_generator.exe
mapextractor.exe
vmap4extractor.exe
md vmaps
vmap4assembler.exe Buildings vmaps
md mmaps
mmaps_generator.exe
pause
@timothystewart6
timothystewart6 / package.json
Created February 11, 2017 20:57
create-react-app pre-eject package.json
{
"name": "create-react-app",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-scripts": "0.9.0"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
@timothystewart6
timothystewart6 / package.json
Created February 11, 2017 20:58
create-react-app post-eject package.json
{
"name": "create-react-app",
"version": "0.1.0",
"private": true,
"devDependencies": {
"autoprefixer": "6.7.2",
"babel-core": "6.22.1",
"babel-eslint": "7.1.1",
"babel-jest": "18.0.0",
"babel-loader": "6.2.10",
@timothystewart6
timothystewart6 / oh-my-zsh-windows.md
Last active July 6, 2018 17:31
Install oh my zsh on bash on Ubuntu (Linux Subsystem)
@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 / 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 / states.js
Created September 23, 2017 18:00
United States
const states = [
'AK - Alaska',
'AL - Alabama',
'AR - Arkansas',
'AS - American Samoa',
'AZ - Arizona',
'CA - California',
'CO - Colorado',
'CT - Connecticut',
'DC - District of Columbia',
@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