Skip to content

Instantly share code, notes, and snippets.

@rparaujo
rparaujo / iterm2.md
Created February 18, 2020 14:17 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)

Keybase proof

I hereby claim:

  • I am rparaujo on github.
  • I am araujoricardo (https://keybase.io/araujoricardo) on keybase.
  • I have a public key ASBX3zJUbwx7AtC4I4P22_eIw-UWaZslSyZveaoFoVYshgo

To claim this, I am signing this object:

@rparaujo
rparaujo / testCORS.html
Created January 24, 2018 11:28
Test if CORS is enabled
<html>
<head>
<title>Test for CORS</title>
<script type="text/javascript">
//Modified from the code found at test-cors.org
function testcors(url){
var createCORSRequest = function(method, url) {
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
// Most browsers.