This file contains hidden or 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
var f = function(){ | |
maxCount=5; | |
for (var i=0 ;i<maxCount; i++){ | |
alert(i); | |
} | |
} | |
function createOperations(){ | |
var operations = []; |
This file contains hidden or 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 createOperations(){ | |
var operations = []; | |
for (var i = 0; i < 5; i++) { | |
operations.push(function(input){ | |
return input * i; | |
}) | |
} | |
return operations; | |
} |
This file contains hidden or 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
<video height="270" width="480" controls | |
src src="https://s3.eu-west-2.amazonaws.com/bebop2videos-hls-streams/pollensa-sailing-/july2017hls_400k_.m3u8"> | |
<p>Your browser does not support HLS playback in HTML5.</p> | |
</video> |
This file contains hidden or 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
Ext.define('School.model.Student', | |
{ | |
extend: 'Ext.data.Model', | |
requires:['School.model.Course'], | |
idProperty : 'id', | |
fields : [{ | |
name : 'id', | |
type : 'int' | |
}, | |
{ |
This file contains hidden or 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
/** | |
* Offline Proxy | |
* @extend Ext.data.proxy.Ajax | |
*/ | |
Ext.define('proxy.OfflineProxy', { | |
extend: 'Ext.data.proxy.Ajax', | |
alias: 'proxy.offline', | |
config: { |
This file contains hidden or 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
items: [ | |
{ | |
xtype: 'toolbar', | |
title: ' ', // if left blank this causes an issue on iPhone | |
docked: 'top', | |
cls: ['top', 'noBorder'], | |
items: [{ | |
text: 'Orders', | |
cls: 'back-button', | |
itemId: 'back' |
This file contains hidden or 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
git config --global core.ignorecase false |
This file contains hidden or 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
[core] | |
ignorecase = true |
This file contains hidden or 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
init: function () { | |
this.control({ | |
'gridpanel[controlledByTabMaster=true]': { | |
render: this.onRender | |
} | |
}); | |
}, |
This file contains hidden or 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
$ dscacheutil -flushcache |
NewerOlder