Skip to content

Instantly share code, notes, and snippets.

View vbguard's full-sized avatar
:octocat:
I'm coding

Viktor Bulvarenko vbguard

:octocat:
I'm coding
View GitHub Profile
@vbguard
vbguard / js
Created November 21, 2017 12:18
<script>
</script>
@vbguard
vbguard / gisttools.js
Created November 21, 2017 12:24
Description of gist
content
@vbguard
vbguard / iterm2-solarized.md
Created May 23, 2018 20:48 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

fetch('https://api.ipify.org?format=json')
.then(response => {
if (response.ok) return response.json();
throw Error('Error while fetching' + response.statusText);
})
.then(data => console.log(data))
.catch(err => console.log(err));
@vbguard
vbguard / .eslintrc
Created July 11, 2018 12:52
React ESLint and Prettier config
// Install following packages
// yarn add --dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1
// or
// npm install --save-dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1
{
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
@vbguard
vbguard / html-languages.txt
Created July 12, 2018 17:12 — forked from JamieMason/html-languages.txt
HTML lang attribute / ISO language code reference / Culture names
CULTURE SPEC.CULTURE ENGLISH NAME
--------------------------------------------------------------
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
@vbguard
vbguard / bash_profile.md
Created December 14, 2018 23:56 — forked from irazasyed/bash_profile.md
Terminal: Mac OS X Terminal Aliases & How-To - .bash_profile / .profile

Mac OS X Terminal Aliases & How-To

Collection of some of my fav terminal aliases that i use often & collected from the web. This file will be updated with more aliases as i find more. Feel free to comment and share your fav aliases you use :)

###Follow these simple steps to add the following aliases:###


  1. Within the Terminal, run:
@vbguard
vbguard / webstoemp-gulpfile.js
Created January 11, 2019 07:07 — forked from jeromecoupe/webstoemp-gulpfile.js
Gulp 4 sample gulpfile.js
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");
{
"editor.fontSize": 14,
"window.zoomLevel": -1,
"workbench.colorTheme": "One Monokai",
"workbench.iconTheme": "vscode-icons",
"eslint.alwaysShowStatus": true,
"eslint.packageManager": "yarn",
"editor.tabSize": 2,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
aaron-bond.better-comments@2.0.3
abusaidm.html-snippets@0.2.1
azemoh.one-monokai@0.3.7
christian-kohler.path-intellisense@1.4.2
CoenraadS.bracket-pair-colorizer@1.0.61
DavidAnson.vscode-markdownlint@0.23.0
dbaeumer.vscode-eslint@1.8.0
dsznajder.es7-react-js-snippets@1.9.5
EditorConfig.EditorConfig@0.12.6
esbenp.prettier-vscode@1.7.3