Skip to content

Instantly share code, notes, and snippets.

View interisti's full-sized avatar
🏠
Working from home

Nikoloz Nikabadze interisti

🏠
Working from home
View GitHub Profile
@interisti
interisti / gist:9b34024a5318421eeff0
Created February 23, 2015 13:10
npm install with VS2013
npm install <package> --msvs-version=2013
Model.schema.eachPath(function (path) {
if (Model.schema.path(path)._index &&
Model.schema.path(path)._index.unique)
console.log(path);
});
@interisti
interisti / OpenWithSublimeText3.bat
Last active December 24, 2015 22:03 — forked from roundand/OpenWithSublimeText3.bat
Open folders and files with Sublime Text 3 from windows explorer context menu (tested in Windows 7)
@echo off
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@interisti
interisti / Regex.md
Last active December 7, 2016 14:37
Regex

Match unicode chars:

[^\u0000-\u007F]

Match nonunicode chars:

[!^\u0000-\u007F]
@interisti
interisti / docker-cheat-sheet .md
Last active February 19, 2023 03:49
docker cheat sheet

DOCKER

list images with size

docker images | awk '{print $1"\t"$2"\t"$7" "$8}'

list running containers

docker ps
{
"categories": [{
"name": "action",
"key": "action",
"icons": [{
"id": "ic_3d_rotation",
"name": "3d rotation",
"group_id": "action",
"keywords": ["action, 3d, rotation"],
"ligature": "3d_rotation",
@interisti
interisti / page_turn.dart
Created September 10, 2019 05:50 — forked from slightfoot/page_turn.dart
Page Turn Effect - By Simon Lightfoot. Replicating this behaviour. https://www.youtube.com/watch?v=JqvtZwIJMLo
// MIT License
//
// Copyright (c) 2019 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@interisti
interisti / Experimenting with ChromeOS on VirtualBox.md
Created November 22, 2019 15:49 — forked from gerarldlee/Experimenting with ChromeOS on VirtualBox.md
Installing ChromeOS on VirtualBox using the NeverWare build

Installing ChromeOS on VirtualBox

  1. Download the NeverWare's ChromeOS build from http://www.neverware.com/freedownload

  2. Extract the *.bin.zip

  3. Convert it to VDI. vboxmanage convertdd chromiumos_image.bin chromiumos_image.vdi

  4. mv chromiumis_image.vdi C:\t\v\chromeos\