Skip to content

Instantly share code, notes, and snippets.

View fmeyer's full-sized avatar
👨‍💻
Grinding

Fernando Meyer fmeyer

👨‍💻
Grinding
View GitHub Profile
@fmeyer
fmeyer / gist:7c5f05eb90d1a367d18018fecb2b5275
Created June 19, 2020 07:03
Test sanitizer race condition
##### ../misc/cgo/testsanitizers
--- FAIL: TestShared (0.03s)
--- FAIL: TestShared/tsan_shared (2.19s)
cshared_test.go:71: `/tmp/TestShared464897178/tsan_shared` exited with exit status 66
==================
WARNING: ThreadSanitizer: data race (pid=146300)
Write of size 8 at 0x7fc3bfc95c10 by thread T1:
#0 pthread_attr_getstacksize <null> (tsan_shared+0x00000041d5c2)
#1 x_cgo_init <null> (libtsan_shared.so+0x000000098a15)
<center>
{{ if .IsNamedParams }}
{{- $site := .Get "site" -}}
{{- $name := .Get "name" -}}
{{- $domains := split $site "," -}}
{{- $domains := apply $domains "printf" "site:%s" "." -}}
{{- $domains := delimit $domains " || " -}}
{{- $domains := printf " ( %s )" $domains -}}
@fmeyer
fmeyer / content.md
Created May 7, 2020 20:51
Gist from Drafts

Werfqwerqwe

/**
MACROS
macros.h
Purpose: A collection of commonly used Useful C macros.
@author Shubham Ramdeo
@version 0.2
Released under MIT LICENSE (see LICENSE.txt)
*/

Keybase proof

I hereby claim:

  • I am fmeyer on github.
  • I am fmeyer (https://keybase.io/fmeyer) on keybase.
  • I have a public key ASACZeH6C6IwHYvOSvYXk71kOPmjafmtEmGpzf7NvrvatQo

To claim this, I am signing this object:

@fmeyer
fmeyer / cryto01.py
Last active January 22, 2019 17:14
# from cryptography
# key = None
# iv = None
#
# cipher = None
# encryptor = None
# ciphertext = None
# decryptor = None
# plaintext = None