Skip to content

Instantly share code, notes, and snippets.

Avatar

Saverio Miroddi 64kramsystem

View GitHub Profile
View cargo_asm_out
~/code/benchmarking-lesson(master)$ for fx in mq_1 mq_2 mq_3 c_1 c_2 c_3; do echo; cargo asm --rust playground::$fx; done
pub fn mq_1() -> f32 {
push rax
T::gen_range(low, high) (/home/saverio/.cargo/registry/src/github.com-1ecc6299db9ec823/quad-rand-0.2.1/src/lib.rs:104)
xor edi, edi
mov esi, 2
call qword, ptr, [rip, +, _ZN46_$LT$u32$u20$as$u20$quad_rand..RandomRange$GT$9gen_range17h968310cefd11fee0E@GOTPCREL]
xor ecx, ecx
test eax, eax
@64kramsystem
64kramsystem / sublime_text.desktop
Created Oct 12, 2020
Default Sublime Text 3 Desktop file
View sublime_text.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
@64kramsystem
64kramsystem / pg_hba.conf
Created Feb 15, 2018
PostgreSQL 10 default pg_hba.conf
View pg_hba.conf
# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the "Client Authentication" section in the PostgreSQL
# documentation for a complete description of this file. A short
# synopsis follows.
#
# This file controls: which hosts are allowed to connect, how clients
# are authenticated, which PostgreSQL user names they can use, which
# databases they can access. Records take one of these forms:
@64kramsystem
64kramsystem / postgresql.conf
Created Feb 15, 2018
PostgreSQL 10 default postgresql.conf
View postgresql.conf
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
# name = value
#
# (The "=" is optional.) Whitespace may be used. Comments are introduced with
# "#" anywhere on a line. The complete list of parameter names and allowed