-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewer
with a pve-spice.vv file downloaded from proxmox web interface
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
<?xml version="1.0"?> | |
<ruleset name="WordPress Coding Standards"> | |
<description>WooCommerce extension PHP_CodeSniffer ruleset.</description> | |
<!-- Exclude paths --> | |
<exclude-pattern>tests/</exclude-pattern> | |
<exclude-pattern>woo-includes/woo-functions.php</exclude-pattern> | |
<exclude-pattern>woo-includes/class-wc-dependencies.php</exclude-pattern> | |
<exclude-pattern>*/node_modules/*</exclude-pattern> | |
<exclude-pattern>*/vendor/*</exclude-pattern> |
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
<?php | |
// credentials.json is gotten from https://developers.google.com/calendar/quickstart/php | |
define( 'EVENT_CALENDAR_ID', '' ); | |
define( 'BLOCKER_CALENDAR_ID', '' ); | |
define( 'WEEKS_TO_CHECK', 6 ); | |
define( 'WEEKLY_LIMIT', 3 ); | |
define( 'WEEK_IN_SECONDS', 7*24*60*60 ); | |
define( 'TZ_P', substr_replace( trim( shell_exec( 'date +"%z"' ) ), ':', 3, 0 ) ); |
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
<?php | |
/** | |
* Buy BTC & ETH daily on Luno.com | |
* @author Gerhard Potgieter <[email protected]> | |
* @since 2017-12-07 | |
* https://www.luno.com/invite/JN5Z4 | |
* | |
* This script will do a daily purchase of BTC and ETH on Luno.com based on rand value (ZAR) set. Default to R100 each. Why daily? https://en.wikipedia.org/wiki/Dollar_cost_averaging | |
* | |
* Installation Instructions |
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
/** | |
* Configure PHPMailer to send via PHP's mail() | |
* | |
* @param PHPMailer $phpmailer | |
*/ | |
function phpmailer_send_via_mail( $phpmailer ) { | |
$phpmailer->IsMail(); | |
} | |
add_action( 'phpmailer_init', 'phpmailer_send_via_mail', 999 ); |
This simple script is for logging all of the awesome things you do every day, using Terminal, and syncing them all to Dropbox. Nifty, right?
- Grab the
idid.sh
file to a directory on your computer (tested with OS X). - Using Terminal, in the directory where you placed
idid.sh
, run the following commands: mv idid.sh /usr/local/bin/idid.sh
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
<?php | |
class My_Custom_My_Account_Endpoint { | |
/** | |
* Custom endpoint name. | |
* | |
* @var string | |
*/ | |
public static $endpoint = 'my-custom-endpoint'; |
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
<?php | |
/** | |
* GitHub webhook handler template. | |
* | |
* @see https://docs.github.com/webhooks/ | |
* @author Miloslav Hůla (https://github.com/milo) | |
*/ | |
$hookSecret = 's.e.c.r.e.t'; # set NULL to disable check |
To install, you need to have the WordPress i18n library on your computer. Check it out using SVN:
sudo svn co http://i18n.svn.wordpress.org/tools/trunk/ /usr/lib/wpi18n
You don't have to put the library in /usr/lib/wpi18n
, but if you don't put it there, make sure to set the $WP_I18N_LIB
environment variable in your .bashrc
or .bash_profile
file (with no trailing slash):
export WP_I18N_LIB="/path/to/i18n/lib"
NewerOlder