View Get Xcode to bump every build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Go to edit scheme, then Build > Post-actions | |
// Change 'Build From' from 'None' to <App Name> | |
// Add this to the text area | |
cd "${PROJECT_DIR}" ; agvtool next-version |
View firebaseFunctionsV2HTTPSEndpointWithoutExpress.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { onRequest } = require('firebase-functions/v2/https'); | |
function say() { | |
return { hello : sayHello } | |
} | |
var sayHello = onRequest( | |
(req, res) => { | |
res.status(200).send("Hello, is it me you're looking for"); | |
} |
View autoImportVSCodeSetting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting for the auto import injection | |
javascript.suggest.autoImports |
View breakpoints clientside
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "chrome lookup url", | |
"url": "http://localhost:3000/#/lookup", | |
"webRoot": "${workspaceFolder}/src/components" | |
} | |
, | |
View git tag with sed filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export VERSIONS=$(git tag -l *-prerelease* | sed 's/-prerelease//') |
View this as me with argv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "This" to activate | |
tell application "System Events" | |
keystroke "/" | |
delay 1.2 | |
keystroke "m" |
View this as me
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "this" to activate | |
tell application "System Events" | |
keystroke "/" | |
delay 1.2 | |
keystroke "m" | |
delay 0.3 | |
keystroke "e" | |
delay 1.1 | |
keystroke space |
View see what's running on 5000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof -i :5000 | |
mikes-imac:~ mikeland$ lsof -i :5000 | |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
Google <num> mikeland 33u IPv4 0xcb550ff... 0t0 TCP localhost:60632->localhost:commplex-main (ESTABLISHED) | |
Google <num> mikeland 45u IPv4 0xcb550ff... 0t0 TCP localhost:60610->localhost:commplex-main (CLOSED) | |
node <num> mikeland 29u IPv4 0xcb550ff... 0t0 TCP localhost:commplex-main (LISTEN) | |
node <num> mikeland 44u IPv4 0xcb550ff... 0t0 TCP localhost:commplex-main->localhost:60632 (ESTABLISHED) |
View number of files in dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -l /media/lando2319/76E8-CACF/ | wc -l |
View update json via bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Updating Release State (.releaseState.json) with version $BACKEND_VERSION, with message $RELEASE_MESSAGE" | |
echo "$(sed '$d' .releaseState.json), | |
\"$BACKEND_VERSION\":{ | |
\"message\":\"$RELEASE_MESSAGE\", | |
\"sandbox\":true, | |
\"production\":false | |
} |
NewerOlder