Skip to content

Instantly share code, notes, and snippets.

Ilya Sanosyan isanosyan

Block or report user

Report or block isanosyan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
isanosyan / shell
Created Jul 27, 2019
shut up Microsoft Auto Update
View shell
/usr/bin/defaults write AcknowledgedDataCollectionPolicy RequiredDataOnly
isanosyan / _Instructions
Created Oct 13, 2018 — forked from benmccallum/_Instructions
nuxtjs, vue-bootstrap with custom bootstrap build
View _Instructions
1. Install bootstrap as a dev dependency, and its dependencies (node-sass and sass-loader)
`npm install --save-dev bootstrap@4.0.0-beta.2 node-sass sass-loader`
2. Install nuxt plugin of bootstrap vue (includes bootstrap-vue as a dependency)
`npm install @nuxtjs/bootstrap-vue`
3. Register plugin as module in nuxt.config.js (see below)
4. Create app.scss entry point (see below)
isanosyan /
Created Sep 27, 2018 — forked from eedugon/
Manual garbage collector for gitlab registry, it removes old revisions that are not referenced by any tag
# This is a modification of script created by Peter Bábics (pbabics/
# Improvements
# - Searching in all BASE_PATH, not fixing the search to a depth of 2
# - Directories without valid tags or revisions directories won't be processed (to avoid unexpected issues)
# - Logging in case there's nothing to delete
# - running registry-garbage-collect only when something has been deleted
isanosyan / Docker-debug
Created Sep 27, 2018 — forked from dainis-boumber/Docker-debug
Setup PyCharm IDE to remote debug code inside a Docker container using ssh
View Docker-debug
# Should work for any IDE that supports ssh but only tested on PyCharm
# These instructions are for systemd OS (Ubuntu 16.04 and up, Debian).
# For systems running upstart like 14.04, modify /etc/default/docker by adding DOCKER_OPTS
## First, we need to get Docker to accept ssh connections:
## Open /lib/systemd/system/docker.service
isanosyan / gist:2973744
Created Jun 22, 2012
mac os x: disable and enable spotlight
View gist:2973744
sudo launchctl unload -w /System/Library/LaunchDaemons/
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
sudo launchctl load -w /System/Library/LaunchDaemons/
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
isanosyan /
Last active May 16, 2017 — forked from st4lk/
Python: ( audio music downloader
# -*- coding: utf-8 -*-
Скрипт для скачивания музыки с сайта (
Принцип работы:
Скрипт проверяет сохраненный access_token. Если его нет или срок истек,
то открывается страница в браузере с запросом на доступ к аккаунту.
isanosyan / gist:a69947d434f3bfa4c3ea
Created Feb 3, 2016
list of features for InQuest VM
View gist:a69947d434f3bfa4c3ea
* files sharing
* ability to import DB from dev
* needs to be accessible with a hostname specified in `/etc/hosts`
View gist:5940408
// requirejs config in main.js
paths: {
jquery: 'components/jquery/jquery',
es5shim: 'components/es5-shim/es5-shim',
es5sham: 'components/es5-shim/es5-sham'
map: {
'*': {
'flight/component': 'components/flight/lib/component',
isanosyan / gist:5922633
Created Jul 3, 2013
mac os x: disable bouncing effect in Dock
View gist:5922633
defaults write no-bouncing -bool TRUE
killall Dock
isanosyan / two columns
Created Apr 15, 2013
two columns for bilingual docs like contract
View two columns
This is the first column.\\
This is still in the first column.
You can’t perform that action at this time.