This file contains 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
[arduinisk] | |
exten => s,1,NoOp | |
exten => s,2,Set(regx="([a-zA-Z0-9]+)") | |
exten => s,3,Set(CCIDNAME=$["${CALLERIDNAME}": ${regx}]) | |
exten => s,4,Set(regx="([0-9]+)") | |
exten => s,5,Set(CCIDNUM=$["${CALLERIDNUM}": ${regx}]) | |
exten => s,6,ComunicaSerial("${DATETIME}, ${CCIDNAME},${CCIDNUM}") |
This file contains 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
[arduinisk] | |
exten => s,1,NoOp | |
exten => s,2,Set(regx="([a-zA-Z0-9]+)") | |
exten => s,3,Set(CCIDNAME=$["${CALLERIDNAME}": ${regx}]) | |
exten => s,4,Set(regx="([0-9]+)") | |
exten => s,5,Set(CCIDNUM=$["${CALLERIDNUM}": ${regx}]) | |
exten => s,6,ComunicaSerial("${DATETIME}, ${CCIDNAME},${CCIDNUM}") |
This file contains 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
// Vibration meter | |
// v1.0, June 2014 | |
// GrMis - RCGROUPS | |
// Mais Informações visite: http://forum.arduino.cc/index.php?topic=225776.0 ou https://www.rcgroups.com/forums/showthread.php?2197784-DIY-vibration-meter-for-propeller-or-motor-balancing-%28etc-%29-Arduino-MMA7361 | |
#include <Wire.h> | |
#include <LCD.h> | |
#include <LiquidCrystal_I2C.h> // F Malpartida's NewLiquidCrystal library | |
#define I2C_ADDR 0x20 // I2C for PCF8574A inside the MJKDZ |
This file contains 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
Show hidden characters
{ | |
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"], | |
"linterOptions": { | |
"exclude": ["node_modules/**/*.ts"] | |
}, | |
"rules": { | |
"interface-over-type-literal": false, | |
"jsx-boolean-value": [true, "never"], | |
"jsx-no-lambda": false, | |
"no-console": false, |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am carlosdelfino on github. | |
* I am carlosdelfino (https://keybase.io/carlosdelfino) on keybase. | |
* I have a public key whose fingerprint is 4504 30C3 504C AF58 ABB4 4238 153A 1E26 C8DB A2D4 | |
To claim this, I am signing this object: |
This file contains 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
const BaseManager = require('./base-manager'); | |
const Config = require('../models/config'); | |
let count = 0; | |
function checkProp(key) { | |
return typeof key === 'symbol' || | |
(typeof key === 'object' && Object.prototype.toString.call(key) === '[object Symbol]') || ['model', 'isNew', 'errors'].indexOf(key.toString()) > -1 || | |
!isNaN(key) || | |
/^\$/.test(key) || |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 db = mongoose.connect('mongodb://localhost:27017/DB'); | |
// In middleware | |
app.use(function (req, res, next) { | |
// action after response | |
var afterResponse = function() { | |
logger.info({req: req}, "End request"); | |
// any other clean ups |
This file contains 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
import PropTypes from 'prop-types'; | |
import React, { Component } from 'react'; | |
import classNames from 'classnames'; | |
import { mergeAndSortChildren } from '../utils/others'; | |
import 'video-react/dist/video-react.css'; | |
import "../styles/display-video-overlay.css" | |
const propTypes = { |
This file contains 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
class Point { | |
value: number; | |
idx: number; | |
} |