Skip to content

Instantly share code, notes, and snippets.

Avatar

Tyler Akins fidian

View GitHub Profile
@fidian
fidian / gist:e19abe283c278adc1397d6fb9a35bc2e
Created Apr 10, 2018
SmartThings Node Red X10 Bridge Flow
View gist:e19abe283c278adc1397d6fb9a35bc2e
[
{
"id": "a206e388.d25c7",
"type": "tab",
"label": "Smartthings X10 Connector",
"disabled": false,
"info": ""
},
{
"id": "8f319222.e6859",
@fidian
fidian / check-angular-module-dependencies.js
Last active Feb 24, 2017
Are you getting a totally unhelpful message from Angular saying it has a problem loading a module?
View check-angular-module-dependencies.js
/**
* There's times that Angular reports errors similar to this one:
*
* Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.6.2/$injector/modulerr?p0=...
*
* The link doesn't explain the module tree that's being loaded nor really
* where the problem resides. :-(
*
* So I have had a bugger of a time figuring out what dependency fails and
* exactly how that module is required. This function will do that search
@fidian
fidian / check-angular-module-dependencies.js
Created Feb 24, 2017
Are you getting a totally unhelpful message from Angular saying it has a problem loading a module?
View check-angular-module-dependencies.js
/**
* So I have had a bugger of a time figuring out what dependency fails and
* exactly how that module is required. This function will do that search
* for you. Simply open up the browser's console, copy and paste in the function,
* then call it with the name of the module you expect to run.
*
* Sample:
*
* checkAngularModuleDependencies("app")
*
View keybase.md

Keybase proof

I hereby claim:

  • I am fidian on github.
  • I am fidian (https://keybase.io/fidian) on keybase.
  • I have a public key whose fingerprint is 1640 90D5 B955 1478 BE7F 2558 8F3B 8C43 2F43 93BD

To claim this, I am signing this object:

@fidian
fidian / gist:fd00815c54a98183aad7
Created Mar 19, 2015
Output of vlc for mkvtoolnix issue 1146
View gist:fd00815c54a98183aad7
core debug: adding item `out.mkv' ( file:///home/fidian/out.mkv )
core debug: processing request item: out.mkv, node: null, skip: 0
core debug: Creating an input for 'out.mkv'
core debug: rebuilding array of current - root Playlist
core debug: rebuild done - 1 items, index 0
core debug: starting playback of the new playlist item
core debug: resyncing on out.mkv
core debug: out.mkv is at 0
core debug: creating new input thread
core debug: Creating an input for 'out.mkv'
@fidian
fidian / gist:4714897
Created Feb 5, 2013
Uniform issue #280
View gist:4714897
<html><head><title>Test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<link rel="stylesheet" href="https://raw.github.com/pixelmatrix/uniform/master/themes/default/css/uniform.default.css" media="screen">
<script src="https://raw.github.com/pixelmatrix/uniform/master/jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
$('input, select').uniform();
});
</script>
View gist:4539674
<html><head><title>Test</title>
<!-- jQuery 1.8.x -- using whatever is newest -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<!-- Using the latest Uniform from the develop branch -->
<link rel="stylesheet" href="https://raw.github.com/pixelmatrix/uniform/develop/themes/default/css/uniform.default.css" media="screen">
<script src="https://raw.github.com/pixelmatrix/uniform/develop/jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
21$('input, select').uniform();
@fidian
fidian / gist:4539248
Created Jan 15, 2013
Uniform issue #251
View gist:4539248
<html><head><title>Test</title>
<!-- jQuery 1.8.x -- using whatever is newest -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<link rel="stylesheet" href="themes/default/css/uniform.default.css" media="screen">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script src="jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
@fidian
fidian / gist:4488742
Created Jan 8, 2013
Sample page for uniform issue #256
View gist:4488742
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="themes/default/css/uniform.default.css" type="text/css" media="screen">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="jquery.uniform.js"></script>
</head>
<body>
<a href="#" onclick="alert('link click'); return false;">
<img src="http://mxk.ru/style-admin/images/buttons/save16.png">
@fidian
fidian / gist:4488717
Created Jan 8, 2013
Test for uniform issue #267
View gist:4488717
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="themes/default/css/uniform.default.css" type="text/css" media="screen">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="jquery.uniform.js"></script>
</head>
<body>
<form method=post action="#" onsubmit="return false">
<button>I am a button</button>
You can’t perform that action at this time.