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
reg delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Language\English_UK |
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
Array.prototype.forEach.call(document.getElementsByClassName("original"), function(el) { | |
// Do stuff here | |
el.hidden = true; | |
}); |
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
netsh interface ipv4 show excludedportrange protocol=tcp |
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
import arcade | |
SCREEN_WIDTH = 1000 | |
SCREEN_HEIGHT = 650 | |
SCREEN_TITLE = "Platformer" | |
class MyGame(arcade.Window): | |
def __init__(self): | |
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE) |
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
import arcade | |
SCREEN_WIDTH = 1000 | |
SCREEN_HEIGHT = 650 | |
SCREEN_TITLE = "Platformer" | |
PLAYER_START_X = 64 | |
PLAYER_START_Y = 94 | |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\7-Zip.001\shell] | |
@="extract" | |
[HKEY_CLASSES_ROOT\7-Zip.001\shell\extract] | |
@="Extract to Folder" | |
[HKEY_CLASSES_ROOT\7-Zip.001\shell\extract\command] | |
@="\"C:\\Program Files\\7-Zip\\7zG.exe\" x \"%1\" -o*" | |
[HKEY_CLASSES_ROOT\7-Zip.7z\shell] |
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
find . -type f -name '*.cs' -exec unix2dos {} \; |
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
from elftools.elf.elffile import ELFFile | |
from zipfile import ZipFile | |
import gzip, string | |
from io import StringIO, BytesIO | |
data = open('libmonodroid_bundle_app.so', "rb") | |
elffile = ELFFile(data) | |
section = elffile.get_section_by_name('.dynsym') | |
data.seek(0) | |
data_read = data.read() |
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
Sub DelUserStyles() | |
Dim objStyle As Style | |
For Each objStyle In ActiveDocument.Styles | |
If Not objStyle.BuiltIn Then | |
objStyle.Delete | |
End If | |
Next | |
End Sub |
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/sh | |
git shortlog -sn | awk ' {print $2, $3, $4} ' > names.txt | |
cat names.txt | while read cn | |
do | |
name="$(echo $cn | sed -e 's/\r//g')" | |
echo $name | |
git log --no-merges -p -w --shortstat --author="$name" --since="1 Jan, 2017" -p -- . ':(exclude)*.xml' ':(exclude)*.png' ':(exclude)*.g.cs' ':(exclude)*.Designer.cs' ':(exclude)lib/*' ':(exclude)*.csproj' | grep -E "fil(e|es) changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print " files changed: ", files, "lines inserted: ", inserted, "lines deleted: ", deleted }' | |
done |
NewerOlder