Skip to content

Instantly share code, notes, and snippets.

@CodySwannGT
CodySwannGT / bastion
Last active January 21, 2017 00:01
Without S3 vs With S3
#!/bin/bash
FILES=/home/qualisauto/*_checks.csv
check_file=/home/qualisauto/checks_combined.csv
touch $check_file
#### If there are any files at $FILES, then combine them into one file named by $check_file
if ls $FILES 1> /dev/null 2>&1; then
echo "WE got files"
{
"loveit": ["Love that!", "👍", "😍", "🙌", "😵", "💯", "💖", "👌", "🔥", "I want one!", "Yes!"],
"cute": ["awwwwww", "omg!", "Adorable!", "That is the cutest thing I've seen in my life", "This made my day!"],
"cool": ["That is so freaking sweet!", "More! GIVE ME MORE!!!!", "👍", "😍", "🙌", "😵", "💯", "💖", "👌", "🔥", "Nailed it!"],
"funny": ["lol!", "lmfao", "hahahhaaha", "haha!", "omg!", "So funny!", "😂🤣", "😂🤣😂🤣", "😂😂😂", "🤣🤣🤣", "🤣🤣", "🤣"],
"onsale": ["Seriously? Can I buy 10?", "Got mine already!", "Damn...", "I'm all over that!", "Nice!", "👍", "😍", "🙌", "😵", "💯", "💖", "👌", "🔥", "Take my money!"]
}
const flatten = arr => {
while (arr.find(el => Array.isArray(el))) arr = Array.prototype.concat(...arr)
return arr
}
const _gtSetMessage = message => FF.ns.battle.BattleViewController.getInstance().showMessage({ message: message })
const logit = () => {
FF.env.isDevelop = function() { return true; }
// FF.logger.debug = function() { try { alert(JSON.stringify(arguments)) } catch (e) {} }
/****** Start Items Map*******/
var _gunner_items = [{
"image_path": "/dff/static/lang/ww/compile/en/image/beast/161000057/161000057_112.png",
"created_at": 1427934076,
"id": 161000057,
"name": "Firemane",
"type": 41,
"rarity": 4
},
{
/****** Start Items Map*******/
var _gunner_items = [{
"image_path": "/dff/static/lang/ww/compile/en/image/beast/161000057/161000057_112.png",
"created_at": 1427934076,
"id": 161000057,
"name": "Firemane",
"type": 41,
"rarity": 4
},
{
setInterval(() => {
try {
var bi = FF.ns.battle.BattleInfo.getInstance();
bi.getEnemyParams = function() {
window.alert(JSON.stringify(bi._enemies));
return bi._enemies.map(enemy => Object.assign(enemy, {
initHp: 1,
maxHp: 1,
alert("I WAS LOADED!!!");
setInterval(() => {
try {
var bi = FF.ns.battle.BattleInfo.getInstance();
bi.getEnemyParams = function() {
return bi._enemies.map(enemy => Object.assign(enemy, {
initHp: 1,
{
"success": true,
"assets": {
"element_atk_boost_105_40": {
"bundle": {
"/Content/lang/ww/compile/en/ab/battle/status_icon/element_atk_boost_105_40.png": {
"hash": "8KVMZuIqW7sD12g0NGzMIA"
}
},
"assetPath": "/Content/lang/ww/compile/en/ab/battle/status_icon/element_atk_boost_105_40.png"
--- !com.amazonaws.mobilehub.v0.Project
apps:
react-native: !com.amazonaws.mobilehub.v0.AppDO {}
uploads:
features:
cloudlogic: !com.amazonaws.mobilehub.v0.CloudLogic
components:
content-delivery: !com.amazonaws.mobilehub.v0.ContentDelivery
attributes:
enabled: true
<img width="320" height="83" src="https://i.imgur.com/WhFx8so.jpg" />
<img width="320" height="80" src="https://cdn.shopify.com/s/files/1/0436/0617/t/4/assets/logo.png?3982314206165055718" />
<p>By filling out this form, you are agreeing to be contacted by a member of Alpha Media Holdings, LLC and/or Country Shore, LLC.</p>
<p>A drawing will be hold to determine the winner. Prize will be made available to anyone 18 years or older. Those under 18 must have adult guardian to reedem prize for them.</p>
<p>Limit one per family. No purchase necessary. Everyone is eligible to win except employees of Alpha Media Holdings, LLC and/or Country Shore, LLC, their families, and sponsors to the content.</p>
<p>Additional eligibility requirements &amp; consent rules may apply.</p>