Skip to content

Instantly share code, notes, and snippets.

View morristech's full-sized avatar
🔴
"What I cannot create, I do not understand"

Wade morristech

🔴
"What I cannot create, I do not understand"
View GitHub Profile
@morristech
morristech / init.vim
Created January 26, 2023 06:37 — forked from celso/init.vim
Neovim setup for OSX users
syntax on
set ruler " Show the line and column numbers of the cursor.
set formatoptions+=o " Continue comment marker in new lines.
set textwidth=0 " Hard-wrap long lines as you type them.
set modeline " Enable modeline.
set esckeys " Cursor keys in insert mode.
set linespace=0 " Set line-spacing to minimum.
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J)
" More natural splits
set splitbelow " Horizontal split below current.
@morristech
morristech / BLECarDrag.bas
Created December 21, 2022 12:42 — forked from kmorel/BLECarDrag.bas
A techBASIC program for controlling an RC car via a RedBearLabs BLE shield on an Arduino running firmata and a jumpered motor shield.
! This app uses the accelerometer to control a car hacked to use the
! RedBear BLE Shield and an Arduino.
redBearUUID$ = "713D0000-503E-4C75-BA94-3148F18D941E"
txUUID$ = "713D0003-503E-4C75-BA94-3148F18D941E"
! The reason I am putting a button over the drag area is because I want to fill
! it with a gradient representing the speed and direction, and the button is the
! only GUI element I know of that can draw a gradient. Unfortunately, to get
! the drag events, I have to disable the button, which messes up the colors.

A Quick Guide to Big-O Notation, Memoization, Tabulation, and Sorting Algorithms by Example

Curating Complexity: A Guide to Big-O Notation


A Quick Guide to Big-O Notation, Memoization, Tabulation, and Sorting Algorithms by Example

Curating Complexity: A Guide to Big-O Notation

Awesome Go

Build Status Awesome Slack Widget Netlify Status

Sponsorships

Digital Ocean

We have no monthly cost, but we have employees working hard to maintain the Awesome Go, with money raised we can repay the effort of each person involved! All billing and distribution will be open to the entire community.

A cura

@morristech
morristech / README.markdown
Created September 16, 2022 03:59 — forked from larrycai/README.markdown
check the plugin usage in jenkins
@morristech
morristech / cognito-developer-authenticated-client-example.py
Created September 16, 2022 03:58 — forked from dkarchmer/cognito-developer-authenticated-client-example.py
django-boto3-cognito: AWS' Cognito Developer Authenticated Identities Authflow using Django/Python/Boto3 (For building stand-alone clients)
__author__ = 'dkarchmer'
'''
This script emulates a stand-alone Python based client. It relies on Boto3 to access AWS, but
requires your Django server to have an API for your user to access Cognito based credentials
Because of Cognito, the client (this script) will only get temporary AWS credentials associated
to your user and only your user, and based on whatever you configure your AIM Policy to be.
Most Cognito examples demonstrate how to use Cognito for Mobile Apps, so this scripts demonstrate
how to create a stand-alone Python script but operating similarly to these apps.
@morristech
morristech / app.py
Created September 16, 2022 03:56 — forked from thomasdarimont/app.py
Simple python example using flask, flask_oidc and keycloak
import json
import logging
from flask import Flask, g
from flask_oidc import OpenIDConnect
import requests
logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__)
@morristech
morristech / A_script_to_Git_all_the_repos.md
Created September 16, 2022 03:51 — forked from DonRichards/A_script_to_Git_all_the_repos.md
Clones and or pulls the latest updates Org Repos into current working directory. If you just want to go down all the directories you already have and pull the latest from the current branches use this instead: find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;

Get all of the repos

It downloads all of the repos for a person or organization.

@morristech
morristech / git-commit-log-stats.md
Created September 12, 2022 10:55 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@morristech
morristech / setup_android_studio.sh
Created July 4, 2022 11:44 — forked from bmc08gt/setup_android_studio.sh
Android Studio bash installation script
#!/bin/bash
# only works atm if only one jdk package in downloads
DOWNLOADS=$HOME/Downloads
CURRENT_VERSION=$(java -version 2>&1)
JDK=` ls $DOWNLOADS | grep "jdk"`
STUDIO_URL=http://dl.google.com/android/studio/install/0.3.2/android-studio-bundle-132.893413-linux.tgz
if [ "uname -m" == "i386" -o "uname -m" == "i686" ]; then
ARCH=32
else