Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
Graphic via State of Florida CFO Vendor Payment Search (flair.myfloridacfo.com)
This is a quick command I use to snapshot webpages that have a fun image I want to keep for my own collection of WTFViz. Why not just right-click and save the image? Oftentimes, the webpage in which the image is embedded contains necessary context, such as captions and links to important documentation just incase you forget what exactly that fun graphic was trying to explain.
#include <unistd.h> | |
#include <errno.h> | |
main( int argc, char ** argv, char ** envp ) | |
{ | |
if( setgid(getegid()) ) perror( "setgid" ); | |
if( setuid(geteuid()) ) perror( "setuid" ); | |
envp = 0; /* blocks IFS attack on non-bash shells */ | |
system( "/path/to/bash/script", argv, envp ); | |
perror( argv[0] ); |
ssh-keygen -t ed25519 -C "[email protected]" | |
firefox https://github.com/settings/keys |
# Add this function to your ~/.bashrc | |
# Calculates SHA384 integrity attribute given a URL | |
function integrity { | |
echo sha384-`curl -s $1 | openssl dgst -sha384 -binary | openssl base64 -A` | |
} | |
# Documentation | |
# |
/* | |
After purchasing a humble book bundle, go to your download page for that bundle. | |
Open a console window for the page and paste in the below javascript | |
*/ | |
$('a').each(function(i){ | |
link_text = $.trim($(this).text()); | |
if ( link_text == 'MOBI' || link_text == 'EPUB' || link_text == 'PDF' ) { | |
$('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">'); | |
document.getElementById('dl_iframe_'+i).src = $(this).data('web'); | |
} |