Skip to content

Instantly share code, notes, and snippets.

View mikicho's full-sized avatar

Michael Solomon mikicho

View GitHub Profile
{
"results": {
"transcripts": [
"Uh, you can just call this number if I don't pick up and leave a voicemail and I'll get back to you. Okay. And that's the number. The 1166 number, you mean"
]
}
{
"results": {
"transcripts": [
"Uh, you can just call this number if I don't pick up and leave a voicemail and I'll get back to you. Okay. And that's the number. The 1166 number, you mean"
]
}
<html>
<head>
<title>reCAPTCHA demo - Invisible</title>
</head>
<body>
<header>
<h1>reCAPTCHA demo</h1><h2>Invisible</h2>
</header>
<p>Submit the form and reCAPTCHA will run automatically.</p>
<div style="width: 500px;">
@mikicho
mikicho / .vscode_settings.json
Created May 25, 2019 13:09
vshaxe --cwd problem
{
"haxe.configurations": [ ["--cwd", "src/server", "server.hxml"] ],
}
@mikicho
mikicho / Console.hx
Created September 12, 2018 21:47
ts2hx (https://github.com/Simn/ts2hx) test for nodejs extern creation
typedef ConsoleMessage = {
var source : String;
var level : String;
var text : String;
@:optional
var url : String;
@:optional
var line : Float;
@:optional
var column : Float;
@mikicho
mikicho / Console.hx
Created September 12, 2018 21:47
ts2hx (https://github.com/Simn/ts2hx) test for nodejs extern creation
typedef ConsoleMessage = {
var source : String;
var level : String;
var text : String;
@:optional
var url : String;
@:optional
var line : Float;
@:optional
var column : Float;
@mikicho
mikicho / Console.hx
Created September 12, 2018 21:47
ts2hx (https://github.com/Simn/ts2hx) test for nodejs extern creation
typedef ConsoleMessage = {
var source : String;
var level : String;
var text : String;
@:optional
var url : String;
@:optional
var line : Float;
@:optional
var column : Float;
@mikicho
mikicho / CheckMongoBoundries.md
Last active November 3, 2017 19:43
check mongo boundries

By doing the following aggregation quey:

db.pings.aggreagte(
{"$project": {month: {"$month": "$timestamp"}, machineName: 1, timestamp: 1}}, 
{"$match":{month: month}},
{"$sort":{"_id":1}},
{"$group":{_id:{machineName: "$machineName", day:{ "$dayOfMonth": "$timestamp"}}, first: {"$min":"$timestamp"}, last: {"$max":"$timestamp"}}}
);
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Users\\Michael\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.5.1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe',
1 verbose cli 'C:\\Users\\Michael\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.5.1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli 'babel-runtime',
1 verbose cli 'react',
1 verbose cli 'react-dom',
1 verbose cli 'accounting-js',
1 verbose cli 'lodash',
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Users\\Michael\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.5.1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe',
1 verbose cli 'C:\\Users\\Michael\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.5.1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@4.6.1
3 info using node@v4.8.4
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 silly install normalizeTree
7 silly install loadIdealTree