Skip to content

Instantly share code, notes, and snippets.

diff -urN _RAIDiator-x86-4.2.23.extracted/root/frontview/lib/np_handler.pl _RAIDiator-x86-4.2.24.extracted/root/frontview/lib/np_handler.pl
--- _RAIDiator-x86-4.2.23.extracted/root/frontview/lib/np_handler.pl 2013-05-02 12:00:27.000000000 -0500
+++ _RAIDiator-x86-4.2.24.extracted/root/frontview/lib/np_handler.pl 2013-07-01 20:42:22.000000000 -0500
@@ -42,6 +42,8 @@
my $eval_string;
+ my $ret_payload;
+ my $ret_val;
for( $CURRENTPAGE )
FROM ubuntu
MAINTAINER Dustin Sallings "[email protected]"
ADD http://cbfs-ext.hq.couchbase.com/couchbase-dist/couchbase-server-enterprise_2.2.0_x86_64.deb /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb
RUN apt-get update
RUN apt-get install -y librtmp0 python-httplib2
RUN dpkg -i /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb
RUN rm /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb
RUN /etc/init.d/couchbase-server stop
@cloudrck
cloudrck / multicraft.conf
Last active November 10, 2020 15:01
Nginx Configuration for running Multicraft Panel
upstream php5-fpm-sock {
server unix:/var/run/php5-fpm.sock;
}
server {
listen 80;
server_name minecraft.example.com;
root /srv/minecraft/multicraft/;
index index.php;
@cloudrck
cloudrck / Gemfile
Created January 26, 2015 00:37
Spree 2.3 Gemfiles
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.1.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
}),w.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},w.isNaN=function(e){return w.isNumber(e)&&e!=+e},w.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==c.call(e)},w.isNull=function(e){return null===e},w.isUndefined=function(e){return void 0===e},w.has=function(e,t){return h.call(e,t)},w.noConflict=function(){return e._=t,this},w.identity=function(e){return e},w.times=function(e,t,n){for(var i=Array(e),s=0;e>s;s++)i[s]=t.call(n,s);return i},w.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))};var N={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"}};N.unescape=w.invert(N.escape);var I={escape:new RegExp("["+w.keys(N.escape).join("")+"]","g"),unescape:new RegExp("("+w.keys(N.unescape).join("|")+")","g")};w.each(["escape","unescape"],function(e){w[e]=function(t){return null==t?"":(""+t).replace(I[e],function(t){return N[e][t]})}}),w.result=function(e,t){if(null==e)return null;var n=e[t];return w.isFunction(n)?n.call
@cloudrck
cloudrck / nginx_ssl.conf
Created March 5, 2015 01:32
Suggested TLS Config for Nginx
# Turn on SSL
ssl on;
ssl_certificate /etc/nginx/certs/my_example_com.pem;
ssl_certificate_key /etc/nginx/certs/my.example.com.key;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 3m;
# Protect against BEAST, POODLE, FREAK TLS attacks
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS";
ssl_prefer_server_ciphers on;
@cloudrck
cloudrck / debian-gfs.sh
Created July 10, 2015 02:04
Debian 8 Jessie GlusterFS Install and Configuration
#!/bin/bash
set -e
# Debian 8 'Jessie' GlusterFS Install
#########
#ToDo:
# * Change guid/suid of mount
# * Give option for cluster type
# * Change variables via command line read
########
@cloudrck
cloudrck / sidekiq.sh
Last active August 29, 2015 14:25 — forked from dyerc/sidekiq
Debian Sidekiq Init Script
#!/usr/bin/env bash
### BEGIN INIT INFO
# Provides: sidekiq
# Required-Start: $local_fs $network
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: sidekiq
# Description: sidekiq daemon
### END INIT INFO
@cloudrck
cloudrck / myapp.conf
Last active August 29, 2015 14:25
Debian Unicorn Init Script
## A sample /etc/unicorn/my_app.conf
##
APP_ENV=production
APP_ROOT=/home/myuser/legendsu
SHARED_ROOT=/home/myuser/shared
UNICORN="/home/myuser/.rvm/gems/ruby-2.1.2/bin/unicorn"
@cloudrck
cloudrck / Gemfile
Last active August 29, 2015 14:25
Spree 3.0 Variant Errors
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.3'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets