Skip to content

Instantly share code, notes, and snippets.

View msell's full-sized avatar

Matt Sell msell

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Jigsaw puzzle</title>
<script type="text/javascript">
function save(filename, data)
{
var blob = new Blob([data], {type: "text/csv"});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msell
msell / twittermute.txt
Created January 24, 2020 22:18 — forked from IanColdwater/twittermute.txt
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@msell
msell / NotficationActionTypes.js
Created July 12, 2017 16:40 — forked from jerairrest/NotficationActionTypes.js
React-toastr Redux Implementation
export const RECEIVE_MESSAGE = 'RECEIVE_MESSAGE';
@msell
msell / jwt-example.go
Created July 3, 2017 02:37
JsonWebTokens Example with generated key.
/* rewritten example of JsonWebToken example
* from https://gist.github.com/thealexcons/4ecc09d50e6b9b3ff4e2408e910beb22
* Keys are generated and packed to PEM-format at server start
* Plus some fixes and refactors
*
* My respect to thealexcons
*/
package main
import (
@msell
msell / bb8-hub.js
Created March 13, 2017 03:40 — forked from mobyjames/bb8-hub.js
BB-8 Internet of Things Hub
var sphero = require('sphero-pwn'),
exec = require('exec'),
macros = require('sphero-pwn-macros'),
keypress = require("keypress");
var orb = null,
id = 'ble://##:##:##:##:##:##';
var awsIot = require('aws-iot-device-sdk');
@msell
msell / rxjs-firebase-demo.js
Created January 2, 2017 04:38 — forked from deltaepsilon/rxjs-firebase-demo.js
Demo RxJs integration with Firebase
var Rx = require('rxjs');
var firebase = require('firebase');
firebase.initializeApp({
"databaseURL": "https://quiver-two.firebaseio.com",
"serviceAccount": "./service-account.json"
});
var ref = firebase.database().ref('rxjs-demo');
Rx.Observable.fromPromise(ref.remove())
.map(function () {
@msell
msell / index.html
Created September 30, 2016 01:52 — forked from anonymous/index.html
Weather Monitoring in RxJS RxJS // source http://jsbin.com/veheje
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="RxJS">
<meta charset="UTF-8">
<title>Weather Monitoring in RxJS</title>
<style>
#form {
margin-bottom: 20px;
}
@msell
msell / introrx.md
Created August 23, 2016 17:55 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten