This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global chrome*/ | |
var EventEmitter = require('./events.js').EventEmitter; | |
var util = require('./util.js'); | |
function SerialPort(port, options) { | |
var self = this; | |
var id; | |
var bytesToRead = options.buffersize || 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dotenv = require('dotenv'); | |
dotenv.load(); | |
var Hapi = require('hapi'); | |
var _ = require('lodash'); | |
var jwt = require('jsonwebtoken'); | |
var Joi = require('joi'); | |
var PORT = process.env.PORT || 8001; | |
process.env.SHARED_SECRET = 'Change me in an env file'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
.run(function(DB) { | |
DB.init(); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ionic and ngCordova upload example |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\4.0] | |
"VCTargetsPath"="$(MSBuildExtensionsPath32)\\Microsoft.Cpp\\v4.0\\" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0] | |
"VCTargetsPath"="$(MSBuildExtensionsPath32)\\Microsoft.Cpp\\v4.0\\" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Conic gradients test | |
* PASS if green gradient, FAIL if red. | |
*/ | |
background: red; | |
background: conic-gradient(limegreen, green, limegreen); | |
min-height: 50%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CSS Secrets: Better Solutions to Everyday Web Design Problems. Lea Verou | |
*/ | |
function $$(selector, context) { | |
context = context || document; | |
var elements = context.querySelectorAll(selector); | |
return Array.prototype.slice.call(elements); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Based on Parse.FacebookUtils. A provider for use the modified openFB in Parse. | |
* @author Fernando Felix do Nascimento Junior* | |
**/ | |
(function(root) { | |
root.Parse = root.Parse || {}; | |
var Parse = root.Parse; | |
var _ = Parse._; | |
var PUBLIC_KEY = "*"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> | |
<!-- Allow web app to be run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" | |
content="yes"> | |
<!-- Make the app title different than the page title. --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://web.skype.com/en/") | |
{ | |
.swx.themeBlue, | |
.swx .themeBlue, | |
.swx .themeWhite.side .recent.active | |
{ | |
background-color: #cccccc !important; | |
fill: #00aff0 !important; | |
color: #ffffff !important; |