Skip to content

Instantly share code, notes, and snippets.

View Kolandrious's full-sized avatar
🌐

Vladislav Klimov Kolandrious

🌐
  • SpiralScout
  • Krakow, Poland
View GitHub Profile
{
"compilerOptions": {
"baseUrl": "./app",
},
"exclude": ["build", "node_modules"]
}
@Kolandrious
Kolandrious / Karabiner-cmd+jkli-to-arrows.json
Last active March 3, 2020 18:38
Karabiner: command + j/k/l/i to arrow keys
{
"title": "command + j/k/l/i to arrow keys",
"rules": [
{
"description": "Change Command + j/k/l/i to Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
@Kolandrious
Kolandrious / VKScroll.js
Last active November 4, 2019 11:01
bookmarklet to scroll to the current audio in Music list
setTimeout(function check() {
const page = document.getElementsByClassName('audio_page__audio_rows_list');
if (!page || page.length === 0) {
return false;
}
const element = page[0].getElementsByClassName('audio_row__current');
if (element && element[0]) {
window.scrollTo({
top: element[0].offsetTop,
behavior: 'smooth',
@Kolandrious
Kolandrious / settings.json
Last active March 13, 2020 09:43
VS Code on MacOS settings
{
"html.mirrorCursorOnMatchingTag": true,
"files.associations": {
"*.jsx": "javascriptreact",
"*.js": "javascript"
},
"scm.diffDecorationsGutterWidth": 2,
"scm.diffDecorations": "gutter",
"emmet.triggerExpansionOnTab": true,
"explorer.confirmDelete": false,
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH="$HOME/.yarn/bin:$PATH"
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
# Set CLICOLOR if you want Ansi Colors in iTerm2
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PATH="/usr/local/bin:$PATH"
export ANDROID_HOME=/Users/home/Library/Android/sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
@Kolandrious
Kolandrious / settings.json
Last active November 8, 2017 17:47
VS Code settings
{
"editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace",
"editor.formatOnPaste": true,
"editor.fontSize": 14,
"terminal.integrated.fontSize": 16,
"editor.lineHeight": 20,
"editor.tabSize": 2,
"editor.rulers": [120],
"editor.wordWrapColumn": 120,
"editor.occurrencesHighlight": false,
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"max-len": [1, 120, 2, { "ignoreComments": true }],
"quote-props": [1, "consistent-as-needed"],
{
"always_show_minimap_viewport": true,
"caret_extra_width": 1,
"caret_style": "blink",
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"draw_centered": false,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"font_face": "Ubuntu mono",
"font_size": 11.5,