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
| <policy> | |
| <general> | |
| <name>Install Latest %PROD_NAME%</name> | |
| <enabled>true</enabled> | |
| <frequency>Ongoing</frequency> | |
| <category> | |
| <name>%POLICY_CATEGORY%</name> | |
| </category> | |
| </general> | |
| <scope> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Identifier</key> | |
| <string>local.jss.Spotify-AllManagedClients</string> | |
| <key>Input</key> | |
| <dict> | |
| <key>CATEGORY</key> | |
| <string>Music</string> |
| #!/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 | |
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |