Skip to content

Instantly share code, notes, and snippets.

Lin Song hwdsl2

Block or report user

Report or block hwdsl2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hwdsl2
hwdsl2 / .MOVED.md
Last active Jul 1, 2019
IPsec VPN Server Auto Setup Script for CentOS and RHEL
View .MOVED.md
@hwdsl2
hwdsl2 / nginx.conf
Last active Jul 1, 2019
Actual nginx.conf for Lin's Tech Blog (http://blog.ls20.com - click for tutorial). Published with Ghost, Nginx and ModSecurity
View nginx.conf
user nginx;
# Set this to match the number of CPU cores
worker_processes 2;
events { worker_connections 1024; }
http {
server_names_hash_bucket_size 64;
types_hash_max_size 2048;
server_tokens off;
include mime.types;
default_type application/octet-stream;
@hwdsl2
hwdsl2 / README.md
Last active Dec 7, 2016
List of malware collected in my Kippo SSH Honeypot
View README.md
@hwdsl2
hwdsl2 / nginx.conf
Last active Sep 21, 2016
Example nginx.conf for Ghost blog with Nginx and Naxsi - https://blog.ls20.com/install-ghost-0-4-with-nginx-and-naxsi-on-ubuntu/
View nginx.conf
user nginx;
worker_processes 2; # Set this equal to the number of CPU cores
events { worker_connections 1024; }
http {
server_names_hash_bucket_size 64;
types_hash_max_size 2048;
server_tokens off;
include mime.types;
default_type application/octet-stream;
sendfile on;
@hwdsl2
hwdsl2 / .MOVED.md
Last active Dec 28, 2016
Ghost Blog Auto Setup Script with Nginx and ModSecurity
View .MOVED.md
@hwdsl2
hwdsl2 / .MOVED.md
Last active Dec 28, 2016
Ghost Blog Auto Setup Script with Nginx and Naxsi
View .MOVED.md
@hwdsl2
hwdsl2 / .MOVED.md
Last active Aug 24, 2019
IPsec VPN Server Auto Setup Script for Ubuntu and Debian
View .MOVED.md
@hwdsl2
hwdsl2 / README.md
Last active Dec 7, 2016
Bash script for generating your detailed Google Voice call history
View README.md
@hwdsl2
hwdsl2 / nginx.conf
Last active Sep 21, 2016
Example nginx.conf for Ghost blog with Nginx and ModSecurity - https://blog.ls20.com/install-ghost-0-3-3-with-nginx-and-modsecurity/
View nginx.conf
user nginx;
worker_processes 2; # Set this equal to the number of CPU cores
events { worker_connections 1024; }
http {
server_names_hash_bucket_size 64;
types_hash_max_size 2048;
server_tokens off;
include mime.types;
default_type application/octet-stream;
sendfile on;
@hwdsl2
hwdsl2 / ip_update_amazon_ec2.sh
Last active Jan 26, 2018
Auto IP Update Script for Amazon EC2 Classic AND VPC instances
View ip_update_amazon_ec2.sh
#!/bin/bash
#
# Auto IP Update Script for Amazon EC2 Classic AND VPC instances
#
# For detailed instructions, please see:
# https://blog.ls20.com/bash-script-for-automatic-ip-updates-on-amazon-ec2-or-digitalocean/
#
# Copyright (C) 2013 Lin Song
#
# This program is free software: you can redistribute it and/or modify it under
You can’t perform that action at this time.