lua51-5.1.5_9 Small, compilable scripting language providing easy access to C code
lua51-lpeg-0.12 Parsing Expression Grammars For Lua
lua51-luafilesystem-1.6.3 Library to access directory structure and file attributes
lua51-luasocket-3.0r1 IPv4 and IPv6 socket support for the Lua language
luajit-2.0.4 Just-In-Time Compiler for Lua
This file contains hidden or 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 bash | |
| if [ "${BS_DEBUG}" == "YES" ] ; then | |
| set -x | |
| fi | |
| # this is a configurable backup script that should run on a cron job. | |
| # declares the arrays we'll be using, don't change these |
This file contains hidden or 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 dirlocate () { | |
| fDir=$1 | |
| sLimit=$2 | |
| lDir="" | |
| curdir=`pwd` | |
| while [[ "`pwd`" != "${sLimit}" && "`pwd`" != "/" ]] ; do | |
| if test -e "${fDir}" ; then | |
| cd ${fDir} | |
| lDir=`pwd` | |
| break; |
This file contains hidden or 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.lang.Math; | |
| import java.util.*; | |
| public class Lines { | |
| public CoordSet first; | |
| public CoordSet second; | |
| public static class CoordSet { |
This file contains hidden or 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 | |
| #zenstaller script for linux - pirogoeth | |
| #copyright 2009-2010 brokendream products | |
| clear | |
| ############################################## | |
| # VARIABLES # |
This file contains hidden or 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.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.Scanner; | |
| public class SalesWeek { | |
| public static Map<Day, ArrayList<Sale>> total_sales_day = new HashMap<Day, ArrayList<Sale>>(7); |
This file contains hidden or 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 bash | |
| declare -a upstream | |
| # ============================================================================================================== | |
| # configurable options | |
| name="OpenEconomy" | |
| basedir="/home/pirogoeth/OpenEconomy" | |
| incdir="${basedir}/inc" |
This file contains hidden or 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 bash | |
| function checkIfElementIsBlank () { | |
| test ! -z ${1} | |
| } | |
| # quick awk lesson | |
| # ============================================================================================ | |
| # when using awk as a splitter, you will do awk '{print $#};', where # is the index number | |
| # 0: entire string AFTER any proceeding formatting |
This file contains hidden or 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
| package me.maiome.openauth.util; | |
| // bukkit imports | |
| import org.bukkit.Location; | |
| import org.bukkit.World; | |
| import org.bukkit.block.Block; | |
| import org.bukkit.block.BlockState; | |
| // internal imports | |
| import me.maiome.openauth.util.ConfigInventory; |
This file contains hidden or 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 | |
| import sys | |
| class Splitter(object): | |
| def __init__(self, resource): | |
| self.resource = resource | |
| self.file = open(resource, 'r') | |
| self.contents = self.file.read() |