Skip to content

Instantly share code, notes, and snippets.

View gustavocp's full-sized avatar

Gustavo Pereira gustavocp

  • Ekz
  • Rio de janeiro
View GitHub Profile
#!/bin/bash
cd /root
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xzf ioncube_loaders_lin_x86-64.tar.gz
cp ioncube/ioncube_loader_lin_5.3.so /usr/lib/php5/20090626/
file=/usr/lib/php5/20090626/ioncube_loader_lin_5.3.so
chmod 644 $file
echo zend_extension=$file > /etc/php5/conf.d/zend_extensions.ini
@gustavocp
gustavocp / main.lua
Last active August 29, 2015 14:10 — forked from tariqkhatib/main.lua
starCtr = 0
stars = {}
currTransSpeed = 500
displayHeight = display.contentHeight
math.randomseed( os.time() )
local function removeMe() --remove stars after reaching end of screen
for i=1,1100 do
if stars[i] ~= nil then
if stars[i].y >= displayHeight then