Skip to content

Instantly share code, notes, and snippets.

View georgiee's full-sized avatar
👻
Ghosting github.com since a while

Georgios Kaleadis georgiee

👻
Ghosting github.com since a while
View GitHub Profile
==> ./artist <==
#export_dateartist_idnameis_actual_artistview_urlartist_type_id
#primaryKey:artist_id
#dbTypes:BIGINTINTEGERVARCHAR(1000)BOOLEANVARCHAR(1000)INTEGER
#exportMode:FULL
##legal: IMPORTANT: The Apple Enterprise Partner Feed and data incorporated therein ("EPF")
==> ./artist_application <==
#export_dateartist_idapplication_id
#primaryKey:artist_idapplication_id
Piwik Code:
________________________________
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
@georgiee
georgiee / gist:7758583691d33a2c1af1
Created May 2, 2014 22:00
EntityContactListener
class PinballGame.Core.CollideableEntity
constructor: (entity, shape)->
@entity = entity
if shape instanceof Array
@shapes = shape
else
@shapes = [shape]
getCollisionShapes: -> @shapes
getEntity: -> @entity
@georgiee
georgiee / gist:11368709
Created April 28, 2014 11:15
Polyfill Uint32Array (for Phaser 2.0.3+)
//Modified
//Source: http://www.html5gamedevs.com/topic/5988-phaser-12-ie9/
//Cameron Foale (http://www.kibibu.com)
(function(global, undefined) {
/**
* Low-budget Float32Array knock-off, suitable for use with P2.js
*/
if(typeof global.Uint32Array !== "function")
@georgiee
georgiee / gist:9210520
Created February 25, 2014 15:02
Emitter body quickfix 2.0 phaser.js
diff --git a/src/particles/arcade/Emitter.js b/src/particles/arcade/Emitter.js
index e31e59e..7f430ad 100644
--- a/src/particles/arcade/Emitter.js
+++ b/src/particles/arcade/Emitter.js
@@ -286,17 +286,7 @@ Phaser.Particles.Arcade.Emitter.prototype.makeParticles = function (keys, frames
// particle = new this.particleClass(this.game);
// }
- if (collide)
- {
//https://stackoverflow.com/questions/1855211/how-to-store-several-states-in-one-variable
//http://graphics.stanford.edu/~seander/bithacks.html
OtherGameStates = {}
OtherGameStates.GAME_PAUSED = 1 //'0001'
OtherGameStates.USER_PAUSED = 2 //'0010'
SoundStates = {}
SoundStates.USER_MUTED = 4 //'0100'
SoundStates.GAME_MUTED = 8 //'1000'
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_XP/IE8.XP.For.MacVirtualBox.ova"
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_Win7/IE8.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar,6.rar}"
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win7/IE10.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE11_Win7/IE11.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}"
How-To: Create Custom Share Buttons For All The Popular Social Services
JUNE 16TH, 2010 | HOW-TO | 72 COMMENTS
For those of you that follow me, you are probably already know that I recently redesigned my post footer. For those that don’t know a post footer is the area just below this post with the “Share It!” and “Related Post” sections. I took it on myself to create a completely custom footer area with share links to many of the popular social services available today. I like my blog to be different from the other gazillion out there, so I choose to minimize my plugin use and create custom solutions.
Most of the popular social service out there offer pre-made javascript buttons that allow you share your pages or articles on their service. While this does make it easy, there is one problem with using their code generating methods; you are stuck with their styles and icons. I wanted to use a custom style with a different set of icons. To accomplish this, I had to take advantage of the services various “URL”
// http://compass-style.org/reference/compass/helpers/sprites/
@mixin get-sprite($map, $sprite, $repeat: no-repeat, $height: true, $width: true)
//http://compass-style.org/reference/compass/helpers/sprites/#sprite-file
$sprite-image: sprite-file($map, $sprite)
// http://compass-style.org/reference/compass/helpers/sprites/#sprite-url
$sprite-map: sprite-url($map)
// http://compass-style.org/reference/compass/helpers/sprites/#sprite-position
@georgiee
georgiee / wtfpl
Created December 15, 2012 10:54
http://sam.zoy.org/wtfpl/ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE wtfpl
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE