Skip to content

Instantly share code, notes, and snippets.

For hire

Chris paxperscientiam

For hire
Block or report user

Report or block paxperscientiam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mlocati /
Created Jan 23, 2019
Check if a go-pear.phar file is an official one
# This script checks if a go-pear.phar is the same as one of the
# ones released on
# MIT License
# Made by Michele Locati <> on 2019-01-23
set -o errexit
set -o nounset
package hello;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
set -e
# Ubuntu Developer Script For pdf2htmlEx
# Created by Rajeev Kannav Sharma
# Downloads and configures the following:
nadavrot /
Last active Feb 20, 2020
Efficient matrix multiplication

High-Performance Matrix Multiplication

This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).


Matrix multiplication is a mathematical operation that defines the product of

dobesv /
Created May 18, 2018
Script to create (1) a local certificate authority, (2) a host certificate signed by that authority for the hostname of your choice
#!/usr/bin/env bash
# Creates a CA cert and then generates an SSL certificate signed by that CA for the
# given hostname.
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root
# authorities in your browser / client system.
fanyang89 / fuse.ts
Created Apr 29, 2018
Example fuse-box config with code splitting
View fuse.ts
import * as autoprefixer from "autoprefixer";
import * as express from "express";
import {
gricard /
Last active Feb 5, 2020
Just some notes about my attempt to upgrade to webpack 4

If you enjoyed reading this, I'm intending to do more blogging like this over here:

This is not a complaint about Webpack or v4 in any way. This is just a record of my process trying it out so I could provide feedback to the webpack team

Hmm... I don't see any docs for 4.0 on I guess I'll just wing it. All I need to do is npm i -D webpack@next, right?

+ webpack@4.0.0-beta.2
View test-ts-enum-api
Run with `npm run exec`, will install all dependencies as needed.
schlos / Google Spreadsheet GeoCode.js
Created Dec 10, 2017 — forked from timwburch/Google Spreadsheet GeoCode.js
Simple Google Script to GeoCode from address in cell
View Google Spreadsheet GeoCode.js
function getGeocodingRegion() {
return PropertiesService.getDocumentProperties().getProperty('GEOCODING_REGION') || 'au';
function addressToPosition() {
// Select a cell with an address and two blank spaces after it
var sheet = SpreadsheetApp.getActiveSheet();
var cells = sheet.getActiveRange();
var addressColumn = 1;
felipeochoa / pp-debug.el
Last active Feb 9, 2020
Pretty print emacs debug frames
View pp-debug.el
;;; pp-debug.el --- Pretty-printing debugger -*- lexical-binding: t -*-
;; Copyright (C) 2018 Felipe Ochoa
;; Author: Felipe Ochoa
;; Created: 5 Dec 2017
;; License: GPLv3
;;; Commentary:
;;; Pretty-print debugger frames.
You can’t perform that action at this time.