Skip to content

Instantly share code, notes, and snippets.

View chrmoritz's full-sized avatar

Christian Moritz chrmoritz

  • Berlin, Germany
View GitHub Profile
==> cargo install --locked --root /usr/local/Cellar/geckodriver/v0.26.0 --path .
Installing geckodriver v0.26.0 (/private/tmp/geckodriver-20191028-33664-4v1ucp/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver)
Updating git repository `https://github.com/CraneStation/Cranelift`
Updating git repository `https://github.com/hsivonen/packed_simd`
Updating git repository `https://github.com/froydnj/winapi-rs`
warning: Patch `coreaudio-sys v0.2.2 (/private/tmp/geckodriver-20191028-33664-4v1ucp/mozilla-central-e9783a644016aa9b317887076618425586730d73/third_party/rust/coreaudio-sys)` was not used in the crate graph.
Patch `cranelift-codegen v0.44.0 (https://github.com/CraneStation/Cranelift?rev=182414f15c18538dfebbe040469ec8001e93ecc5#182414f1)` was not used in the crate graph.
Patch `cranelift-wasm v0.44.0 (https://github.com/CraneStation/Cranelift?rev=182414f15c18538dfebbe040469ec8001e93ecc5#182414f1)` was not used in the crate graph.
Patch `libudev-sys v0.1.3 (/private/tmp/
diff --git a/configure b/configure
index 9259feb9..d1d7ff62 100755
--- a/configure
+++ b/configure
@@ -7,10 +7,10 @@
# pyenv will alert which shims are available and then will fail the build.
_=[ 'exec' '/bin/sh' '-c' '''
test ${TRAVIS} && exec python "$0" "$@" # workaround for pyenv on Travis CI
-which python2.7 >/dev/null && exec python2.7 "$0" "$@"
which python3.7 >/dev/null && exec python3.7 "$0" "$@"
require "language/node"
class NowCli < Formula
desc "The command-line interface for Now"
homepage "https://zeit.co/now"
url "https://registry.npmjs.org/now/-/now-16.1.1.tgz"
sha256 "caf5db829121c8518796abeda1c048127859badc086330c06c30ff8c5ed69e67"
depends_on "node"
@chrmoritz
chrmoritz / devtool_unpack_client.bat
Last active August 7, 2019 22:25
Trove extract client script (MIT licensed)
@echo off
if not exist "%~dp0\Trove.exe" (
echo. Error: Couldn't find Trove.exe
echo. Please but this .bat script inside your Trove folder and retry!
echo.&pause&goto:eof
)
echo. This script will extract all client files to the extracted folder.
echo. All current contents of the extracted folder will be overwritten.
echo. Please make backups of your modifications before continuing!
class Deno < Formula
desc "Command-line JavaScript / TypeScript engine"
homepage "https://deno.land/"
url "https://github.com/denoland/deno.git",
:tag => "v0.7.0",
:revision => "5265bd7cb1f86af99b01d73c537d52a50df95fe2"
bottle do
cellar :any_skip_relocation
sha256 "5e077eed0c3a9c6d8be45e8f6399f353b3bbb575e338d727fb5ca45a9e36adea" => :mojave
class Deno < Formula
desc "Command-line JavaScript / TypeScript engine"
homepage "https://deno.land/"
url "https://github.com/denoland/deno.git",
:tag => "v0.7.0",
:revision => "5265bd7cb1f86af99b01d73c537d52a50df95fe2"
bottle do
cellar :any_skip_relocation
sha256 "470aa4ad260593875fff68af034a574d447ddeeacb0a0f6ca5b99052c196cec0" => :mojave
require "language/node"
require "json"
class Babel < Formula
desc "Compiler for writing next generation JavaScript"
homepage "https://babeljs.io/"
url "https://registry.npmjs.org/@babel/core/-/core-7.4.5.tgz"
sha256 "23950a9e697f5efee8dae8e6d7855f0dd22885c40a5243df1c0fd5b0b522f0e6"
bottle do
@chrmoritz
chrmoritz / compiler.js.diff
Last active May 16, 2019 20:23
red = broken compiler.js (as build with the current homebrew formula) and green = compiler.js from a working build (outside homebrew)
diff --git a/compiler.js b/compiler.js
index dcf7f4c..459fbd2 100644
--- a/compiler.js
+++ b/compiler.js
@@ -227,11 +227,11 @@ var denoMain = (function () {
uptime: uptime
};
- var __filename = '/private/tmp/deno-20190514-62684-1rifxrj/node_modules/typescript/lib/typescript.js';
+ var __filename = '/private/tmp/deno/third_party/node_modules/typescript/lib/typescript.js';
This file has been truncated, but you can view the full file.
var denoMain = (function () {
'use strict';
var global$1 = (typeof global !== "undefined" ? global :
typeof self !== "undefined" ? self :
typeof window !== "undefined" ? window : {});
// shim for using process in browser
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
require "language/node"
class Joplin < Formula
desc "Note taking and to-do application with synchronisation capabilities"
homepage "https://joplin.cozic.net/"
url "https://registry.npmjs.org/joplin/-/joplin-1.0.124.tgz"
sha256 "6da64d5ff859d2e6648ebcdc4e99486461db4eba13d4827f0261ac4d5be8de35"
revision 1
bottle do