git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Problem: When linking to the raw version of a gist, the link changes with each revision.
Solution:
To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/
To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| #!/bin/bash | |
| ADBShell () { adb ${2+-s }$2 shell "$1" | tr -d '\r' | |
| } | |
| GetAndroidVersion () { | |
| local ALL_TAGS=$(wget -qO - "$GOOGLE_SOURCE/$REPO/+refs/tags/?format=text" | \ | |
| tr -d '^{}' | cut -d/ -f3 | sort -u | grep -vE -- '-(cts|sdk)-' | grep -v "_r0") | |
| TAG=${1:-$(ADBShell 'getprop ro.build.version.release')} | |
| echo -e "ANDROID_SERIAL=$ANDROID_SERIAL\nro.build.version.release=$TAG" 1>&2 |
gpedit.msc
Disable One Drive
Computer Configuration | Administrative Templates | Windows Components | OneDrivePrevent the usage of OneDrive for file storageEnableDisable automatic updates
Computer Configuration | Administrative Templates | Windows Components | Windows Update| https://raw.github.com/wiki/user/repo/page.md?login=login&token=token |
<hash> with your gist's hash):
# with ssh
git clone [email protected]:<hash>.git mygist
# with httpsgit clone https://gist.github.com/.git mygist
| #!/storage/xbin/bash | |
| # This script should help forward VPN over any tethered connection on a Android device. | |
| # Turn on tethering, then enable VPN, then run this script. | |
| # Inital variable setup | |
| tethering=0 | |
| # Setup iptables before forwarding VPN | |
| iptables -t filter -F FORWARD |
This guide is for those who dares to install Windows 10 on slow netbooks (1GB of RAM).
Though Windows update program is over, you still may use old Windows product keys from license stickers to install Windows 10 on old machines.
UPD Jan 2019
This article is quite old, some instructions may be obsolete.
| schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\ApplicationData\CleanupTemporaryState" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\ApplicationData\DsSvcCleanup" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable | |
| schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable |