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
#Temporary script to generate a universal pack from the mod repository | |
#We are working on a cleaner implementation at this time (same as what we have done on Soartex) | |
#Place in mod repository root and run in linux (sh mini_compile.sh) | |
#Created by Artdude and Shoeboxam | |
resource_pack=${PWD##*/} | |
for i in */; do | |
cd "$i" |
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/env python | |
from gimpfu import * | |
import glob | |
import sys | |
import os | |
def normalmap_wrapper(glob_pattern, source): | |
sys.stderr = open('C:\Users\mike_000\Desktop\errorstream.txt', 'a') | |
sys.stdout = open('C:\Users\mike_000\Desktop\outstream.txt', 'a') |
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/env python | |
from gimpfu import * | |
import os | |
import os.path | |
import glob | |
import sys | |
# This adds the suffix to the end of the file | |
def modify_path(image, insertion): |
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 PIL import Image | |
import math | |
img = Image.open(r"C:\Users\mike_000\Desktop\planks_oak.png") | |
board_widths = [16, 16, 16, 16] | |
resize_factor = img.size[0] / 16 | |
fence_side = img.crop([0, 0, img.size[0], img.size[1]]) | |
fence_top = img.crop([0, 0, img.size[0], img.size[1]]) |
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 random | |
import matplotlib.pyplot as plt | |
import numpy as np | |
respondents = 23 | |
random.seed() | |
gpa = [] |
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 matplotlib.pyplot as plt | |
import numpy | |
from numpy.linalg import lstsq | |
concentrations = numpy.asarray((.25, .20, .15, .1, .05)) | |
absorbtivities = numpy.asarray((.131, .129, .126, .119, .109)) | |
# Prepare data for fitting | |
conc_vstack = numpy.vstack([concentrations, numpy.ones(len(concentrations))]).T |
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 Sandbox | |
DROP TABLE Salesmen | |
DROP TABLE Pay | |
DROP PROC spReadPayRecord | |
DROP FUNCTION fnCalcPay | |
DROP FUNCTION fnCalcComm | |
DROP FUNCTION fnCalcBonus | |
DROP PROC spUpdatePay |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetNumLockState AlwaysOn | |
NumLock:: | |
IfWinExist, SpeedCrunch | |
WinClose SpeedCrunch |
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/env python | |
from gimpfu import * | |
def stage_graphic(image, drawable): | |
pdb.gimp_context_set_interpolation(0) | |
pdb.gimp_image_scale(image, pdb.gimp_image_width(image) * 4, pdb.gimp_image_height(image) * 4) | |
if (pdb.gimp_image_base_type(image)): | |
pdb.gimp_image_convert_rgb(image) |
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
filename=$PWD/patchnames.txt | |
while read -r line | |
do | |
cp -R $PWD/Modded-1.7.x/$line"/assets/" $PWD/FTBInventions/minecraft/resourcepacks/Soartex_Modded | |
done < "$filename" |
OlderNewer