This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage The Developer | |
* @since The Developer1.0 | |
*/ | |
?> | |
<?php get_header(); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://archive.ubuntu.com/ubuntu oneiric main | |
deb-src http://archive.ubuntu.com/ubuntu oneiric main | |
deb http://archive.ubuntu.com/ubuntu oneiric-updates main | |
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates main | |
deb http://archive.ubuntu.com/ubuntu oneiric universe | |
deb-src http://archive.ubuntu.com/ubuntu oneiric universe | |
deb http://archive.ubuntu.com/ubuntu oneiric-updates universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ apt-cache policy nginx | |
nginx: | |
Installed: 1.0.15-1~lucid | |
Candidate: 1.0.15-1~lucid | |
Version table: | |
*** 1.0.15-1~lucid 0 | |
500 http://nginx.org/packages/ubuntu/ lucid/nginx i386 Packages | |
100 /var/lib/dpkg/status | |
1.0.5-1 0 | |
500 http://archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stanley@home:~$ cat /etc/issue | |
Ubuntu 11.10 \n \l | |
stanley@home:~$ cat /etc/apt/sources.list | |
deb http://archive.ubuntu.com/ubuntu oneiric universe | |
deb-src http://archive.ubuntu.com/ubuntu oneiric universe | |
deb http://archive.ubuntu.com/ubuntu oneiric-updates universe | |
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brad@etylogic:~$ sudo apt-cache search build-essential | |
sbuild - Tool for building Debian binary packages from Debian sources | |
devscripts - scripts to make the life of a Debian Package maintainer easier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stanley@home:~$ sudo apt-get install build-essential | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Package build-essential is not available, but is referred to by another package. | |
This may mean that the package is missing, has been obsoleted, or | |
is only available from another source | |
E: Package 'build-essential' has no installation candidate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://archive.ubuntu.com/ubuntu oneiric universe | |
deb-src http://archive.ubuntu.com/ubuntu oneiric universe | |
deb http://archive.ubuntu.com/ubuntu oneiric-updates universe | |
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates universe | |
deb http://archive.ubuntu.com/ubuntu oneiric-security main | |
deb-src http://archive.ubuntu.com/ubuntu oneiric-security main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> describe urls; | |
+---------+--------------+------+-----+---------+----------------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+---------+--------------+------+-----+---------+----------------+ | |
| id | int(11) | NO | PRI | NULL | auto_increment | | |
| url | text | NO | | NULL | | | |
| userKey | varchar(255) | YES | | NULL | | | |
| userIp | varchar(255) | YES | | NULL | | | |
+---------+--------------+------+-----+---------+----------------+ | |
4 rows in set (0.00 sec) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name domain.com www.domain.com; | |
root /var/www/domain.com/public; | |
index index.html index.php; | |
try_files $uri /index.php?id=$uri | |
location ~ .php$ { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Run a query and return results | |
class SQLQuery { | |
public $query = ""; | |
private $allowed_query_types = array( | |
'INSERT' | |
, 'DELETE' | |
, 'UPDATE' |