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
<Style TargetType="{x:Type Button}"> | |
<Setter Property="Background" Value="Green"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="{x:Type Button}"> | |
<Border Background="{TemplateBinding Background}"> | |
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> |
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
# Since I ask this of people before using their code samples, anyone can | |
# use this under BSD. | |
import os | |
import M2Crypto | |
def empty_callback(): | |
return | |
# Seed the random number generator with 1024 random bytes (8192 bits) |
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
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
body, .darcula .sb-row, .darcula .sb-row, .darcula .sb-board-title { | |
background: #303030 !important; | |
color: #eeeeee !important; | |
} | |
.yt-header__create-btn > .ring-menu__item__i { | |
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ef9331), to(#e9701d)) !important; | |
} | |
.ring-menu, .jt-menu-button, .ring-dropdown__item, .suggest, .inputWrapper > input { |
NewerOlder