Skip to content

Instantly share code, notes, and snippets.

View acuervoa's full-sized avatar
🐵
Developing with monkeys

Andres Cuervo acuervoa

🐵
Developing with monkeys
View GitHub Profile
# Install tmux on Centos release 6.5
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar -xvzf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local
#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python34-{devel,pip}
sudo pip-3.4 install neovim --upgrade
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release
@acuervoa
acuervoa / GoogleHackMasterList.txt
Created July 7, 2020 18:55 — forked from mylamour/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com

FWIW: I didn't produce the content presented here (the 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?

@acuervoa
acuervoa / test.conf
Created November 15, 2018 09:38
nginx other server php-fpm
server {
listen 80;
server_name <server_name>;
root /path/to/site/files/root;
location ~ \.php {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
@acuervoa
acuervoa / default.conf
Created November 15, 2018 09:37
nginx default site server
server {
listen 80 default_server;
server_name localhost;
location / {
root /path/to/web/server/pages;
index index.php index.html index.htm;
}
location ~ [^/]\.php(/|$) {
@acuervoa
acuervoa / nginx.conf
Created November 15, 2018 09:35
nginx.conf
user <username> staff;
worker_processes 1;
error_log /usr/local/var/log/nginx/error.log debug;
events {
worker_connections 1024;
}
http {
server_names_hash_bucket_size 128;
@acuervoa
acuervoa / index.html
Created January 4, 2018 16:37
HTML: Código Básico
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
</body>
</html>