This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
rm -rf testproj | |
mkdir -p testproj | |
# Default Conda | |
R_HOME="*" julia --project=testproj -e "using Pkg; Pkg.develop(path=\"$RCALL_PATH\"); Pkg.build(\"RCall\")" | |
julia --project=testproj -e 'using Pkg; Pkg.add(["CondaPkg", "Libdl", "PreferenceTools"])' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "testproj" | |
version = "0.1.0" | |
description = "" | |
authors = ["Frankie Robertson <[email protected]>"] | |
[tool.poetry.dependencies] | |
python = "^3.8" | |
"backports.csv" = "1.0.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linode-cli domains records-list $DOMAINID --json | jq -r '.[] | select(.type="A") | "\(if .name == "" then "@" else .name end)\tIN\t\(.type)\t\(if .type == "MX" then "\(.priority)\t" else "" end)\(.target)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Comlink from "https://unpkg.com/comlink/dist/esm/comlink.mjs"; | |
Comlink.transferHandlers.set("WORKERSQLPROXIES", { | |
canHandle: obj => false, | |
serialize(obj) { | |
const { port1, port2 } = new MessageChannel(); | |
Comlink.expose(obj, port1); | |
return [port2, [port2]]; | |
}, | |
deserialize: (port) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing wns/als/wn-data-als.tab | |
Processing wns/arb/wn-data-arb.tab | |
Processing wns/bul/wn-data-bul.tab | |
Processing wns/cow/wn-data-cmn.tab | |
Unknown offset in wns/cow/wn-data-cmn.tab: | |
15178842-n cmn:lemma 回历 | |
Should it be 15178841 (moved by 1)? | |
Unknown offset in wns/cow/wn-data-cmn.tab: | |
15171858-n cmn:lemma 存取时间 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import click | |
from os.path import join as pjoin | |
POS_MAP = { | |
'a': 'adj', | |
'r': 'adv', | |
'n': 'noun', | |
'v': 'verb', | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Asteroids = | |
An Asteroids clone created by porting Asteroids.hs (:link:) | |
This is not a faithful clone. The only way to control the ship is to shoot | |
by clicking somewhere on the play field. This will move the ship due to | |
kickback. | |
The program starts with a chapter to set up the global state and draw | |
the initial canvas followed by a the main game chapter and finishing with | |
a game over screen chapter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherits_browser.js:6 Uncaught TypeError: Object prototype may only be an Object or null: undefinedinherits_browser.js:6 inherits_stream_readable.js:16 (anonymous function)_stream_readable.js:609 (anonymous function)_stream_readable.js:611 (anonymous function)system.src.js:2256 doEvalsystem.src.js:2222 __evalsystem.src.js:335 asystem.src.js:1160 $__global.upgradeSystemLoader.e.instantiate.cjs.n.metadata.format.n.metadata.executesystem.src.js:667 fsystem.src.js:636 csystem.src.js:671 (anonymous function)readable.js:3 (anonymous function)readable.js:11 (anonymous function)system.src.js:2256 doEvalsystem.src.js:2222 __evalsystem.src.js:335 asystem.src.js:1160 $__global.upgradeSystemLoader.e.instantiate.cjs.n.metadata.format.n.metadata.executesystem.src.js:667 fsystem.src.js:636 csystem.src.js:671 (anonymous function)index.js:6 (anonymous function)index.js:75 (anonymous function)system.src.js:2256 doEvalsystem.src.js:2222 __evalsystem.src.js:335 asystem.src.js:1160 $__global.upgradeSystemLoader.e.instantiate.cjs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (!preg_match('|^/_|', $_SERVER['REQUEST_URI'])): ?> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script> | |
<script> | |
"use strict"; | |
var last_url, next_url; | |
var app = angular.module('app', []). | |
config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) { | |
$routeProvider.when('/:url', { | |
templateUrl: function(url) { |