Skip to content

Instantly share code, notes, and snippets.

View SavageWilliam's full-sized avatar
🎯
Focusing

William Savage SavageWilliam

🎯
Focusing
  • London
View GitHub Profile
@SavageWilliam
SavageWilliam / uploadcare.js
Created July 27, 2017 21:51
Passing uploaded files into dialog
// Button with onClick to open dialog
<p className='uploadcare-button' onClick={() => { this.openUploader() }}>
Click to add images
</p>
// function to open dialog with desired settings
openUploader () {
@SavageWilliam
SavageWilliam / githubLabels.js
Created February 23, 2017 09:28
Run this script in console of '/labels' endpoint of a repository
[
{
"name": "server",
"color": "5319e7"
},
{
"name": "bug",
"color": "ee0701"
},
{
@SavageWilliam
SavageWilliam / .eslintrc
Created December 27, 2016 10:55
eslint semi-standard setup
{
"extends": "standard",
"rules": {
"semi": [2, "always"],
"no-extra-semi": 2,
"semi-spacing": [2, { "before": false, "after": true }]
}
}