Skip to content

Instantly share code, notes, and snippets.

View rossng's full-sized avatar

Ross Gardiner rossng

View GitHub Profile
@rossng
rossng / log.txt
Created May 23, 2021 15:30
Snowpack verbose log
[17:25:06] [snowpack] run command: build
[17:25:06] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-react-refresh/plugin.js
[17:25:06] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-dotenv/plugin.js
[17:25:06] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-typescript/plugin.js
[17:25:06] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-webpack/plugin.js
[17:25:06] [snowpack] config loaded: {
root: '/Users/ross/Projects/clowdr/frontend',
plugins: [
{
name: '@snowpack/plugin-react-refresh',
@rossng
rossng / log.txt
Created May 23, 2021 15:29
Snowpack error log
This file has been truncated, but you can view the full file.
[17:29:10] [snowpack] run command: build
[17:29:10] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-react-refresh/plugin.js
[17:29:10] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-dotenv/plugin.js
[17:29:10] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-typescript/plugin.js
[17:29:11] [snowpack] loaded plugin: /Users/ross/Projects/clowdr/frontend/node_modules/@snowpack/plugin-webpack/plugin.js
[17:29:11] [snowpack] config loaded: {
root: '/Users/ross/Projects/clowdr/frontend',
plugins: [
{
name: '@snowpack/plugin-react-refresh',
@rossng
rossng / vimeo-openapi.json
Created January 1, 2021 02:31
Vimeo OpenAPI specification
{"openapi":"3.0.2","info":{"title":"Vimeo API","description":"Build something great. Vimeo's API supports flexible, high-quality video integration with your custom apps.","version":"3.4","contact":{"url":"https://developer.vimeo.com/help"}},"tags":[{"name":"API Information\\Essentials","description":"These are the most common methods for retrieving information about the Vimeo API."},{"name":"Authentication Extras\\Authenticate","description":"Use these methods to perform authentication."},{"name":"Authentication Extras\\Convert","description":"Use these methods to convert authentication resources."},{"name":"Authentication Extras\\Essentials","description":"These are the most common methods for working with authentication."},{"name":"Authentication Extras\\Exchange","description":"Use these methods to exchange authentication resources."},{"name":"Categories\\Channels","description":"Use these methods to work with channels in a category."},{"name":"Categories\\Essentials","description":"These are the most comm
@rossng
rossng / fc.idr
Last active December 3, 2017 00:06
interface Layer (layer : Vect ir Nat -> Vect or Nat -> Type) where
runLayer : Tensor ir i Double
-> layer i o
-> Tensor or o Double
data FullyConnected : (ir : Nat) -> (or : Nat) -> Vect ir Nat -> Vect or Nat -> Type where
MkFullyConnected : (ir = 1)
-> (or = 1)
-> (biases : Tensor 1 o Double)
-> (weights : Tensor 2 ((head o) :: i) Double)
0xd3C838A2Ffc1324943B385BB5edc6BA64667b80C

Keybase proof

I hereby claim:

  • I am rossng on github.
  • I am rossng (https://keybase.io/rossng) on keybase.
  • I have a public key whose fingerprint is 8145 54AC 43B1 F6D5 AB1D 1DF8 0440 2DE2 AF28 DE4D

To claim this, I am signing this object:

@rossng
rossng / ParasomNO.user.js
Created February 25, 2016 21:27
ParasomNO
// ==UserScript==
// @name ParasomNO
// @namespace parasomno
// @include https://www.amazon.co.uk/gp/buy/spc/handlers/display.html*
// @version 1
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js
// ==/UserScript==
function getRandomInt(min, max) {
@rossng
rossng / streaming_linear.xc
Last active November 12, 2015 20:00
A set of worker processes, connected in a chain, communicating over streaming channels.
#include <stdio.h>
#include <xs1.h>
#include <platform.h>
#include <timer.h>
interface cell_to_printer {
void print_cell(int cell_number, int round);
};
interface cell_to_export_controller {
__author__ = 'ross'
import random
repeats = 10000
intervals_per_repeat = 1000
packet_types = [128,256]
input_links = ['a','b']
def get_packet_size(input_link): # return a packet in the form ('a', 256)