Skip to content

Instantly share code, notes, and snippets.

View AJ-Acevedo's full-sized avatar
🤓
Studying

AJ Acevedo AJ-Acevedo

🤓
Studying
View GitHub Profile
@AJ-Acevedo
AJ-Acevedo / romanhosh1.cc
Last active December 5, 2022 00:23 — forked from romanhosh/escape room project not complete c++
escape room project not complete c++
#include <iostream>
int main() {
// Variables
int start = 0;
int answer= 0;
int store = 0;
int pin = 0;
int tries = 0;

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.


Effective Engineer - Notes

What's an Effective Engineer?

@AJ-Acevedo
AJ-Acevedo / option.php
Last active December 24, 2015 01:19
Simple Solution to run a Development WordPress installation with the same database and codebase as the production server.
// Substitute URL for local/dev deploys
if ($option == "siteurl" || $option == "home") {
if ( strcmp($_SERVER['HTTP_HOST'], 'http://localhost') != 0)
return "http://$_SERVER[HTTP_HOST]";
}
@AJ-Acevedo
AJ-Acevedo / Contract_Fixed.md
Last active December 21, 2015 01:19 — forked from malarkey/Contract Killer 3.md
AJAlabs - Web Design and Development, Fixed Rate Contract

AJAlabs - Web Development Contract

Revised date: 08/13/2013

Between us [company name]
and you [customer name]

Summary:

Bearded's Hourly Contract

Date: [[Date of Document]] Between [Our Company] and [Your Company]

Summary

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.

Postgres 9.2 - Install, Setup and Quick Reference

Set the default template to UTF8

$ su postgres
$ psql -U postgres
psql (9.2.4)
Type "help" for help.