## Create a new config/initialisation file
Create a user-level initialisation file init.el
:
touch .emacs.d/init.el
<!doctype html> | |
<html><head><script src="app.js"></script></head><body></body></html> |
// keybindings for VSCode and vim. Enables system clip board, classic cut, paste, copy, find, and select-all hotkeys. | |
{ | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.handleKeys": { | |
"<C-a>": false, | |
"<C-f>": false, | |
"<C-c>": false, | |
"<C-v>": false, | |
"<C-x>": false |
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008 | |
Compiled by Eric Pement - eric [at] pement.org version 0.27 | |
Latest version of this file (in English) is usually at: | |
http://www.pement.org/awk/awk1line.txt | |
This file will also be available in other languages: | |
Chinese - http://ximix.org/translation/awk1line_zh-CN.txt | |
USAGE: |
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
[ | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.focusSecondEditorGroup" | |
}, | |
{ |
Bing image scraper example using Python to query and scrape Microsoft Bing image search. |
A JSON file of GitHub's emojicodes and emoji. Unlike other projects, | |
this one includes the actual emoji and does not alter GitHub's list. | |
Also included is a JSON file formatted for use with the Auto Text | |
Expander extension for Google Chrome, with text to be expanded based | |
on GitHub's ":EMOJICODE:". | |
See README.md for details. | |
/** | |
* get_history.js | |
* | |
* Script to extract browsing history metadata from Google Chrome and, where | |
* possible, associate it with a device when syncing is enabled. | |
* | |
* Usage: | |
* 1. Open Google Chrome | |
* 2. Navigate to the history page | |
* 3. Open the developer tools (Ctrl+Shift+i) |
The syntax of sed command replacement is: | |
$ sed 's/find/replace/' file | |
This sed command finds the pattern and replaces with another pattern. When the replace is left empty, the pattern/element found gets deleted. | |
Let us consider a sample file as below: | |
$ cat file | |
Linux |