Skip to content

Instantly share code, notes, and snippets.

View hockeyfrissa's full-sized avatar
💭
In a galaxy far, far away

Martin hockeyfrissa

💭
In a galaxy far, far away
  • Kinnarps AB
  • Kinnarp
View GitHub Profile
#!/bin/bash
msg () {
figlet -f term "Your wish is my command" | lolcat
}
menu () {
echo "1. Cointop"
echo "2. Reddit"
echo "3. Exit"
read -n 1 -s option
@hockeyfrissa
hockeyfrissa / gist:674adcfe20b43600ce7a6a400eb11a6b
Created April 9, 2020 06:42
Add redirect uri to Microsoft graph toolkit mgt-login
Providers.globalProvider = new MsalProvider({
clientId: '<Application client id>',
authority:"https://login.microsoftonline.com/<tenant>",
scopes:['api://<api uri>/<api scope>'],
options:{
auth:{
redirectUri:'<Your url to redirect to as specified in app registration Authentication Redirect URIs>',
navigateToLoginRequestUrl:<true/false>
}
}
Verifying that +genisys is my blockchain ID. https://onename.com/genisys
@hockeyfrissa
hockeyfrissa / max_allowed_packet.txt
Created February 1, 2016 08:47
mysqldump error: Got packet bigger than max_allowed_packet'
add --max_allowed_packet=512M to your mysqldump command