Skip to content

Instantly share code, notes, and snippets.

View bright-spark's full-sized avatar
♥️
Tinkering with stuff!

Myburgh bright-spark

♥️
Tinkering with stuff!
View GitHub Profile
@bright-spark
bright-spark / Gruntfile.js
Created October 11, 2015 02:28 — forked from konsumer/Gruntfile.js
desktop (node-webkit) & mobile (cordova) static app
'use strict';
module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');
grunt.initConfig({
'pkg': pkg,
'connect': {
@bright-spark
bright-spark / index.html
Last active May 21, 2016 10:44
stainless framework : flexi-flux
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>minimal flux</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no”>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->

Ionic Ion: Tinder Cards ('-' * 23) An Ion (reusable Ionic widget) for adding tinder-style swipe cards to your app.

A Pen by Ionic on CodePen.

License.

@chrismdp
chrismdp / s3.sh
Last active August 4, 2025 07:29
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1
@bright-spark
bright-spark / Videogular---Creating-an-Audio-Player.markdown
Created March 9, 2015 19:07
Videogular - Creating an Audio Player
@3v1n0
3v1n0 / gpControl.json
Last active November 2, 2020 22:05
GoPro Hero4 Remote tools
{
"version":2.0,
"display_hints":[
{
"key":"GPCAMERA_GROUP_VIDEO",
"display_name":"Video Settings",
"settings":[
{
"setting_id":5,
"widget_type":"select",
@palaniraja
palaniraja / cordova.m
Created January 23, 2015 13:43
Ionic / Cordova webview external links - Add the method in your MainViewController.m file.
- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
NSURL *url = [request URL];
// Intercept the external http requests and forward to Safari.app
// Otherwise forward to the PhoneGap WebView
if ([[url scheme] isEqualToString:@"http"] || [[url scheme] isEqualToString:@"https"]) {
[[UIApplication sharedApplication] openURL:url]; return NO;
}
else {
return [ super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType ];
/*!
* Copyright 2013 Drifty Co.
* http://drifty.com/
*
* Ionic, v0.9.17
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* By @maxlynch, @helloimben, @adamdbradley <3
*