sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot
| var app = require(process.cwd() + '/app'); | |
| var winston = require('winston'); | |
| var _ = require('lodash'); | |
| // Set up logger | |
| var customColors = { | |
| trace: 'white', | |
| debug: 'green', | |
| info: 'green', | |
| warn: 'yellow', |
The following Lua program generates a Lua bytecode program called ignore-unsigned-sga.fnt, which in turn loads a DLL from within an extremely locked down Lua 5.1 sandbox in a program called RelicCOH2.exe. The remainder of this document attempts to explain how this program works by a whirlwind tour of relevent bits of the Lua 5.1 virtual machine.
if string.dump(function()end):sub(1, 12) ~= "\27Lua\81\0\1\4\4\4\8\0" then
error("This generator requires a 32-bit version of Lua 5.1")
end
local function outer()
local magic -- In bytecode, the stack slot corresponding to this local is changedI use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| /* | |
| * lint64.c | |
| * int64 nummbers for Lua | |
| * Luiz Henrique de Figueiredo <[email protected]> | |
| * Thu Aug 1 22:56:17 BRT 2013 | |
| * This code is hereby placed in the public domain. | |
| * Modified by Stevedonovan, Aug 3. | |
| * __pow is defined by integer second arg | |
| * new can be passed a hex literal string | |
| * tohex will return a int64 as a hex string |
| // A simple Linear Congruential Generator | |
| // Establish the parameters of the generator | |
| var m = 25, | |
| // a - 1 should be divisible by m's prime factors | |
| a = 11, | |
| // c and m should be co-prime | |
| c = 17; | |
| // Setting the seed | |
| var z = 3; |
| <?php | |
| /* | |
| Plugin Name: Prevent Category Deletion | |
| Plugin URI: http://wordpress.stackexchange.com/q/70758/12615 | |
| Description: Prevent deletion of categories. Modify the $undeletable array to suit your setup. Use Category SLUGS. | |
| Author: brasofilo | |
| Version: 1.0 | |
| Author URI: http://wordpress.stackexchange.com/users/12615/brasofilo | |
| */ |