Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
I used pycrypto in my projects before but since the project is no longer under active development it is highly recommended to move to cryptography.
I faced some difficulty during this migration so I am documenting my solution to help others.
This is how my pycrypto code to get pem encoded key looked like
from Crypto.IO import PKCS8
from Crypto.IO import PEM
def key_stuff(key_file=None):
(To be improved)
http
command) — pip install httpie
git-branch-protection.sh
as git-branch-protection
somewhere in your path (something like ~/bin
or ~/.local/bin
if you already use it)~/.config/github_token
.// Remove all drafts from your drafts view | |
// Navigate to drafts | |
// F12 to raise dev console | |
// Paste the below | |
(async function(x) { | |
for (let e = document.querySelector('[type="trash"]'); e != null; e = document.querySelector('[type="trash"]')) { | |
e.click(); | |
await new Promise(resolve => setTimeout(resolve, 500)) | |
document.querySelector('[data-qa="drafts_page_draft_delete_confirm"]').click(); | |
await new Promise(resolve => setTimeout(resolve, 1500)) |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>litra-auto-on</string> | |
<key>ProgramArguments</key> | |
<array><string>/Library/LaunchDaemons/litra-auto-on.sh</string></array> | |
<key>RunAtLoad</key> | |
<true/> |