Skip to content

Instantly share code, notes, and snippets.

arm_freq=900 sdram_freq=450 over_voltage_avs=0x1b774 hdmi_drive=2 hdmi_force_hotplug=1 disable_overscan=1 framebuffer_width=1920 framebuffer_height=1080 framebuffer_depth=16 disable_l2cache=1 program_serial_random=1 config_hdmi_boost=4 disable_commandline_tags=2 emmc_pll_core=1 hdmi_ignore_edid=0xa5000080 hdmi_force_cec_address=65535 ignore_lcd=1 framebuffer_ignore_alpha=1 framebuffer_swap=1 disable_splash=1 arm_control=0xa5800010 temp_limit=85 force_pwm_open=1 pause_burst_frames=1 second_boot=1 avoid_fix_ts=1
sudo apt-get install libasound2-dev libopus-dev cec-utils libevdev-tools libevdev-dev libudev-dev libcurl4-openssl-dev libssl-dev libavahi-client-dev build-essential libcec3 libcec-dev libcec-platform1v5
git clone https://github.com/irtimmer/moonlight-embedded.git
cd moonlight-embedded
git submodule init && git submodule update
mkdir build
cd build
cmake ../
make
sudo make install
sudo echo '/usr/local/lib' > /etc/ld.so.conf.d/moonlight.conf
#!/usr/bin/python
#
# Copyright 2013 Ilia Mirkin.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
@ceesco53
ceesco53 / install.sh
Created September 1, 2015 19:32 — forked from JeffreyWay/install.sh
Super-fast LAMP + 5.5 install script.
sudo apt-get update
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
sudo apt-get install -y vim curl python-software-properties
sudo add-apt-repository -y ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug
--- queries.conf 2014-05-19 08:47:25.000000000 +0000
+++ queries.conf.new 2015-01-09 15:47:01.368048711 +0000
@@ -125,7 +125,7 @@
#
# Use these for case sensitive usernames.
#
-group_membership_query = "\
+#group_membership_query = "\
# SELECT groupname \
# FROM ${usergroup_table} \
@ceesco53
ceesco53 / modsec2.conf
Created August 7, 2014 18:18
modsec2.conf cPanel comodo
LoadFile /opt/xml2/lib/libxml2.so
# LoadFile /opt/lua/lib/liblua.so
LoadModule security2_module modules/mod_security2.so
<IfModule mod_security2.c>
SecRuleEngine On
SecDataDir /var/asl/data/msa
SecTmpDir /var/asl/tmp
SecUploadDir /var/asl/data/suspicious
SecUploadKeepFiles Off
SecAuditEngine Off
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.33.21"