md failed
dddddd
intent
md failed
dddddd
intent
| // ==UserScript== | |
| // @name jQuery For Chrome (A Cross Browser Example) | |
| // @namespace jQueryForChromeExample | |
| // @include * | |
| // @author Erik Vergobbi Vold | |
| // @description This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome. | |
| // ==/UserScript== | |
| // a function that loads jQuery and calls a callback function when jQuery has finished loading | |
| function addJQuery(callback) { |
| -------------------------------------------- | |
| Version: 1.45.1 | |
| Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a | |
| Date: 2020-05-14T08:33:47.663Z | |
| Electron: 7.2.4 | |
| Chrome: 78.0.3904.130 | |
| Node.js: 12.8.1 | |
| V8: 7.8.279.23-electron.0 | |
| OS: Darwin x64 18.5.0 | |
| ------------------------------------------- |
| #!/bin/bash | |
| # Locate the history file in your profile, and copy it to the same folder as this script. | |
| # On Mac: ~/Library/Application\ Support/Google/Chrome/Default/History | |
| # On Windows: C:\Users\YOUR USER NAME\AppData\Local\Google\Chrome\User Data\Default\History | |
| sqlite3 History <<! | |
| .headers on | |
| .mode csv | |
| .output out.csv |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
| # Sources used in figuring this out: | |
| # | |
| # - https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm | |
| # - https://emscripten.org/docs/compiling/Building-Projects.html#building-projects | |
| # Set up Emscripten SDK | |
| git clone https://github.com/emscripten-core/emsdk.git | |
| cd emsdk/ | |
| ./emsdk install latest | |
| ./emsdk activate latest |
| import sys,os | |
| import curses | |
| def draw_menu(stdscr): | |
| k = 0 | |
| cursor_x = 0 | |
| cursor_y = 0 | |
| # Clear and refresh the screen for a blank canvas | |
| stdscr.clear() |
| #!/usr/bin/env bash | |
| # Generate an ED25519 key and display the public key | |
| ssh-keygen -o -a 100 -t ed25519 | |
| cat ~/.ssh/id_ed25519.pub | |
| read -p 'You should add your public key to GitHub now. Press any key to continue...' | |
| read -p 'Now you will generate a GPG key. Please use RSA/RSA with a keysize of 4096 bits. Press any key to continue...' | |
| gpg --default-new-key-algo rsa4096 --gen-key |