This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| EXPECTED_ARGS=3 | |
| E_BADARGS=65 | |
| MYSQL=`which mysql` | |
| Q1="CREATE DATABASE IF NOT EXISTS $1;" | |
| Q2="GRANT USAGE ON *.* TO $2@localhost IDENTIFIED BY '$3';" | |
| Q3="GRANT ALL PRIVILEGES ON $1.* TO $2@localhost;" | |
| Q4="FLUSH PRIVILEGES;" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Automatically generated configuration file for Hyperion ambilight daemon | |
| // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area) | |
| // Generated by: HyperCon (The Hyperion deamon configuration file builder) | |
| // Created with HyperCon V1.03.1 (11.06.2016) | |
| { | |
| // DEVICE CONFIGURATION | |
| "device" : | |
| { | |
| "name" : "MyHyperionConfig", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch -p && for branch in $(git branch -vv | grep ': disparue]' | awk '{print $1}'); do git branch -D $branch; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // swiftlint:disable line_length | |
| // swiftlint:disable variable_name | |
| import Foundation | |
| #if os(iOS) || os(tvOS) || os(watchOS) | |
| import UIKit | |
| #elseif os(OSX) | |
| import AppKit | |
| #endif |
OlderNewer