Skip to content

Instantly share code, notes, and snippets.

Avatar

Valentin Dimitrov v-dimitrov

View GitHub Profile
View LG G6 Debloat List (SAFE, no root, no functionality lost)
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 Jan 15, 2017
add sublime to windows context menu
View sublime-open-with
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
create custom touch events for handsets
View touch-events
(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 Feb 4, 2014
Userscript - make specific long files in github online diff view shorter, since you don't need to check them.
View git.user.js
// ==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 Sep 6, 2019
touchpad fn key fix
View touchpad-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)
View _normalize.sass
$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%