While TJ has produced a lot of great stuff, so do many, many, many, many, many, many, many, many, many (etc) others.
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 minErr(module) { | |
return function () { | |
var code = arguments[0], | |
prefix = '[' + (module ? module + ':' : '') + code + '] ', | |
template = arguments[1], | |
templateArgs = arguments, | |
stringify = function (obj) { | |
if (typeof obj === 'function') { | |
return obj.toString().replace(/ \{[\s\S]*$/, ''); | |
} else if (typeof obj === 'undefined') { |
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
[ | |
'{{repeat(20, 30)}}', | |
{ | |
id: '{{index()}}', | |
lastName: '{{surname()}}', | |
firstName: '{{firstName()}}', | |
age: '{{integer(20, 40)}}', | |
email: '{{email()}}', | |
createdOn: '{{created = date(new Date(2014, 0, 1), new Date()).toISOString()}}', | |
registered: '{{date(new Date(Date.parse(created)), new Date()).toISOString()}}', |
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
19:42 alexspeller: spenguin: imagine the controller layer as a spiderweb with flies on | |
19:42 alexspeller: spenguin: controllers are like the webbing and the struggling flies are your data | |
19:43 spenguin: right | |
19:43 alexspeller: spenguin: the routing layer is the spider. The spider responds to the weather (i.e. URL changes, user input, websocket events, etc etc) by moving flies around (setting controller content to various data) | |
19:45 alexspeller: due to convention a lot of this is automatic (hitting /posts/1 will find Post id 1 and set the model property of the PostController to that post for example) but it doesn't have to be automatic | |
19:45 alexspeller: you can override setupController to set the post model to a different controller or you can override model hook so PostRoute finds a different model or multiple models or no model | |
19:46 alexspeller: the strands of the web are "needs". They connect controllers together. | |
19:48 alexspeller: So don't get confused by thinking there should always be a 1:1 relatio |
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
// githubHandlerRepo ~ string "%organizationName%/%repoName% | |
function getOpenIssues(githubHandlerRepo) { | |
var url = 'https://api.github.com/repos/' + githubHandlerRepo + '/issues?state=open' | |
var response = JSON.parse(UrlFetchApp.fetch(url)); | |
return response.length; | |
} | |
Если вы хотите посетить мероприятие, пожалуйста, кликнете пару кнопок в форме и ждем вас завтра.
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
var states = "|/-\\"; | |
var run; | |
var i = 0; | |
module.exports = { | |
indicate: function () { | |
run = true; | |
return tick(); | |
}, | |
stop: function () { |
Aleph property | Chance.js method |
---|---|
'flag' | 'bool' |
'char' | 'character' |
'fullDescription' | 'paragraph' |
'shortDescription' | 'sentence' |
'abbr' | 'syllable' |
'acronym' | 'radio' |
'word' | 'word' |
'percents' | 'klout' |
So, some tools that might help with icon fonts:
-
Build fonts from existing glyphs:
[IcoMoon][1] — meta-resource, using font-awesome & other fonts, either publicly available or purchasable
[flaticon][2] -
Build fonts from your own images online, but needs editing special template:
[IconVault][3] -
Something in between:
[Fontastic][4]