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
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
})
// 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
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”
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}"
@georgiee
georgiee / description.md
Created May 12, 2016 12:09
Timber vs. WP Meta SEO. No output. Conflicting ob_start buffers?
@georgiee
georgiee / __README_main-spotify-files-js-nov-2016.md
Last active November 2, 2016 17:10
Main Spotify JS sourcefiles [education, Nov 2016]

All files listed here were publicly accessible and are only formatted with the prettyify button in Google Developer Console.

@georgiee
georgiee / gist:0c028493710e80ba25597fcc9cbde009
Created May 10, 2017 16:13
ngx-translate load from object map, key/value
import { Observable } from 'rxjs/Observable';
const translations: any = {
'stage_headline' : 'hello'
};
class MappedDataLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {
return Observable.of(translations);
}
@georgiee
georgiee / basics.md
Last active March 28, 2018 07:36
Junior's web development cookbook

Some nice things you can start learning from day one.

Frameworks

Angular, React & Vue. That's your set of skill which makes you versatile. Angular is very famous in Germany. React in the rest of the world and you can benefit from React twice when you dive into ReactNative.

The official Tutorials for all three frameworks are great. Goal: Try them for all of them so you can talk about those frameworks.

@georgiee
georgiee / ng-packagr-errors.md
Last active March 29, 2018 11:14
ng-packagr

Checklist for some errors I had in ng-packagr.

  • You need Typescript 2.6 to use submodules otherwise you get module not found errors ng-packagr/ng-packagr#677

  • Always use ng serve --follow-symlinks when linked locally otherwise you get injection errors

  • Never rely on barrel files link directly or at least link directly to a barrel. Otherwise you will receive ERROR in : Unexpected value 'undefined' imported by the module [...] during the AOT building phase

@georgiee
georgiee / _rc5.md
Last active April 24, 2018 08:42
Angular Upgrade Log v6
npm install -g @angular/cli@next
npm install @angular/cli@next
ng update @angular/cli --from=1 --migrate-only
ng update @angular/core@next --force
ng update @angular/cdk@next

Now with rc5: