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
""" | |
LICENSE | |
Copyright (c) 2014, Rachel Powers All rights reserved. | |
This program is free software; you can redistribute it and/or modify it under | |
the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause | |
""" | |
import wx |
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 struct import pack, unpack | |
#============================================================================================ | |
# RubyMarshal | |
#-------------------------------------------------------------------------------------------- | |
# This class is able to read and write Ruby Marshal format. | |
#============================================================================================ | |
class RubyMarshal: |
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
function Clone() { } | |
function clone(obj) { | |
Clone.prototype = obj; | |
return new Clone(); | |
} | |
//load sprintf | |
//importScripts('sprintf.js') |
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/bash | |
pid_file="/path/to/destination/rsync.pid" | |
rsync_pid=$(cat $pid_file) | |
if [[ -z "${rsync_pid// }" ]] ; then | |
echo "[$(date)] no PID for seedbox rsync, exiting" | |
exit | |
else |
This file has been truncated, but you can view the full file.
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
[17:02:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[17:02:44] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[17:02:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker | |
[17:02:44] [main/INFO]: Forge Mod Loader version 14.23.4.2757 for Minecraft 1.12.2 loading | |
[17:02:44] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\ryex\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_51 | |
[17:02:44] [main/INFO]: Searching C:\Users\ryex\Documents\Curse\Minecraft\Instances\Bounds\mods for mods | |
[17:02:44] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in backpacks 1.12.2 - 3.5.2.jar. This is not recommended, @Mods should be in a separate jar from the coremod. | |
[17:02:44] [main/WARN]: The coremod BCModPlugin (brad16840.core.BCModPlugin) is not signed! | |
[17:02:44] [main/WARN]: Found FMLCorePluginContainsFMLMod |
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
local nerdfont = { | |
nf_fa_free_code_camp = "", | |
nf_ple_flame_thick = "", | |
nf_mdi_cube = "", | |
nf_fae_telescope = "", | |
nf_oct_file_symlink_file = "", | |
nf_mdi_chart_line = "", | |
nf_fa_bar_chart = "", | |
nf_cod_rss = "", | |
nf_cod_list_tree = "", |
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/bash | |
anime_flatpak_exists=false | |
anime_flatpak_prefix="$HOME/.var/app/com.gitlab.KRypt0n_.an-anime-game-launcher/data/anime-game-launcher" | |
anime_gtk_flatpak_exists=false | |
anime_gtk_flatpak_prefix="$HOME/.var/app/moe.launcher.an-anime-game-launcher-gtk/data/anime-game-launcher" | |
anime_exists=false | |
anime_prefix="$HOME/.local/share/anime-game-launcher" |
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
local CWD = fs.getDir(shell.getRunningProgram()) | |
local tArgs = {...} | |
local function usage() | |
print("Usage: config <rotation|level|receiver> <ID>") | |
print("Start the receiver first and then run rotation and level on respective computers") | |
print("Use a unique quarry ID and use the same ID on all three computers") | |
end | |
local SettingFile = fs.combine(CWD, "settings.cfg") |
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
use macro_rules_attribute::apply; | |
use macro_rules_attribute::derive; | |
macro_rules! object_trait { | |
(@intf $trait_name:ident $trt:path) => { | |
paste::paste! { | |
#[allow(missing_docs)] | |
pub type [<$trt Ref>]<'a, T> = &'a dyn $trt<ID = <T as $trait_name>::ID>; | |
#[allow(missing_docs)] | |
pub type [<$trt RefMut>]<'a, T> = &'a mut dyn $trt<ID = <T as $trait_name>::ID>; |