HEAD^
- First parent commit
HEAD~x
- xth parent commit
git reset HEAD -- file
- Unstage file
git checkout -- file
- Revert local changes (checkout file from the current branch)
git checkout branch -- file
- Get a file from other branch
diskpart | |
list disk | |
select disk <X> | |
clean | |
create part pri | |
select part 1 | |
format fs=ntfs quick | |
active | |
exit |
c: | |
cd / | |
fsutil file setshortname "C:\Program Files" PROGRA~1 | |
fsutil file setshortname "C:\Program Files (x86)" PROGRA~2 | |
fsutil file setshortname "C:\Program Files\Common Files" COMMON~1 | |
fsutil file setshortname "C:\Program Files (x86)\Common Files" COMMON~1 | |
pause |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] | |
"NtfsDisable8dot3NameCreation"=dword:00000002 |
#!/bin/bash | |
# From http://ubuntuforums.org/showthread.php?t=636724 | |
DEBFILE="$1" | |
TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1 | |
OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb | |
if [[ -e "$OUTPUT" ]]; then | |
echo "$OUTPUT exists." | |
rm -r "$TMPDIR" |
HEAD^
- First parent commit
HEAD~x
- xth parent commit
git reset HEAD -- file
- Unstage file
git checkout -- file
- Revert local changes (checkout file from the current branch)
git checkout branch -- file
- Get a file from other branch
> set
%SystemDrive%
- C:%SystemRoot%
- C:\WINDOWS%WinDir%
- C:\WINDOWS%SystemDirectory%
- C:\WINDOWS\System32%ComSpec%
- The path including the command interpreter program (C:\WINDOWS\system32\cmd.exe)%programfiles%
- C:\WINDOWS\Program Files%a
- The abbreviated weekday name ("Sun")%A
- The full weekday name ("Sunday")%b
- The abbreviated month name ("Jan")%B
- The full month name ("January")%c
- The preferred local date and time representation%d
- Day of the month (01..31)%H
- Hour of the day, 24-hour clock (00..23)%I
- Hour of the day, 12-hour clock (01..12)%j
- Day of the year (001..366)%m
- Month of the year (01..12)SHA
- be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2User@SHA ref
- phts@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2User/Project@SHA
- phts/my-project@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2#Num
- #1User/#Num
- phts#1User/Project#Num
- phts/my-project#1/***************** | |
* cellBlockA.js * | |
***************** | |
* | |
* Good morning, Dr. Eval. | |
* | |
* It wasn't easy, but I've managed to get your computer down | |
* to you. This system might be unfamiliar, but the underlying | |
* code is still JavaScript. Just like we predicted. | |
* |
/* ==UserStyle== | |
@name Clean up aliexpress.com | |
@description Remove ads and other redundant stuff from aliexpress.com | |
@namespace https://github.com/phts/ | |
@version 1.0.2 | |
==/UserStyle== */ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("aliexpress.com") { | |