Skip to content

Instantly share code, notes, and snippets.

View trevorrobertsjr's full-sized avatar

Trevor Roberts Jr trevorrobertsjr

View GitHub Profile
@trevorrobertsjr
trevorrobertsjr / gist:02039da192f1a4499cdd9c1aa3cfd677
Created July 20, 2023 17:37
MARA Package Installation Errors
Installing dependencies from Pipfile.lock (a09900)...
An error occurred while installing arpeggio==1.10.2 --hash=sha256:bfe349f252f82f82d84cb886f1d5081d1a31451e6045275e9f90b65d0daa06f1 --hash=sha256:fed68a1cb7f529cbd4d725597cc811b7506885fcdef17d4cdcf564341a1e210b! Will try again.
An error occurred while installing attrs==21.4.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' --hash=sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4 --hash=sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd! Will try again.
An error occurred while installing awscli==1.25.35 --hash=sha256:1b3adbc9cfb9aad7d0f6abc4cb0a5b95eb640afb77486885d3c4ff0cbc28f494 --hash=sha256:8883c357165a1e1866636c19a264876e9a3938af4f25425d587255698162535f! Will try again.
An error occurred while installing botocore==1.27.35 ; python_version >= '3.7' --hash=sha256:9949d61959476b5a34408881bdb98f54b0642238ffb217c5260124ec58fb0c72 --hash=sha256:d2e708dd766b21c8e20a57ce1a90e98d324f871f812
@trevorrobertsjr
trevorrobertsjr / unifi_ubuntu_2004.sh
Created April 30, 2022 01:24 — forked from davecoutts/unifi_ubuntu_2004.sh
Install Ubiquiti Unifi Controller on Ubuntu 20.04
# Install Ubiquiti Unifi Controller on Ubuntu 20.04.
# As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020.
# Thanks to https://gist.github.com/tmuncks for posting the updated install steps.
sudo apt update
sudo apt install --yes apt-transport-https
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg
@trevorrobertsjr
trevorrobertsjr / How to setup VirtualGL and TurboVNC on Ubuntu.md
Created December 19, 2019 05:46 — forked from cyberang3l/How to setup VirtualGL and TurboVNC on Ubuntu.md
Setup VirtualGL and TurboVNC on Ubuntu for OpenGL forwarding
@trevorrobertsjr
trevorrobertsjr / 01player.json
Created January 19, 2018 15:02
Single Line JSON
{"player":{"username":"user1","characteristics":{"race":"Human","class":"Warlock","subclass":"Dawnblade","power":300,"playercountry":"USA"},"arsenal":{"kinetic":{"name":"Sweet Business","type":"Auto Rifle","power":300,"element":"Kinetic"},"energy":{"name":"MIDA Mini-Tool","type":"Submachine Gun","power":300,"element":"Solar"},"power":{"name":"Play of the Game","type":"Grenade Launcher","power":300,"element":"Arc"}},"armor":{"head":"Eye of Another World","arms":"Philomath Gloves","chest":"Philomath Robes","leg":"Philomath Boots","classitem":"Philomath Bond"},"location":{"map":"Titan","waypoint":"The Rig"}}}
@trevorrobertsjr
trevorrobertsjr / blog-table.sql
Created January 17, 2018 17:11
Example Athena-generated DDL
CREATE EXTERNAL TABLE `player_output`(
`player.username` string,
`player.characteristics.race` string,
`player.characteristics.class` string,
`player.characteristics.subclass` string,
`player.characteristics.power` int,
`player.characteristics.playercountry` string,
`player.arsenal.kinetic.name` string,
`player.arsenal.kinetic.type` string,
`player.arsenal.kinetic.power` int,
@trevorrobertsjr
trevorrobertsjr / grunt-hugo-lunrjs.md
Created December 21, 2017 23:48 — forked from sebz/grunt-hugo-lunrjs.md
hugo + gruntjs + lunrjs = <3 search
@trevorrobertsjr
trevorrobertsjr / lambdamail.js
Created August 7, 2017 23:11
Lambda SES E-mail
//This sample is part of a Step Function.
//An e-mail will be sent in case of an error condition from one of the states.
//Sample input:
//{ "errorInfo":
// { "Error": "this is an error",
// "Cause": "{\"errorMessage\": \"this is an error message\"}"
// }
//}
'use strict';
@trevorrobertsjr
trevorrobertsjr / cognito-developer-authenticated-client-example.py
Created November 4, 2016 19:46 — 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.
@trevorrobertsjr
trevorrobertsjr / getting_more_familiar_with_go_resources.md
Created September 25, 2016 17:30 — forked from solarce/getting_more_familiar_with_go_resources.md
A list of resources for getting more familiar with Go

Getting more familiar with Go