Install Ubuntu on Windows 10
bash
// 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"); |
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 |
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 |
{ | |
"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" |
{ | |
"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", |
Install Ubuntu on Windows 10
bash
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
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'], | |
}, | |
{ |
const states = [ | |
'AK - Alaska', | |
'AL - Alabama', | |
'AR - Arkansas', | |
'AS - American Samoa', | |
'AZ - Arizona', | |
'CA - California', | |
'CO - Colorado', | |
'CT - Connecticut', | |
'DC - District of Columbia', |
watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn ios -- --reset-cache |