- Turn off auto locking to keep the game active. Occasionally tap the flying chests to gain extra gold and diamond.
- Turn off the screen when you need focus on work, then come back to the game later to gain a batch of mined gold. (On the upper left icon)
- Only spend diamonds on “Make in Rain”.
- Look at the Achievement list and finish the tasks there to gain lots of diamonds. When there are spare diamonds, spend on “Make it Rain”.
- Spending the diamonds should always be the last choice. I will spend diamonds only when I have more than 200.
- Carefully choose which champions to level up at certain time. Sometimes you want more damages. Sometimes you want more gold generation. For me, I go for damages at early game and gold generation since middle game.
- Spend diamond to break your Artifact if you don’t like it. Artifacts are totally random, it worths spending the diamonds to generate a new one that works for your styles.
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
https://play.google.com/store/apps/details?id=com.polyclock&hl=en | |
https://play.google.com/store/apps/details?id=com.agiliq.timezone.core&hl=en |
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
// alias var b2Vec2 = Box2D.Common.Math.b2Vec2 , b2AABB = Box2D.Collision.b2AABB , b2BodyDef = Box2D.Dynamics.b2BodyDef , b2Body = Box2D.Dynamics.b2Body , b2FixtureDef = Box2D.Dynamics.b2FixtureDef , b2Fixture = Box2D.Dynamics.b2Fixture , b2World = Box2D.Dynamics.b2World , b2MassData = Box2D.Collision.Shapes.b2MassData , b2PolygonShape = Box2D.Collision.Shapes.b2PolygonShape , b2CircleShape = Box2D.Collision.Shapes.b2CircleShape , b2DebugDraw = Box2D.Dynamics.b2DebugDraw , b2MouseJointDef = Box2D.Dynamics.Joints.b2MouseJointDef , b2RevoluteJointDef = Box2D.Dynamics.Joints.b2RevoluteJointDef ; |
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
// copy from https://github.com/joshtynjala/EaselJS/blob/scalebitmaps/src/easeljs/display/ScaleBitmap.js | |
// in case that pull request is removed. | |
/* | |
* ScaleBitmap | |
* Visit http://createjs.com/ for documentation, updates and examples. | |
* | |
* Copyright (c) 2010 gskinner.com, inc. | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation |
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
<!doctype html> | |
<html> | |
<head> | |
<!-- Run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<!-- Make the status bar black with white text. --> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> |
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
# Orphans Fixer | |
all_paragraphs = document.querySelectorAll('p, h1, h2, h3, li') | |
window.p = all_paragraphs[0] | |
reg = /\s([^\s<]{0,10})\s*$/ | |
for p in all_paragraphs | |
p.innerHTML = p.innerHTML.replace reg, " $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
- (IBAction)shareAction:(id)sender { | |
NSString *title = [NSString stringWithFormat:@"I'm reading this great product: %@",self.titleLabel.text]; | |
NSURL *url = [NSURL URLWithString:@"http://example.com"]; | |
UIActivityViewController *actionController = [[UIActivityViewController alloc] initWithActivityItems:@[title, url] applicationActivities:nil]; | |
[self.navigationController presentViewController:actionController animated:YES completion:nil]; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="TODO List Example" /> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>TODO List</title> | |
<style id="jsbin-css"> | |
.templates { | |
display: none; |
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
let key = "<YOUR-KEY>" | |
let parameters = [ | |
"from": "<FROM-EMAIL>", | |
"to": "<TO-EMAIL>", | |
"subject": "<SUBJECT>", | |
"text": "<CONTENT>" | |
] | |
let r = Alamofirerequest(.POST, "https://api.mailgun.net/v3/<MAILGUN-DOMAIN>/messages", parameters:parameters) |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)$ public/$1 [L] | |
</IfModule> |