Skip to content

Instantly share code, notes, and snippets.

View koriner's full-sized avatar

Shane Korin koriner

View GitHub Profile
@koriner
koriner / distriqt.extension.forcetouch.init-basic.as
Last active November 16, 2015 23:58
Example code for using the distriqt ForceTouch ANE
/**
DISTRIQT ForceTouch Extension - Example code for initialisation and events
**/
public function initExtension():void
{
if (ForceTouch.isSupported)
{
Core.init( APP_KEY );
ForceTouch.init( APP_KEY );
@koriner
koriner / distriqt.extension.forcetouch.app-shortcuts.as
Created November 17, 2015 00:03
Example code for using Application shortcuts with the ForceTouch ANE
/**
DISTRIQT ForceTouch Extension - Example code for using app shortcuts
**/
public function initExtension():void
{
if (ForceTouch.isSupported)
{
Core.init( APP_KEY );
ForceTouch.init( APP_KEY );
@koriner
koriner / webpack.production.config.js
Created December 16, 2015 23:19
example webpack prod config
'use strict';
var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var StatsPlugin = require('stats-webpack-plugin');
module.exports = {
entry: [
@koriner
koriner / breakpoints.css
Created February 8, 2016 20:41
CSS modules + breakpoint values
/*
Breakpoints
*/
@value small: (max-width: 599px);
@value medium: (min-width: 600px) and (max-width: 959px);
@value large: (min-width: 960px);
@koriner
koriner / TestFacebookAPI-app.xml
Created July 31, 2016 21:51
FacebookAPI application descriptor example
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/22.0">
<id>com.distriqt.test</id>
<filename>TestFacebookAPI</filename>
<name>TestFacebookAPI</name>
<versionNumber>0.0.0</versionNumber>
<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<autoOrients>false</autoOrients>