sudo update-alternatives --config javasudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*| [Unit] | |
| Description=supervisord - Supervisor process control system for UNIX | |
| Documentation=http://supervisord.org | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf | |
| ExecReload=/bin/supervisorctl reload | |
| ExecStop=/bin/supervisorctl shutdown |
| # Install tmux on Centos release 6.5 | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
| tar -xf libevent-2.0.22-stable.tar.gz | |
| cd libevent-2.0.22-stable | |
| ./configure --prefix=/usr/local |
| # check swap usage | |
| sysctl vm.swapusage | |
| # disable encrypted swap - SNOW LEOPARD | |
| sudo defaults write /Library/Preferences/com.apple.virtualMemory UseEncryptedSwap -boolean no | |
| # disable encrypted swap - LION | |
| sudo defaults write /Library/Preferences/com.apple.virtualMemory DisableEncryptedSwap -boolean yes | |
| # disable swap |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) | |
| Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip) | |
| Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip) |
| ################################################################## | |
| # /etc/elasticsearch/elasticsearch.yml | |
| # | |
| # Base configuration for a write heavy cluster | |
| # | |
| # Cluster / Node Basics | |
| cluster.name: logng | |
| # Node can have abritrary attributes we can use for routing |
| Work in Progress: More testing to be done. | |
| At a glance Authentication, Activation, Throttle, Groups & Permissions seem to | |
| be working. | |
| Downside: Copy and modify files. | |
| Upside: Not really much work to get it up and running. | |
| Assumes you have Laravel 5.1, jenssegers/laravel-mongodb + session addon set up | |
| and your app is namespaced to App/ |
| <?php namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| /** | |
| * If the incoming request is an OPTIONS request | |
| * we will register a handler for the requested route | |
| */ | |
| class CatchAllOptionsRequestsProvider extends ServiceProvider { |
| import java.util.List; | |
| import java.util.regex.Pattern; | |
| import javafx.application.*; | |
| import javafx.collections.FXCollections; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.control.*; | |
| import javafx.scene.effect.*; | |
| import javafx.scene.image.*; | |
| import javafx.scene.web.HTMLEditor; |
| #~/.local/share/applications/mimeapps.list | |
| [Added Associations] | |
| #... | |
| x-scheme-handler/subl=subl-urlhandler.desktop |