Skip to content

Instantly share code, notes, and snippets.

@ukmadlz
ukmadlz / datapalooze-history.md
Last active June 30, 2016 12:51
IBM Datapalooza UK Mashup - History
@ukmadlz
ukmadlz / keybase.md
Created August 10, 2016 22:58
keybase.md

Keybase proof

I hereby claim:

  • I am ukmadlz on github.
  • I am elsmore (https://keybase.io/elsmore) on keybase.
  • I have a public key whose fingerprint is 9609 8752 4A53 C49E 8810 D56B 4D1C 2B11 E05B E2C5

To claim this, I am signing this object:

@ukmadlz
ukmadlz / Hackathons.md
Created December 13, 2016 15:58 — forked from AverageMarcus/Hackathons.md
Upcoming hackathons I've found in the UK. Feel free to comment with more.
@ukmadlz
ukmadlz / reportble.sh
Last active January 23, 2017 13:41
BLE Scan
#!/bin/bash
DEVICEID=$(python -c 'open("/sys/class/net/eth0/address\").read()')
BLESCAN=$(~/ibeacon_scan);
curl -X POST -d $BLESCAN https://theinternet/parseble?deviceID=$DEVICEID
@ukmadlz
ukmadlz / ukmadlz.sh
Created March 4, 2017 01:15
ukmadlz npm module
npm install -g ukmadlz
ukmadlz
@ukmadlz
ukmadlz / basic-manifest.json
Last active May 10, 2017 17:10
Cloudinary PWA React Blog
{
"name": "Donate App",
"description": "This app helps you donate to worthy causes.",
"icons": [{
"src": "images/icon.png",
"sizes": "192x192"
}]
}
@ukmadlz
ukmadlz / index.js
Last active May 8, 2017 00:20
Clever Cloudinary React Internals
'use strict';
import React from 'react';
import { CloudinaryContext, Image, Transformation } from 'cloudinary-react';
class CleverCloudinaryReact extends React.Component {
constructor(props) {
super(props);
// states
@ukmadlz
ukmadlz / sw.js
Created May 8, 2017 00:35
Cloudinary PWA React Advanced Service Worker
(function () {
"use strict";
var cacheNameStatic = 'cloudinary-pwa-react-v2';
var currentCacheNames = [ cacheNameStatic ];
var cachedUrls = [
// 3rd party CDN
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css',
@ukmadlz
ukmadlz / complete-manifest.json
Created May 10, 2017 17:07
Cloudinary PWA React Blog
{
"name": "React Cloudinary Progressive Web App",
"short_name": "React PWA",
"description": "A React based web app to show how the tenets of Progressive Web Apps can improve your perceived performance.",
"icons": [
{
"src": "/images/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
@ukmadlz
ukmadlz / head-tags.html
Created May 10, 2017 17:08
Cloudinary PWA React Blog
<!-- Make this a PWA -->
<link rel="manifest" href="/manifest.webapp">
<!-- Display -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="COLOR">