I hereby claim:
- I am betacar on github.
- I am betacar (https://keybase.io/betacar) on keybase.
- I have a public key ASDzsG0GgvjrU1LKiEDdpVDZyi_KDJBQ3seYAM1Rmrfy1Qo
To claim this, I am signing this object:
| { | |
| "in_process_packages": [], | |
| "installed_packages": [ | |
| "Alignment", | |
| "Better CoffeeScript", | |
| "Better RSpec", | |
| "CoffeeCompile", | |
| "Emmet", | |
| "GitGutter", | |
| "HTML Mustache", |
| <snippet> | |
| <content><![CDATA[ | |
| console.log '######################################################################' | |
| console.log '$1', $2 | |
| console.log '######################################################################' | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>console</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>source.coffee</scope> |
| const fs = require('fs'); | |
| const regex = /(\.|\/)(gif|jpe?g|png|txt)$/i; | |
| const dir = './'; | |
| const encoding = 'base64'; | |
| fs.readdir(dir, (err, files) => { | |
| if (err) return err; | |
| files.forEach((file) => { | |
| // Skip current file |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>String concatenation vs. interpolation</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>Date.now() vs. +new Date()</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| require 'benchmark' | |
| Benchmark.bm do |bm| | |
| def binary_search arr, target | |
| med = (arr.length / 2).to_i | |
| return false if med == 1 | |
| val = arr[med] | |
| return true if val == target |
| 'use strict'; | |
| import Vue from 'vue'; | |
| import Feathers from 'feathers/client'; | |
| import VueFeathers from 'vue-feathers'; | |
| import hooks from 'feathers-hooks'; | |
| import authentication from 'feathers-authentication/client'; | |
| // import rest from 'feathers-rest/client'; | |
| import rx from 'feathers-reactive'; | |
| import RxJS from 'rxjs'; |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>Arra#includes vs. Set#has #jsbench #jsperf</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |