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
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
https://developers.google.com/mobile/articles/fast_buttons?hl=de
//straight forwards solution to attach both listeners
$(element).bind("touchstart click",function(e){
e.preventDefault()// touchstatr will prevent click but also scroll. Read Link for a better solution
})
@georgiee
georgiee / static_heroku_sinatra
Created December 12, 2012 14:08
Static page on heroku based on sinatra
#Gemfile
source :rubygems
gem 'rack'
gem 'sinatra'
#config.ru
require './app'
run Sinatra::Application
#app.rb
@georgiee
georgiee / gist:4185862
Created December 1, 2012 23:21
mailing stuff
http://mailtrap.io
@georgiee
georgiee / subtree_heroku
Created August 28, 2012 20:32
push git subfolder to heroku
brew install git-subtree
git subtree push --prefox web staging master
#where "web" is subfolder of git project and contains the rails app
#another way would be using config.ru without subtree push but then you would always push your whole project and not only "web" or whatever folder
Scope:
How to create a local project which should be use in another local project- as a library
.
+ Make it a local linked package, install it in your other project, enable the library option in webpack, builed it manually or with the watch option.
1. Use npm link to symlink your local module A into module B. So all your changes in module A are reflected immediately in module B
See here: https://docs.npmjs.com/cli/link
2. Make sure that your source module (A) is wrapped correctly by webpack so you can require it like any other library.
Use this: https://github.com/webpack/webpack/tree/master/examples/multi-part-library
==> ./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() {