Skip to content

Instantly share code, notes, and snippets.

View DevGW's full-sized avatar
🔥
building ... things!

JB (DevGW) DevGW

🔥
building ... things!
View GitHub Profile
@DevGW
DevGW / OS X Code Signing Pyinstaller.md
Last active April 5, 2023 14:30 — forked from txoof/OS X Code Signing Pyinstaller.md
OSx Code Signing Pyinstaller executable #mac #appdev

Setup

  • Create a developer account with Apple
  • Download and install X-Code from the Apple App Store
  • Open and run X-Code app and install whatever extras it requires
  • Open the preferences pane (cmd+,)
    • click the + in the lower right corner
    • choose Apple ID
    • enter your apple ID and password
@DevGW
DevGW / KT.md
Last active March 21, 2023 15:52
Significant Knowledge Transfer Areas for SD #hha_ank #notes

Knowledge Transfer Areas for SD

The following is a list of key knowledge transfer areas in Self Direction for new developers

  • Tower access and VPN setup and configuration (GCP / Tempus MA)
  • Explanation of Jira and how we use it (what the workflow is)
  • Explanation of how we use Github (PR and Merging workflow)
  • Relevant codebase and associated github repos
    • Frontend UI walkthrough (this should be recorded somewhere or can be done individually)
    • Backend walkthrough and explanation of how clients are loaded over base
  • Getting access to UI client app
@DevGW
DevGW / windows_tweaks.md
Last active March 18, 2023 13:53
Windows Tweaks #windows

Windows Tweaks

  • Allow Windows PowerShell to Execute Scripts

*Note: requires PowerShell run as admin
set-executionpolicy remotesigned
@DevGW
DevGW / deploy.md
Last active March 17, 2023 12:16
Module Release Deployment #hha_ank

Deploying release for Modules

Billing

If you haven't already set your github user email globally

git config --global user.email "[email protected]"

Clean Working tree

git stash --include-untracked
@DevGW
DevGW / gistToc.py
Created March 14, 2023 16:18
Script to generate table of contents for user's gists #python #git #gists #scripts
#!/usr/bin/python3
import requests
import json
import re
import sys
class GistToc():
def __init__(self, config):
self.username = config['username']
self.api_url = f"https://api.github.com/users/{self.username}/gists?per_page=50&"
@DevGW
DevGW / table_of_contents.md
Last active March 14, 2023 16:09
Gist Table of Contents #table_of_contents
@DevGW
DevGW / unicode_cheatsheet.md
Created March 13, 2023 16:18
Unicode Cheatsheet #hha_ank #cheatsheet #unicode

Symbols

✈   \u2708 airplane
❄   \u2744 snowflake
⚑   \u2691 flag
☯   \u262f yinyang
♞   \u265e horse
☀   \u2600 rays
⚠   \u26a0 warning
@DevGW
DevGW / sed_cheatsheet.md
Created March 13, 2023 16:15
Sed Cheatsheet #hha_ank #cheatsheet #bash #sed

In place replacements

In-place replacement (GNU)

sed -i -e 's/foo/bar/' example.md

In GNU sed: use -i without arg.

@DevGW
DevGW / screen_cheatsheet.md
Created March 13, 2023 16:14
Screen Cheatsheet #hha_ank #cheatsheet #bash #screen

Basics

CLI Options

Options Description
-S Starts a named session
-r [name] Reattach to a screen (optionally by name)
-ls or --list Returns a list of session ids
@DevGW
DevGW / rspec_cheatsheet.md
Created March 13, 2023 16:12
RSpec Cheatsheet #hha_ank #cheatsheet #RoR #rspec

About

RSpec is a Ruby library for testing.

Invoking tests

rake -T spec      # List spec tasks