Skip to content

Instantly share code, notes, and snippets.

View leobalter's full-sized avatar
💭
status

Leo Balter leobalter

💭
status
View GitHub Profile

The following is a template for a day of notes.


July 26 2016 Meeting Notes

Alice Smith (AS), Bob McCoy (BMC), Carol Waters (CW)

Introduction

$ test262-harness --hostType="node" test/built-ins/RegExp/*.js
fs.js:951
return binding.readdir(pathModule._makeLong(path), options.encoding);
^
Error: ENOTDIR: not a directory, scandir 'test/built-ins/RegExp/15.10.2.15-6-1.js'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at findTest262Root (/usr/local/lib/node_modules/test262-harness/lib/findTest262.js:32:23)
at findTest262Dir (/usr/local/lib/node_modules/test262-harness/lib/findTest262.js:21:15)
# https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
- name: install Google's depot tools to fetch and sync v8
git:
repo=https://chromium.googlesource.com/chromium/tools/depot_tools.git
dest=/srv/depot_tools
- name: fetch v8
git:
repo=https://chromium.googlesource.com/v8/v8.git
@leobalter
leobalter / git-gpg.md
Created June 16, 2016 16:33 — forked from bcomnes/git-gpg.md
my version of gpg on the mac
  1. brew install gnupg21, pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
    

Bananas

There is 5 kinds of Bananas produced in Brazil.

Banana nanica / Super mini banana

The most popular in Brazil. It has a thin shell of yellow-green color, sweet and soft pulp and pleasant aroma. Also known as banana moorhen, ratty banana, plantain-china, banana dwarf or banana-crybaby.

Qual o resultado para:
// 1:
{}+{} // ?
// 2:
({}+{}) // ?
RelationalExpression:RelationalExpression>=ShiftExpression
Let lref be the result of evaluating RelationalExpression.
Let lval be ? GetValue(lref).
Let rref be the result of evaluating ShiftExpression.
Let rval be ? GetValue(rref).
Let r be the result of performing Abstract Relational Comparison lval < rval.
ReturnIfAbrupt(r).
If r is true or undefined, return false. Otherwise, return true.
@leobalter
leobalter / post-merge
Created March 15, 2016 18:44 — forked from sindresorhus/post-merge
git hook to run a command after `git pull` if a specified file was changed. In this example it's used to run `npm install` if package.json changed and `bower install` if `bower.json` changed. Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
#/usr/bin/env bash
# MIT © Sindre Sorhus - sindresorhus.com
# git hook to run a command after `git pull` if a specified file was changed
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
check_run() {
echo "$changed_files" | grep --quiet "$1" && eval "$2"
#!/usr/bin/env bash
RUNNER=tools/packaging/test262.py
LOCAL_CHAKRA="C:\Users\leona\dev\ChakraCore\Build\VcBuild\bin\x64_test\ch.exe"
function help() {
cat <<HELP
Usage: run-tests.sh [RUNTIME]
Execute the "new" Test262 tests (any files in the current branch but not in
master). In the absense of a specific RUNTIME, the locally-built version of V8
Verifying that +leobalter is my blockchain ID. https://onename.com/leobalter