Skip to content

Instantly share code, notes, and snippets.

View daviehh's full-sized avatar
✍️

daviehh daviehh

✍️
View GitHub Profile
Linux localhost.localdomain 5.0.16-300.fc30.x86_64 #1 SMP Tue May 14 19:33:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
PATH="/home/vagrant/.local/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/julia/usr/tools" /home/vagrant/julia/contrib/fixup-libgfortran.sh --verbose /home/vagrant/julia/usr/lib
Discovered traces of libgfortran within .
Got SONAMES of
CC src/codegen.o
In file included from /home/vagrant/julia/usr/include/llvm/CodeGen/TargetSubtargetInfo.h:22,
from /home/vagrant/julia/src/codegen.cpp:36:
/home/vagrant/julia/usr/include/llvm/CodeGen/SchedulerRegistry.h: In constructor ‘llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)’:
/home/vagrant/julia/usr/include/llvm/CodeGen/SchedulerRegistry.h:40:52: warning: cast between incompatible function types from ‘llvm::RegisterScheduler::FunctionPassCtor’ {aka ‘llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)’
@daviehh
daviehh / lima-agnoster.zsh-theme
Created September 15, 2019 13:44 — forked from brunodles/lima-agnoster.zsh-theme
A simple change on agnoster theme. This will add the time of the last command on the right size.
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@daviehh
daviehh / fedora-nspawn.markdown
Created September 27, 2019 23:07 — forked from jdnavarro/fedora-nspawn.markdown
Bootstrap systemd-nspawn Fedora container from an Arch Linux host

Install yum from AUR

$ yaourt -Sy yum

Add bootstrap repos to /etc/yum.d/boot.repo

[fedora]
name=fedora
baseurl=https://archives.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/
enabled=1
@daviehh
daviehh / log
Created October 15, 2019 22:19
julia 1.2.0 macOS build
> git checkout v1.2.0 -B release-1.2 05:55:14 PM
Switched to a new branch 'release-1.2'
05:55:20 PM
> make 05:55:26 PM
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 2218 0 --:--:-- --:--:-- --:--:-- 2218
100 2005k 100 2005k 0 0 2340k 0 --:--:-- --:--:-- --:--:-- 2340k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
@daviehh
daviehh / using exa -T
Last active November 18, 2019 19:28
library path diff
/Users/david/code/julia_mkl/julia/julia-1.3.0-rc5/lib
├── julia
│ ├── libamd.2.4.6.dylib
│ ├── libamd.2.dylib -> libamd.2.4.6.dylib
│ ├── libamd.dylib -> libamd.2.4.6.dylib
│ ├── libcamd.2.4.6.dylib
│ ├── libcamd.2.dylib -> libcamd.2.4.6.dylib
│ ├── libcamd.dylib -> libcamd.2.4.6.dylib
│ ├── libccalltest.dylib
│ ├── libccolamd.2.9.6.dylib
[ Info: 1st call
10-element Array{Float64,1}:
0.2972879845354616
0.3823959677906078
-0.5976344767282311
-0.01044524463737564
-0.839026854388764
0.31111133849833383
2.2950878238373105
-2.2670863488005306
@daviehh
daviehh / profile_sa.jl
Created June 4, 2020 21:04
profile stat. array
using StaticArrays
using Profile
using Juno
function g!(r,a,b,c,d)
@. r = a + 5 * b + 3 * c - d
end
@daviehh
daviehh / .bashrc
Created June 16, 2020 20:51 — forked from kevinoid/.bashrc
GnuPG pinentry script for terminal or graphical interface based on $PINENTRY_USER_DATA.
# ~/.bashrc: executed by bash(1) for non-login shells.
# If file exists (likely) copy fragment below into existing script:
# If stdin is a terminal
if [ -t 0 ]; then
# Set GPG_TTY so gpg-agent knows where to prompt. See gpg-agent(1)
export GPG_TTY="$(tty)"
# Set PINENTRY_USER_DATA so pinentry-auto knows to present a text UI.
export PINENTRY_USER_DATA=USE_TTY=1
@daviehh
daviehh / mp3-chapters.md
Created June 30, 2021 16:54 — forked from Bios-Marcel/mp3-chapters.md
Exporting Audacity labels to ID3v2+ chapter marks
@daviehh
daviehh / regex-japanese.txt
Created July 16, 2021 23:53 — forked from terrancesnyder/regex-japanese.txt
Regex for Japanese
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna!
([一-龯])
Regex for matching Hirgana or Katakana
([ぁ-んァ-ン])
Regex for matching Non-Hirgana or Non-Katakana
([^ぁ-んァ-ン])
Regex for matching Hirgana or Katakana or basic punctuation (、。’)