This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this function to your .bashrc file. | |
# Usage: mv oldfilename | |
# If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
# Original mv is called when it's called with more than one argument. | |
# It's useful when you want to change just a few letters in a long name. | |
# | |
# Also see: | |
# - imv from renameutils | |
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- Mode: Javascript; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 2 -*- | |
/******************************************************************************* | |
(C)2017+ Alp Sayin | |
Authors: Alp Sayin <https://www.facebook.com/My-Dummy-Page-for-Development-1417283351852520/> | |
This work is licensed under a Creative Commons License ! | |
See: http://creativecommons.org/licenses/by-nc-nd/4.0/ | |
*******************************************************************************/ | |
// ==UserScript== | |
// @name FB-Remove Sponsored Posts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set index=1 | |
:While | |
if %index% gtr 10000 goto EndWHile | |
echo Iteration number %index% | |
set /A index+=1 | |
Rem set /p xIndex=Enter X Index: | |
adb shell "getevent -lc 16 /dev/input/event0 | grep ABS_MT_POSITION_X | awk '{print $3}' | (read string; echo $((16#$string)))" > touch_location.txt | |
set /p xIndex=<touch_location.txt | |
echo %xIndex% |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# cryptsync.sh - a simple script for keeping an encrypted backup of a folder | |
# | |
# Author: Rasmus Sten <cryptsync@dll.nu> | |
# | |
# For example, to make an encrypted backup of my ~/Documents folder to Dropbox: | |
# | |
# ./cryptsync.sh --init ~/Documents/ ~/Dropbox/ | |
# |