Ай трайд то юз Майк Босток`с бл.окс.орг ту дисплей бейсик тхрижс экзампл тхру гист фром гитхаб.
Анозер тхрижс юсфул (ат лист фор ми) сниппет. Джаст трайд ту дженерейт сом син оф кьюбс. Зис ит хау ит воркс. level-эррэй репрезентс зе левел итселф фром зе топ пойнт оф вью. Намбер ин специфик сесс дискрайбс хау мени кьюбс вилл би аддед ин плейс.
Анозер тхрижс юсфул (ат лист фор ми) сниппет. Джаст трайд мейк процедурал дженерейшен. Эс ю кен си, жаваскрипт кэннот инту перфект рандом вен ю райт агли код.
Mouse events performs very slow in firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function generateMonthArray(_y, _m, _d) { | |
var d = new Date(_y, _m, _d); | |
var m = d.getMonth(); | |
var a = [new Array(7)]; | |
var i = 0; | |
var j = 0; | |
while(d.getMonth() == m) { | |
while(d.getDay() != 0) { | |
a[i][d.getDay()-1] = d.getDate(); | |
d.setDate(d.getDate()+1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @ngdoc module | |
* @name material.components.bottomSheet | |
* @description | |
* BottomSheet | |
*/ | |
angular | |
.module('material.components.bottomSheet', [ | |
'material.core', | |
'material.components.backdrop' |
Set PROXY
environment variable
$env:PROXY = "http://user:pass@serv:port"
npm config set proxy http://user:pass@serv:port
(do this second time for https-proxy
)
The following story happened with Win 7 x64 Virtual Machine (hosted on Ubuntu 16.04) in a PowerShell runned with admin priveleges
- Install .NET FW 4.5.1 pkg (used a standalone ver)