Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart |
import random | |
from operator import itemgetter | |
import timeit | |
def random_point(): | |
return (random.randint(0, 100), random.randint(0, 100), random.randint(0, 100)) | |
points = None # Global because of timeit scoping | |
def test_lambda(): |
#!/bin/bash | |
# server connection information | |
URL="https://jss.talkingmoose.net:8443" | |
userName="JSSAPI-Editor" | |
password="password" | |
# XML data to upload | |
THExml="<activation_code> | |
<organization_name>Talking Moose Industries</organization_name> |
#!/usr/bin/python | |
''' | |
JCDS package upload script | |
by G Pugh | |
Developed from an idea posted at | |
https://www.jamf.com/jamf-nation/discussions/27869#responseChild166021 | |
Usage: |
#!/bin/bash | |
# Mixing in python with bash we can easily retrieve our passwords securely in our shell scripts. | |
# Read this first: https://live.gnome.org/GnomeKeyring/SecurityPhilosophy | |
# Make sure your distro has gnome-keyring-daemon installed and running at login, | |
# as well as python-keyring installed (sudo apt-get install python-keyring) | |
## | |
# Follow these steps to see what it does. Verify by looking in Seahorse for your password. | |
## |
#!/usr/bin/env bash | |
# SOURCE: | |
# https://gist.github.com/julianxhokaxhiu/6ed6853f3223d0dd5fdffc4799b3a877 | |
# TODO: error handling | |
# activate verbose standard output (stdout) | |
set -v | |
# activate debugging (execution shown) |
https://stackoverflow.com/questions/9441008/how-can-i-download-a-file-from-ec2
https://stackoverflow.com/questions/9441008/how-can-i-download-a-file-from-ec2
sudo kextunload /System/Library/Extensions/AppleHDA.kext | |
sudo kextload /System/Library/Extensions/AppleHDA.kext | |
sudo killall -9 coreaudiod | |