Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
#!/bin/bash | |
ERR(){ echo "ERROR: $1" 1>&2; } | |
declare -i DEPCOUNT=0 | |
for DEP in /usr/bin/{xdotool,yad,xprop};do | |
[ -x "$DEP" ] || { | |
ERR "$LINENO Dependency '$DEP' not met." | |
DEPCOUNT+=1 | |
} |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Thomas (Tom) Grushka, M.S., CPWA", | |
"label": "Leading Software and Data Engineering Wizard", | |
"image": "", | |
"email": "tom@grushka.com", | |
"phone": "+1 720 495 7323", | |
"url": "https://linkedin.com/in/tgrushka", | |
"summary": "I’m a full-stack mobile and web engineer who architects apps and their infrastructures from the ground up. Having worked for both small and large companies, I am well-versed in a variety of programming frameworks and development processes. My expertise in accessibility is an advantage that adds unique value to my projects.", |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)import 'reflect-metadata'; | |
import { NextRequest, NextResponse } from "next/server"; | |
export const GetMethodSymbol = Symbol('GetMethod'); | |
export const PostMethodSymbol = Symbol('PostMethod'); | |
export const BodyMetadataKey = Symbol('Body'); | |
export const BodyTypeMetadataKey = Symbol('BodyType'); | |
interface NextRequestWithParams extends NextRequest { | |
params: { [key: string]: string }; | |
} |
import { NextResponse } from "next/server"; | |
import { PostMethodSymbol } from "./http-methods/post"; | |
import { GetMethodSymbol } from "./http-methods/get"; | |
export interface APIService { | |
GET:()=>void, | |
POST:()=>void, | |
} | |
// How can i fix the return type to avoid type check issue ? |
This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].
We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.
Each commit message consists of a header, a body, and a footer.
# Used on Ubuntu 18.04 and 20.04 | |
# Find instructions for other OSes here: https://certbot.eff.org/instructions | |
# Install Certbot via Snaps | |
sudo snap install core; sudo snap refresh core | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/certbot | |
# Install DNS CloudFlare plugin | |
sudo snap set certbot trust-plugin-with-root=ok |
There are several apps I currently have to re-sign. They are apps built by various outside vendors who do not want to share the source code, but we want the apps published from our account and we do not want to give them our certificate or access to publish the apps on our behalf. ¯\_(ツ)_/¯ These are the steps I use to re-sign them. I've decided to keep the steps manual because, frankly, it's an error-prone process, something done infrequently, and a moving target. Some detail always seems to shift with every major Xcode release or App Store change.
These steps are current as of iOS 14 and Xcode 12. They assume you already have your Distribution Certificate installed in Keychain.
I'm going to use an example named "Matt's App.ipa". If you need to provide instructions to a vendor to deliver this file to you properly, I've included what I use below.