v: characterShift+v: whole lineCtrl+v: cursor, multiple lines
h,j,k,lf{c}: move toccharacter (useful for characters which would otherwise mess with/regex search:.,,,;,:, etc.)
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua & Deps | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='Wacom ISDv4 E6 Finger touch' | |
| TouchpadDevice='SynPS/2 Synaptics TouchPad' |
| <div class="content clearfix"> | |
| <div>Comments :3</div> | |
| <div class="media media--farnet"> | |
| <div class="media-body"> | |
| <div class="field field-name-field-ne-body field-type-text-with-summary field-label-hidden"> | |
| <div class="field-items"> | |
| <div class="field-item even"> | |
| <p>Body from Discussion in IT support</p> | |
| </div> | |
| </div> |
| <?php | |
| /** | |
| * Form Class | |
| * | |
| * Responsible for building forms | |
| * | |
| * @param array $elements renderable array containing form elements | |
| * | |
| * @return void |
| [ | |
| { | |
| "id": "get-result", | |
| "routes": ["get-result:get-result-actual"] | |
| } | |
| ] |
| .noselect { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| -khtml-user-select: none; | |
| -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } |
| #!/usr/bin/env node | |
| 'use strict'; | |
| var https = require('https'); | |
| var cheerio = require('cheerio'); | |
| var base = 'https://www.packtpub.com/' | |
| var freeEbookURL = base + 'packt/offers/free-learning'; |
| import Instagram from 'instagram-web-api'; | |
| (async () => { | |
| const username = process.env.IG_USERNAME; | |
| const password = process.env.IG_PASSWORD; | |
| const client = new Instagram({ username, password }); | |
| await client.login(); | |
| const photos = await client.getPhotosByUsername({ username, first: 50 }); | |
| photos.user.edge_owner_to_timeline_media.edges.map(async edge => { |
| const nest = (items, parent = 0) => { | |
| const nested = []; | |
| Object.values(items).forEach(item => { | |
| // parent can be a string or a number | |
| /* eslint-disable-next-line eqeqeq */ | |
| if (item.parent == parent) { | |
| const children = nest(items, item.id); | |
| if (children.length) { |