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
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using DG.Tweening; | |
public class Class : MonoBehaviour { | |
void Start() { | |
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
{ | |
"IOS_APP_ID": "???", | |
"ANDROID_APP_ID": "???", | |
"GAME_NAME": "Raining Ballz", | |
"TARGET_SCORE_FACTOR": "0.801", | |
"BOMBS_PROGRESSION": "0.25", | |
"MIN_SQUARES": "4", | |
"MAX_SQUARES_1": "5", | |
"MAX_SQUARES_2": "6", | |
"WEBSITE_URL": "http://www.flatbutton.co", |
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
// ==UserScript== | |
// @name steamspy shortcut | |
// @namespace http:/flatbutton.co/ | |
// @version 1.0 | |
// @author Martin Knopf | |
// @match http://store.steampowered.com/app/* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.4/zepto.min.js | |
// ==/UserScript== |
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
using UnityEngine; | |
using System; | |
public class EventContainer : MonoBehaviour { | |
public class EmptyEvent { | |
public delegate void EmptyDelegate(); | |
public event EmptyDelegate Event; | |
public void Emit() { if(Event != null) Event(); } | |
} |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Random = UnityEngine.Random; | |
public class PartiallyTransparentSprite : MonoBehaviour { | |
public SpriteRenderer renderer; | |
Material material; | |
List<Color> holes= new List<Color>(); |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
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
var _ = require('lodash'); | |
module.exports = Checkout; | |
function Checkout(pricingRules) { | |
this.pricingRules = pricingRules; | |
this.basket = {}; | |
} | |
Checkout.prototype.scan = function(item) { |
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
for f in `find -name FILENAME`; do cat $f | sed 's/STRING1/STRING2/g' > tmp.txt; mv tmp.txt $f; done |
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
package org.horsed.wicket.cssmerger; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.commons.io.FileUtils; | |
import org.apache.wicket.markup.head.CssContentHeaderItem; | |
import org.apache.wicket.markup.head.CssHeaderItem; |
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
@Retention(value=RUNTIME) | |
@Target({ElementType=FIELD}) | |
public @interface DefaultIfNUll { | |
String stringValue(); | |
int intValue(); | |
boolean booleanValue(); | |
byte byteValue(); | |
short shortValue(); | |
long longValue(); | |
float floatValue(); |
NewerOlder