Skip to content

Instantly share code, notes, and snippets.

View v-dimitrov's full-sized avatar

Valentin Dimitrov v-dimitrov

View GitHub Profile
pm uninstall -k --user 0 com.google.android.apps.tachyon &&
pm uninstall -k --user 0 com.google.android.music &&
pm uninstall -k --user 0 com.google.android.apps.docs.editors.sheets &&
pm uninstall -k --user 0 com.google.android.apps.docs.editors.slides &&
pm uninstall -k --user 0 com.google.android.apps.docs.editors.docs &&
pm uninstall -k --user 0 com.google.android.videos &&
pm uninstall -k --user 0 com.android.gallery3d &&
pm uninstall -k --user 0 com.android.calendar &&
pm uninstall -k --user 0 com.evernote &&
pm uninstall -k --user 0 com.evernote.promohelper &&
@v-dimitrov
v-dimitrov / sublime-open-with
Last active January 15, 2017 11:24
add sublime to windows context menu
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3]
@="Edit with S&ublime Text 3"
"Icon"="D:\\OneDrive\\Apps\\sublime\\sublime_text.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command]
@="\"D:\\OneDrive\\Apps\\sublime\\sublime_text.exe\" \"%1\""
@v-dimitrov
v-dimitrov / touch-events
Last active May 26, 2016 16:15
create custom touch events for handsets
(function(doc) {
var createCustomEvent = function(e, n) {
var customEvent = doc.createEvent("CustomEvent");
customEvent.initCustomEvent(n, true, true, e.target);
e.target.dispatchEvent(customEvent);
customEvent = null;
return false
},
nm = true,
startPos = {
@v-dimitrov
v-dimitrov / git.user.js
Created February 4, 2014 23:05
Userscript - make specific long files in github online diff view shorter, since you don't need to check them.
// ==UserScript==
// @name GitHub Suppress Diffs
// @version 2013.10.29
// @namespace FET
// @description Suppress style.css
// @include http*://github.com/*
// ==/UserScript==
// Files to suppress:
suppressFiles([
@v-dimitrov
v-dimitrov / touchpad-fix
Last active August 23, 2022 11:00
touchpad fn key fix
#!/bin/sh
# toggle touch pad
device=`xinput list --name-only | grep -i touchpad`
isOn=`xinput list-props "$device" | grep -i enabled | tail -c 2`
iconEnabled='input-touchpad-symbolic'
iconDisabled='touchpad-disabled-symbolic'
case "$isOn" in
0)
$base-font-size: 14px;
$base-font-family: sans-serif;
// *
// @extend %bs-border-box
// Prevent iOS text size adjust after orientation change, without disabling user zoom
html
height: 100%
font-size: 100%