Skip to content

Instantly share code, notes, and snippets.

# DEV Sandbox
## Objective
Learn Shopify and practice JavaScript by following BVA styleguide.
Some designs might be simplified along the way.
## Links
### Git
@iamskok
iamskok / randomHex.js
Created June 20, 2019 05:03
Random HEX color generator
function randomHex() {
const hexMax = 256 * 256 * 256;
return '#' + Math.floor(Math.random() * hexMax).toString(16).toUpperCase().padStart(6, '0');
}
@iamskok
iamskok / .aliases
Created December 20, 2015 03:30
oh my zsh git aliases
amend='git commit --amend'
g=git
ga='git add'
gaa='git add --all'
gac='git add . && git commit -v'
gapa='git add --patch'
gb='git branch'
gba='git branch -a'
gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d'
gbl='git blame -b -w'
@iamskok
iamskok / SassMeister-input.scss
Created October 14, 2015 00:03
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$buttons: (
'error': (#d82d2d, #666),
'success': (#52bf4a, #fff),
'warning': (#c23435, #fff)
);
@iamskok
iamskok / Google Material design palette - Sassy-colors
Last active August 31, 2015 23:31
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
///
/// Google Material Color Palette
///
/// @type {Map} color palette
///
@iamskok
iamskok / SassMeister-input.scss
Last active August 31, 2015 23:28
Equal-lists Sass function
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
$v1: 1 2 3;
$v2: 4 5 6;
$v3: 7 8 9;
.test {
@iamskok
iamskok / SassMeister-output.css
Last active May 24, 2017 02:47
Sassy-validation SassMeister Demo
Sassy-validation {
is-measure: true;
is-measure: false;
is-color: true;
is-color: true;
is-color: false;
is-string: true;
is-string: false;
is-number: true;
is-negative: true;
@iamskok
iamskok / Preferences.sublime-settings
Created June 11, 2015 06:10
My personal Sublime Text preferences
{
"color_scheme": "Packages/Base16 Color Schemes/base16-atelierlakeside.dark.tmTheme",
"fade_fold_buttons": false,
"font_size": 12,
"highlight_line": true,
"ignored_packages":
[
"Markdown",
"Vintage"
],

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"

npm adduser

@iamskok
iamskok / disposable-email-provider-domains
Last active August 29, 2015 14:22
List of disposable email providers
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com