Some notes, tools, and techniques for reverse engineering Golang binaries.
[data-container=nav] { | |
display: none !important; | |
} | |
footer { | |
display: none !important; | |
} | |
#main-content .container-xl { | |
max-width: unset; |
This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.
You need to know:
- It ignores secure notes, credit cards and other types that are not passwords.
- It ignores BitWarden entries without usernames, passwords and URLs.
- It also ignores URLs that do not start with
http://
orhttps://
. - It normalizes all TOTP tokens, e.g.
wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2
will be converted tootpauth://totp/example.com:[email protected]?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30
.
let | |
kime = import ./pkgs/kime.nix; | |
gtk3_cache = pkgs.runCommand "gtk3-immodule.cache" | |
{ preferLocalBuild = true; | |
allowSubstitutes = false; | |
buildInputs = [ pkgs.gtk3 kime ]; | |
} | |
'' | |
mkdir -p $out/etc/gtk-3.0/ | |
GTK_PATH=${kime}/lib/gtk-3.0/ gtk-query-immodules-3.0 > $out/etc/gtk-3.0/immodules.cache |
#include <algorithm> | |
#include <type_traits> | |
template <int... Ints> | |
struct Row { | |
constexpr static bool empty = (sizeof...(Ints) == 0); | |
}; | |
template <typename Upper, typename Lower> | |
struct Domino { |
#![feature(asm, panic_implementation)] | |
#![no_std] | |
#![no_main] | |
///! With nightly compiler, run: | |
///! ```sh | |
///! rustc -O -C panic=abort -Z pre-link-arg=-nostartfiles no-std.rs | |
///! ``` | |
#[panic_implementation] | |
#[no_mangle] |
% Original: https://git.io/vQwmS | |
% convert -delay 4 -loop 0 -density 400 -alpha remove joi-style-mag.pdf joi-style-mag.gif | |
% !TeX program = lualatex | |
\RequirePackage{luatex85} | |
\documentclass[multi=my]{standalone} | |
\usepackage{tikz} | |
\usepackage{luacode} | |
\usepackage{graphicx} | |
\definecolor{joired}{RGB}{218,11,49} | |
\definecolor{joigreen}{RGB}{18,136,104} |
What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.
In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.
Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th
// ==UserScript== | |
// @name Twitter Cramming | |
// @description Force enable cramming (280 character tweets) on Twitter | |
// @author Prof. 9 | |
// @version 0.2 | |
// @match https://twitter.com/* | |
// @run-at document-idle | |
// @namespace prof9.twittercramming | |
// ==/UserScript== |