If your git process gets stuck during the gpg
signing phase, you can restart gpg
by running
gpgconf --kill gpg-agent
If your git process gets stuck during the gpg
signing phase, you can restart gpg
by running
gpgconf --kill gpg-agent
This code was something I quickly put together to archive over 5000 text messages in Google Messages. I have no idea if Google frowns on this or not, but it's basically the same as if a human sat there and archived all the messages by hand.
Tested and working as of Monday, November 4, 2019.
View
> Developer
> JavaScript Console
./* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Single and Double Click</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<div id="the_div"></div> | |
<span>Double click the block</span> |
function curlies(element) { | |
function smarten(text) { | |
return text | |
/* opening singles */ | |
.replace(/(^|[-\u2014\s(\["])'/g, "$1\u2018") | |
/* closing singles & apostrophes */ | |
.replace(/'/g, "\u2019") | |
/* opening doubles */ |
Creating a GIF from a series of images is a simple process with the right tools. This bash script simplifies the process using FFmpeg, a popular multimedia tool for handling multimedia data.
Here's how to use the script:
./create-gif.sh <path-to-images> [pattern] [output] [fps]
name: Publish Website to GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build-deploy: |
#Just pure awesomeness! | |
bind '"\e[A"':history-search-backward | |
bind '"\e[B"':history-search-forward | |
bind Space:magic-space | |
# Misc ------------------------------------------------------------- | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups:erasedups |
.-----------------------------------------------------------------------. | |
| | | |
| Screen VT100/ANSI Terminal Emulator | | |
| Default Keyboard Shortcut | | |
| Cheat Sheet | | |
| | | |
'-----------------------------------------------------------------------' | |
| Peteris Krumins (peter@catonmat.net), 2007.09.21 | | |
| http://www.catonmat.net - good coders code, great reuse | | |
'-----------------------------------------------------------------------' |