function install_plugins_upload() {
?>
<div class="upload-plugin">
<p class="install-help"><?php _e( 'If you have a plugin in a .zip format, you may install or update it by uploading it here.' ); ?></p>
<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo esc_url( self_admin_url( 'update.php?action=upload-plugin' ) ); ?>">
<?php wp_nonce_field( 'plugin-upload' ); ?>
<label class="screen-reader-text" for="pluginzip">
<?php
/* translators: Hidden accessibility text. */
This assumes you have brew installed and are comfortable using a terminal.
Following the guide on https://github.com/tpruvot/cpuminer-multi will likely lead to errors about invalid paths to OpenSSL, and neoscrypt errors to the tune of Undefined symbols for architecture x86_64
during the build. I managed to piece together different fixes into an installation that has worked for me. So I hope it works for you.
Ensure a c compiler is installed. Type g++
in the terminal and continue with the xcode installation if necessary. If it prints clang: error: no input files
, then you can proceed.
This file contains 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
#! /usr/bin/env python | |
# encoding: utf8 | |
import sys | |
from functools import partial | |
from ldaptor.protocols import pureldap | |
from ldaptor.protocols.ldap import ldapserver | |
from ldaptor.protocols.ldap.ldapclient import LDAPClient, \ | |
LDAPClientConnectionLostException |
This file contains 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/sh | |
# | |
# From: http://serverfault.com/a/259230/53861 | |
# | |
# INSTALL: | |
# sudo cp supervisord /etc/init.d | |
# sudo chkconfig --add supervisord | |
# sudo chkconfig supervisord on | |
# service supervisord start | |
# |
This file contains 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
#!/usr/bin/env python | |
import os, sys | |
sys.path.append(os.getcwd()) | |
import logging | |
import rq | |
MAX_FAILURES = 3 |
This file contains 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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
# | |
# author : Rex Zhang | |
"""Get the local IP and Public IP""" | |
import re | |
from subprocess import Popen, PIPE | |
from threading import Lock |
This file contains 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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
'''Get quota from IMAP server | |
''' | |
import argparse | |
import getpass | |
import imaplib | |
import re |