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 | |
path=`dirname "$0"` | |
if [[ -f "$path/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" ]] | |
then | |
"$path/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" -no-console YES "$@" | |
else | |
echo "ERROR: Could not find \"Corona Simulator.app\" in: $path" | |
fi | |
sleep 2 # prevent us being short-lived |
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 zip = require 'plugin.zip' | |
local zipFileName = 'zippedFolder.zip' | |
local function unzipListener( event ) | |
print('unzipping complete') | |
end | |
local unzipOptions = { | |
zipFile = event.response.fileName, | |
zipBaseDir = system.TemporaryDirectory, |
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
------------------------------------------------------------------------------------------------------------------------ | |
--Convex Separator for Box2D Flash for Corona SDK | |
--The original class has been written by Antoan Angelov. | |
--This LUA port was done by Ragdog Studios SRL (http://www.ragdogstudios.com) | |
--It is designed to work with Erin Catto's Box2D physics library implementation in Corona SDK (http://www.coronalabs.com) | |
--Everybody can use this software for any purpose, under two restrictions: | |
--1. You cannot claim that you wrote this software. | |
--2. You cannot remove or alter this notice. | |
--How to use it: |
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
const fs = require('fs'); | |
const moment = require('moment'); | |
const stripe = require('../stripe'); | |
const hashCode = (str) => { | |
let hash = 0; | |
if (typeof str !== 'string' || str.length === 0) { | |
return String(hash); | |
} | |
for (let i = 0; i < str.length; 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
#!/bin/bash | |
# Check if a GitHub URL is provided as an argument | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <github_url>" | |
exit 1 | |
fi | |
# Store the GitHub URL | |
GIT_URL="$1" |