Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Hacking

Dominique dpo

💭
Hacking
View GitHub Profile
View build_tarballs.jl
using BinaryBuilder
name = "Bogus"
version = v"0.0.1"
sources = [ # download anything, it doesn't matter
ArchiveSource("https://github.com/JuliaPackaging/BinaryBuilder.jl/archive/v0.2.4.tar.gz",
"46de5242addad8825beac7b7ef254a9b4eb5f1b70a54f6f438b182d9a57f9f07"),
]
View README.md
@dpo
dpo / # protobuf - 2020-04-20_20-06-02.txt
Created Apr 21, 2020
protobuf on 3.10.0-1062.18.1.el7.x86_64 - Homebrew build logs
View # protobuf - 2020-04-20_20-06-02.txt
Homebrew build logs for protobuf on 3.10.0-1062.18.1.el7.x86_64
Build date: 2020-04-20 20:06:02
View 02.make
2020-04-16 16:35:39 -0400
make
/usr/bin/make all-recursive
make[1]: Entering directory `/tmp/pkg-config-20200416-29408-1fd8juh/pkg-config-0.29.2'
Making all in glib
make[2]: Entering directory `/tmp/pkg-config-20200416-29408-1fd8juh/pkg-config-0.29.2/glib'
/usr/bin/make all-recursive
make[3]: Entering directory `/tmp/pkg-config-20200416-29408-1fd8juh/pkg-config-0.29.2/glib'
View build_Ipopt.v3.13.1.jl
using BinaryProvider # requires BinaryProvider 0.3.0 or later
# Parse some basic command-line arguments
const verbose = "--verbose" in ARGS
const prefix = Prefix(get([a for a in ARGS if a != "--verbose"], 1, joinpath(@__DIR__, "usr")))
products = [
LibraryProduct(prefix, ["libipopt"], :libipopt),
ExecutableProduct(prefix, "ipopt", :amplexe),
]
View testqn.jl
enable_autocomplete_brackets(false) # do this if using OhMyRepl and Tmux
using Pkg
Pkg.activate("dev-jso-solvers")
Pkg.develop(PackageSpec(url="../LinearOperators.jl"))
Pkg.develop(PackageSpec(url="../NLPModels.jl"))
Pkg.develop(PackageSpec(url="../NLPModelsJuMP.jl"))
Pkg.develop(PackageSpec(url="../SolverTools.jl"))
# Pkg.develop(PackageSpec(url="../OptimizationProblems.jl"))
View fix_f77.jl
const global syms = ["caxpy", "cbdsqr", "ccopy", "cdotc", "cdotu", "cgbtrf",
"cgemm", "cgemv", "cgerc", "cgeru", "cgetrf", "cgetrs",
"chemm", "chemv", "cher", "cher2", "cher2k", "cherk",
"chetrd", "clacgv", "clacpy", "cladiv", "clanhs",
"clarfg", "clartg", "claset", "clasr", "classq", "claswp",
"cpbtrf", "cpotrf", "cpttrf", "crot", "cscal", "csscal",
"cswap", "csymm", "csyr2k", "csyrk", "ctbtrs", "ctrmm",
"ctrmv", "ctrsm", "ctrsv", "ctrtrs", "dasum", "daxpy",
"dbdsqr", "dcopy", "ddot", "dgbtrf", "dgemm", "dgemv",
"dger", "dgetrf", "dgetrs", "disnan", "dlabad", "dlacpy",
View example.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View .tmux.conf
set -g prefix Home
unbind C-b
bind-key Home send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# tmux-resurrect and tmux-continuum to save the state across system restarts
# prefix-Ctrl-s to save the state
View vd
#!/bin/bash
# To be called by Skim for linkback.
# Server name can be 100 chars max in length.
#server=$2
#(( ${#server} > 100 )) && server=${server:0:100}
# Debug: send args to console.
syslog -s -l error "file $2 line $1"
#/usr/local/bin/vim --servername "$server" --remote-send ":buffer$2<CR>:$1<CR><CR>"