- Windows 10 (x64)
- VS2015
- Python 2.7.11
[email protected]
[email protected]
[email protected]
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
// Getting tree | |
const { data: baseTree } = await client.gitdata.getTree({ | |
owner: login, | |
repo: repo, | |
tree_sha: sha, | |
recursive: 1 | |
}) | |
const baseSha = baseTree.sha | |
const baseEntriesByPath = baseTree.tree.reduce((entriesByPath, entry) => { |
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 validChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''); | |
var validCharsUpperBound = validChars.length - 1; | |
function randomInt(lower, upper) { | |
return lower + Math.floor(Math.random() * (upper - lower + 1)) | |
} | |
function randomLetter() { | |
return validChars[randomInt(0, validCharsUpperBound)]; | |
} |
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 data = "do shash'owania"; | |
var crypto = require('crypto'); | |
crypto.createHash('md5').update(data).digest("hex"); |
This file has been truncated, but you can view the full file.
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(FuseBox){FuseBox.$fuse$=FuseBox; | |
FuseBox.pkg("default", {}, function(___scope___){ | |
___scope___.file("index.js", function(exports, require, module, __filename, __dirname){ | |
var zmq = require('zmq') | |
var pub = zmq.socket('pub') | |
pub.bindSync('tcp://127.0.0.1:3000') | |
console.log('Publisher bound to port 3000') |
Looking for workshop teachers to teach on the following topics!
For introductions please tweet @frontendmasters, @1marc or email: marc at FrontendMasters.com. Thanks!
You can propose other topics too.
Published blog post detailing topics and allowed people to vote on priority: 2016 Frontend Masters topic poll
Bolded topics are very highly requested.
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
// | |
// References important to this particular implementation: | |
// - http://ejohn.org/blog/nodename-case-sensitivity/ | |
// - http://help.dottoro.com/ljdgsrle.php | |
// - http://www.w3schools.com/html/html_xhtml.asp | |
// - http://www.w3schools.com/tags/tag_doctype.asp | |
// | |
// Other related references if additional parameters are ever needed: | |
// - http://reference.sitepoint.com/javascript/Document/doctype | |
// - http://reference.sitepoint.com/javascript/DocumentType |
General Selenium download info available on [SeleniumHQ][]
Must run the installer:
v1.0
a.k.a. "Microsoft WebDriver"- direct download (
.msi
) - root page
- Requires: Windows 10 Build 10240
- direct download (
v2.0
a.k.a. "Microsoft WebDriver Fall 2015 Update"
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
// IMPORTANT: | |
// As of nedb@^1.7.0, Datastore now inherits from EventEmitter in the NeDB core module. | |
// If you need to support older versions of NeDB, please look at the following previous revision | |
// of this gist: | |
// https://gist.github.com/JamesMGreene/0e0b2506c7bd2a2557f7/d8b4b1e97bb0d118c509672e3c7276b6dc4ba13a | |
/* | |
This gist provides a module which derives from the NeDB Datastore module and extends it to | |
emit several important events: |
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
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 |
NewerOlder