Skip to content

Instantly share code, notes, and snippets.

View vitalbone's full-sized avatar

Vito Belgiorno-Zegna vitalbone

View GitHub Profile

Here is how to get Semantic-UI-Less working in Keystone:

Directory structure:

styles
|- semantic
    - definitions
        - elements
        - globals
 - themes

Keybase proof

I hereby claim:

  • I am vitalbone on github.
  • I am vitalbone (https://keybase.io/vitalbone) on keybase.
  • I have a public key whose fingerprint is 6CE0 C49A 6FB8 FFF6 B38F E03B F1F9 152D E00F 61EB

To claim this, I am signing this object:

@vitalbone
vitalbone / index.js
Created August 18, 2015 07:16
requirebin sketch
// require something and hit 'Run', e.g. require('dog-picture')
require('dog-picture');
@vitalbone
vitalbone / parser.md
Last active February 3, 2016 20:53
📼 My first parser
var http = require('http')
var url = 'http://finance.google.com/finance/info?client=ig&q=INDEXASX:XAO'

// method for retrieving texty-json from URL
var download = (url, callback) => {
	http.get(url, res => {
		var data = ''
		res.on('data', chunk => {
			data += chunk
@vitalbone
vitalbone / subnets.md
Last active June 17, 2016 06:17
How Subnets work

How subnets work

Each number in the ip address represents binary octets.

00000101 01101000 00000000 00000000
128|64|32|16|8|4|2|1
// these are the same. 32 represents all 4 blocks in the ip
10.119.12.123
@vitalbone
vitalbone / keybase.md
Created March 9, 2017 22:50
New keybase identifier

Keybase proof

I hereby claim:

  • I am vitalbone on github.
  • I am vitalbone (https://keybase.io/vitalbone) on keybase.
  • I have a public key whose fingerprint is 733C 4FD9 2C85 C176 A1B2 54A5 7A9C BD76 0510 4071

To claim this, I am signing this object:

@vitalbone
vitalbone / knowledge.md
Created October 2, 2017 01:08
Knowledge
@vitalbone
vitalbone / eslint-atom.md
Last active June 28, 2018 17:20
Configuring eslint for Atom

Configuring eslint for Atom

Dan Abramov does a really good job explaining why and how in 'Lint Like It’s 2015'

For the tl;dr version

// install atom's linter && linter-eslint
apm install linter
apm install linter-eslint
@vitalbone
vitalbone / npm-script-args.md
Created December 5, 2018 03:08
Pass args into an NPM script

Passing args into an NPM script

(According to the gospel of Tim Leslie)

Example

$ "start": "/bin/sh -c 'cd projects/${1:-$0} && yarn start' basic"

Usage

@vitalbone
vitalbone / learning-react.md
Last active June 19, 2019 23:17
Learning React