Skip to content

Instantly share code, notes, and snippets.

View abusedmedia's full-sized avatar

Fabio Franchino abusedmedia

View GitHub Profile
Open Chrome Canary without security mode:
Doc: https://bugs.chromium.org/p/chromium/issues/detail?id=575690
open -a "/Applications/Google Chrome Canary.app" --args --disable-web-security --user-data-dir=$HOME/Downloads
ars.adobe.io
lm.licenses.adobe.com
www.adobe.com
ans.oobesaas.adobe.com
ffc.adobe.io
ims-na1.adobelogin.com
na1e-acc.services.adobe.com
scss-prod-ew1-notif-9.adobesc.com
scss-prod-ew1.adobesc.com
polka.typekit.com
var svg_path = "ui.svg"
Proto.placeSVG(svg_path, init)
function init(){
//$('body').removeClass('mobileready')
Proto.coach('#wait', proceed)
@abusedmedia
abusedmedia / BB6CCC139D42C8B.jpg
Last active March 10, 2016 11:48
Scoll list component with clip and momentum
BB6CCC139D42C8B.jpg
@abusedmedia
abusedmedia / README.md
Last active March 10, 2016 10:51
Simple mask

Simple mask

Simple demonstration of the Proto.clip method

More info about the bundle here

@abusedmedia
abusedmedia / README.md
Last active March 10, 2016 10:31
Custom slider with text feedback

Custom slider with text feedback

More info about the bundle here

@abusedmedia
abusedmedia / README.md
Last active February 11, 2016 15:14
Pull to say Yai!

Pull to say Yai!

This shows the technique for a common 'pull to refresh' component drawn with Illustrator with the help of Impetus to handle momentum and rubber-band.

Test with your mobile device by clicking here

@abusedmedia
abusedmedia / metatag.html
Created February 11, 2016 06:57
Mobile metatag
<meta name="viewport" content='width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0' />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="myapp">
<meta name="application-name" content="myapp">
@abusedmedia
abusedmedia / README.md
Last active February 11, 2016 09:07
Horizontal slider with Impetus

Horizontal slider with Impetus

This shows the technique to incorporate a common slider within a svg component using the wonderful library Impetus to handle momentum and rubber-band.

This example use a piece of code to create runtime the neccessary element to clip a content properly. The same thing can be set (avoiding the code) within Illustrator but at the cost of some issues and manual edits and other quirks outlined below.

Tweaks in Illustrator

To animate the masked content properly we need to tweak a little bit the svg since Illustrator export the svg without a proper structure.

@abusedmedia
abusedmedia / README.md
Last active February 10, 2016 11:16
Header menu selector

Header menu selector

Behaviors with d3.js, assets and document structure with svg generated from Illustrator/Sketch.

Test with your mobile device by clicking here