$ su postgres
$ psql -U postgres
psql (9.2.4)
Type "help" for help.
Date: [[Date of Document]] Between [Our Company] and [Your Company]
We’re not big on formality, but sometimes it’s best to have a few simple things written down so that we’re all on the same page. In this contract you won’t find complicated legal terms or large passages of unreadable text. We have no desire to trick you into signing something that you might later regret. We do want what’s best for the safety of both parties, now and in the future.
// Substitute URL for local/dev deploys | |
if ($option == "siteurl" || $option == "home") { | |
if ( strcmp($_SERVER['HTTP_HOST'], 'http://localhost') != 0) | |
return "http://$_SERVER[HTTP_HOST]"; | |
} |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
#include <iostream> | |
int main() { | |
// Variables | |
int start = 0; | |
int answer= 0; | |
int store = 0; | |
int pin = 0; | |
int tries = 0; |