Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)
$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *| func activateProximitySensor(isOn: Bool) { | |
| let device = UIDevice.current | |
| device.isProximityMonitoringEnabled = isOn | |
| if isOn { | |
| NotificationCenter.default.addObserver(self, selector: #selector(proximityStateDidChange), name: UIDevice.proximityStateDidChangeNotification, object: device) | |
| let session = AVAudioSession.sharedInstance() | |
| do{ | |
| try session.setCategory(.playAndRecord) | |
| try session.setActive(true) | |
| try session.overrideOutputAudioPort(AVAudioSession.PortOverride.speaker) |
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
| # | User | Downloads |
|---|
| <?php | |
| use Illuminate\Console\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| use \Requests; | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Cloudflare domain IPv4 A-type manager |
| #include <stdio.h> | |
| int f0(unsigned int x) { return x? (x&(1<<31)? f1(x<<1) : f0(x<<1)) : 1; } | |
| int f1(unsigned int x) { return x? (x&(1<<31)? f3(x<<1) : f2(x<<1)) : 0; } | |
| int f2(unsigned int x) { return x? (x&(1<<31)? f0(x<<1) : f4(x<<1)) : 0; } | |
| int f3(unsigned int x) { return x? (x&(1<<31)? f2(x<<1) : f1(x<<1)) : 0; } | |
| int f4(unsigned int x) { return x? (x&(1<<31)? f4(x<<1) : f3(x<<1)) : 0; } | |
| int t0(unsigned int x) { return x? (x&(1<<31)? t1(x<<1) : t0(x<<1)) : 1; } | |
| int t1(unsigned int x) { return x? (x&(1<<31)? t0(x<<1) : t2(x<<1)) : 0; } | |
| int t2(unsigned int x) { return x? (x&(1<<31)? t2(x<<1) : t1(x<<1)) : 0; } |
| <?php | |
| define('PROXY', 'proxy'); | |
| define('PORT', 8080); | |
| if (!function_exists('getallheaders')) | |
| { | |
| function getallheaders() | |
| { | |
| $headers = []; |
| user www-data; | |
| worker_processes 4; | |
| error_log /var/log/nginx/error.log; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
| <html> | |
| <head> | |
| <title>Redis Listener</title> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(function() { | |
| var conn; | |
| var msg = $("#msg"); | |
| var log = $("#log"); | |
| function appendLog(msg) { |
| # http://pecl.php.net/package/APCu | |
| # http://pecl.php.net/package/ZendOpcache | |
| # Install ZendOpcache | |
| sudo pecl install ZendOpcache-beta | |
| sudo -i | |
| cat > /etc/php5/mods-available/opcache.ini << EOF | |
| zend_extension=/usr/lib/php5/20100525/opcache.so | |
| opcache.memory_consumption=128 | |
| opcache.interned_strings_buffer=8 |