One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Key Function Description | |
--- -------- ----------- | |
Enter AcceptLine Accept the input or move to the next line if input is missing a c... | |
Shift+Enter AddLine Move the cursor to the next line without attempting to execute th... | |
Ctrl+Enter InsertLineAbove Inserts a new empty line above the current line without attemptin... | |
Ctrl+Shift+Enter InsertLineBelow Inserts a new empty line below the current line without attemptin... | |
Escape RevertLine Equivalent to undo all edits (clears the line except lines import... | |
LeftArrow BackwardChar Move the cursor back one character | |
RightArrow ForwardChar Move the cursor forward one character |
""" | |
This is the product of me spending a few minutes trying to | |
assess how much of my LastPass vault is potentially vulnerable | |
to the recent CloudFlare issue. | |
It's hacky, and probably broken in some way, but it's a start. | |
Gist comments with improvements very welcome. | |
""" |
git checkout master; git branch -D @(git branch | select-string -NotMatch "master" | Foreach {$_.Line.Trim()}) |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
// ==UserScript== | |
// @name MVP Gratidao | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description add #gratidao to all messages on whatsapp web | |
// @author You | |
// @match https://web.whatsapp.com/ | |
// @grant none | |
// ==/UserScript== |
static void Main(string[] args) | |
{ | |
var input = new int[]{4, 5, 2, 3, 4, 1}; | |
var memory = new Dictionary<int, int>(); | |
var results = new List<(int idx1, int idx2)>(); | |
for (var i = 0; i < input.Length; i++) | |
{ | |
if (memory.ContainsKey(input[i])) | |
results.Add((memory[input[i]], i)); |
function GetUrl() { | |
param( | |
[string]$orgUrl, | |
[hashtable]$header, | |
[string]$AreaId | |
) | |
# Build the URL for calling the org-level Resource Areas REST API for the RM APIs | |
$orgResourceAreasUrl = [string]::Format("{0}/_apis/resourceAreas/{1}?api-preview=5.0-preview.1", $orgUrl, $AreaId) |
{ | |
"defaultProfile": "{79285a8e-036c-446f-8a9c-78994e34bf85}", | |
"initialRows": 30, | |
"initialCols": 120, | |
"alwaysShowTabs": true, | |
"showTerminalTitleInTitlebar": true, | |
"showTabsInTitlebar": true, | |
"requestedTheme": "dark", | |
"profiles": [ | |
{ |
#requires -module msterminalsettings,threadjob | |
###QUICKSTART | |
#FIRST: Run this in your Powershell Windows Terminal: Install-Module threadjob,msterminalsettings -scope currentuser | |
#THEN: iex (iwr git.io/invoketerminalgif) | |
#THEN: Get-Help Search-Giphy -Examples | |
#THEN: Get-Help Invoke-TerminalGif -Examples | |
#THEN: Search-Giphy | Format-List -prop * | |
#THEN: Invoke-TerminalGif https://media.giphy.com/media/g9582DNuQppxC/giphy.gif |