I hereby claim:
- I am bsatrom on github.
- I am bsatrom (https://keybase.io/bsatrom) on keybase.
- I have a public key ASDI02GdW9ZXkuQdvIzH5IdSLjo_PLMz8aarJ_mRPPPM0Qo
To claim this, I am signing this object:
exports = module.exports | |
exports.setup = (callback) -> | |
write = process.stdout.write | |
process.stdout.write = ((stub) -> | |
(string, encoding, fd) -> | |
stub.apply process.stdout, arguments | |
callback string, encoding, fd)(process.stdout.write) | |
using System; | |
using System.ComponentModel; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Workflow.ComponentModel; | |
using System.Workflow.ComponentModel.Design; | |
namespace MyCompany.Workflow.Messaging.Activities | |
{ |
I hereby claim:
To claim this, I am signing this object:
// Automatically mirror the onboard RGB LED (Photon, Electron) to an external RGB LED | |
// LEDMirror.cpp | |
// Class set-up | |
class LEDMirror { | |
public: | |
LEDMirror(pin_t r, pin_t g, pin_t b) : pin_r(r), pin_g(g), pin_b(b) { | |
pinMode(pin_r, OUTPUT); | |
pinMode(pin_g, OUTPUT); | |
pinMode(pin_b, OUTPUT); |
const Dotenv = require('dotenv') | |
const Winston = require('winston') | |
const Mongo = require('mongodb').MongoClient | |
var XervoHost | |
Dotenv.config() | |
const createURI = (port, user, password) => { | |
if (!user || !password) { | |
return `mongodb://localhost:${port}` |
<?xml version="1.0"?> | |
<configuration> | |
<appSettings> | |
<add key="webpages:Version" value="1.0.0.0"/> | |
<add key="ClientValidationEnabled" value="true"/> | |
<add key="UnobtrusiveJavaScriptEnabled" value="true"/> | |
</appSettings> | |
<system.webServer> | |
<validation validateIntegratedModeConfiguration="false"/> |
$('#add').bind('click', function() { | |
var amt, intakeRecord, grid, gauge; | |
amt = parseInt($('#dailyIntake').val()) || 0; | |
intakeRecord = { date: getDate(), amount: amt } | |
intakeData.add(intakeRecord); | |
gauge = $("#srirachaGauge").data("kendoGauge"); | |
gauge.value(avgIntake()); | |
}); |
So if you're looking to improve your craft as a JavaScript programmer, try CoffeeScript. And if you're of the firm opinion that CoffeeScript has no place for you because it doesn't generate JavaScript as well as you can, don't use it for your production code. But do use it. Try some things out, and inspect the result. It probably won't make you grow a neckbeard and switch to Python. Probably.
public class FluentHtml5ViewPage<T> : ModelViewPage<T> where T : class | |
{ | |
public FluentHtml5ViewPage() | |
: base(new RegularExpressionBehavior(), new RangeBehavior(), new RequiredBehavior()){} | |
} |