Skip to content

Instantly share code, notes, and snippets.

@Edenharder
Edenharder / buildkernel.jl
Created January 16, 2022 18:51 — forked from terasakisatoshi/buildkernel.jl
Improving first call latency of Plots.jl on Jupyter Notebook using PackageCompiler.jl
using PackageCompiler
using IJulia
precompile_statements_file=[
joinpath(expanduser("~/.julia"), "ijuliacompile.jl")
]
sysimage_path=joinpath(
expanduser("~/.julia"),
@Edenharder
Edenharder / Manjaro.md
Created November 18, 2020 02:50
Installing Manjaro

Installing Manjaro (alone, no dual-booting)

Using the Manjaro Architect


  • Login and do setup.
  • Select the language.
  • Select Prepare Installation.
  • Select Set Virtual Console.
  • Select the appropriate keymap.
/* global api */
class ende_Cambridge {
constructor(options) {
this.options = options;
this.maxexample = 2;
this.word = '';
}
async displayName() {
let locale = await api.locale();
@Edenharder
Edenharder / deen_Collins.js
Created September 15, 2018 07:07
translation from German to English
/* global api */
class fren_Collins {
constructor(options) {
this.options = options;
this.maxexample = 2;
this.word = '';
}
async displayName() {
let locale = await api.locale();
@Edenharder
Edenharder / # mpv - 2017-08-23_16-00-37.txt
Created August 23, 2017 14:01
mpv on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for mpv on macOS 10.11.6
Build date: 2017-08-23 16:00:37
@Edenharder
Edenharder / # mpv - 2017-08-23_15-46-51.txt
Created August 23, 2017 13:51
mpv on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for mpv on macOS 10.11.6
Build date: 2017-08-23 15:46:51
// ==UserScript==
// @name MathJax Trello
// @description Apply Mathjax to Trello
// @include https://trello.com/*
// @grant none
// ==/UserScript==
// INSTALL: https://gist.githubusercontent.com/ViktorQvarfordt/c3f89c3cf50e3dc60b23257294af5710/raw/trello-mathjax.user.js
if (window.MathJax === undefined) {
@Edenharder
Edenharder / filename.applescript
Created January 16, 2017 17:38 — forked from lg0/filename.applescript
applescript:get selected filename and extension
tell application "Finder" to set theFile to POSIX path of (selection as alias)
tell application "Finder" to set fileExtension to name extension of (selection as alias)
@Edenharder
Edenharder / define.py
Created January 14, 2017 08:17 — forked from lambdamusic/define.py
Access osx dictionary in python
#!/usr/bin/env python
"""
Modified from
http://macscripter.net/viewtopic.php?id=26675
http://apple.stackexchange.com/questions/90040/look-up-a-word-in-dictionary-app-in-terminal
HowTo
@Edenharder
Edenharder / 0_reuse_code.js
Last active September 15, 2015 03:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console