https://www.youtube.com/user/shiffman/playlists?shelf_id=6&sort=dd&view=50
There are many distribution functions, such as random, gaussian, perlin noise, or some custom function.
const x = random(0, 1)
Handlebars.registerHelper('ifCond', function (v1, operator, v2, options) { | |
switch (operator) { | |
case '==': | |
return (v1 == v2) ? options.fn(this) : options.inverse(this); | |
case '===': | |
return (v1 === v2) ? options.fn(this) : options.inverse(this); | |
case '!=': | |
return (v1 != v2) ? options.fn(this) : options.inverse(this); | |
case '!==': |
<div class="img-container"> | |
<img src="http://placehold.it/550x800"> | |
</div> |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
https://www.youtube.com/user/shiffman/playlists?shelf_id=6&sort=dd&view=50
There are many distribution functions, such as random, gaussian, perlin noise, or some custom function.
const x = random(0, 1)
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'canary', |
# Disable screensaver and blank screens | |
@xset s off | |
@xset -dpms | |
@xset s noblank | |
@xscreensaver -no-splash | |
# Hide mouse, must have installed unclutter with `sudo apt-get install unclutter` | |
@unclutter | |
# Load chromium and open the website in full screen mode |
https://i.imgur.com/f61MKLO.jpg |
Made to work along with gitfiti, you can draw with this tool and then export the data and use it with gitfiti.
##Usage
Left click
to increment the color, right click
to clear the cell, clear
button to clear everything! Dragging also works!ContributionsDraw.export()
into the console.ContributionsDraw.import([...])
NOTE: This is developed for and tested in Chrome, other browsers might not support yet some ES6 stuff, you might need to compile it to ES5.