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
services: | |
mediawiki: | |
image: mediawiki:1.42 | |
ports: | |
- 8080:80 | |
command: > | |
bash -c ' | |
if [[ ! -f /var/www/html/LocalSettings.php ]]; then | |
max_retry=5 | |
counter=0 |
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
services: | |
setup: | |
image: elasticsearch:8.14.3 | |
profiles: | |
- setup | |
command: > | |
bash -c ' | |
until curl -s -X POST -u "elastic:${ELASTIC_PASSWORD}" -H "Content-Type: application/json" http://elasticsearch:9200/_security/user/kibana_system/_password -d "{\"password\":\"${KIBANA_PASSWORD}\"}" | grep -q "^{}"; do sleep 10; done; | |
' |
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 java.util.Iterator; | |
import ghidra.app.decompiler.DecompInterface; | |
import ghidra.app.decompiler.DecompileOptions; | |
import ghidra.app.decompiler.DecompileResults; | |
import ghidra.app.script.GhidraScript; | |
import ghidra.app.services.ConsoleService; | |
import ghidra.framework.plugintool.util.OptionsService; | |
import ghidra.program.model.address.Address; | |
import ghidra.program.model.listing.Bookmark; |
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 java.io.PrintWriter; | |
import java.io.StringWriter; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import ghidra.app.decompiler.DecompInterface; | |
import ghidra.app.decompiler.DecompileOptions; |
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
#!/usr/bin/perl | |
#fetch Gravatars | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
use LWP::Protocol::https; | |
my $size = 90; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project> | |
<PropertyGroup> | |
<_TmodOtherFramework Condition="'$(TmodTargetFramework)' == 'XNA'">FNA</_TmodOtherFramework> | |
<_TmodOtherFramework Condition="'$(TmodTargetFramework)' == 'FNA'">XNA</_TmodOtherFramework> | |
<_TmodOtherFrameworkProperties>TmodBuildDllOnly=true;TmodTargetFramework=$(_TmodOtherFramework)</_TmodOtherFrameworkProperties> | |
</PropertyGroup> | |
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 pyhq2x import hq2x | |
import sys | |
import glob | |
from os import path, rename | |
from PIL import Image | |
# This is quick and dirty script for converting the textures of an extracted tModLoader mod as described here: | |
# https://forums.terraria.org/index.php?threads/hq2x-and-other-image-filter-packs.51557/ | |
# This script also needs the python hq2x implementation, which can be found here: | |
# https://github.com/DRKV333/pyhq2x |