Skip to content

Instantly share code, notes, and snippets.

@hjhee
hjhee / docker-compose.yml
Created March 24, 2021 08:10
A docker compose configuration for nginx & php-fpm via unix socket
# tutorial: https://www.pascallandau.com/blog/php-php-fpm-and-nginx-on-docker-in-windows-10/
version: '3'
services:
php-fpm:
image: php:7.4-fpm-alpine
container_name: php-fpm
volumes:
- type: bind
source: $HOME/dev/soap
target: /var/www
@hjhee
hjhee / svcdisablelist.txt
Created October 28, 2017 07:44
Windows 10 2016 LTSB Service Disable List
AJRouter
ALG
AppMgmt
BthHFSrv
bthserv
PeerDistSvc
CertPropSvc
NfsClnt
MapsBroker
lfsvc
@hjhee
hjhee / dissolve_ragdolls.sp
Last active June 21, 2017 14:53
Dissolve Common Infected Ragdolls
// #pragma newdecls required
#include <sourcemod>
#include <sdktools>
#include <smlib>
#define PLUGIN_VERSION "0.1.3"
public Plugin myinfo={
name="[L4D] Dissolve Ragdolls",
author="hjhee",
description="Dissolve Common Infected Ragdolls.",
@hjhee
hjhee / maxintensity.sp
Created June 9, 2017 01:56
allow changing sb_force_max_intensity without cheat
#include <sourcemod>
#define PLUGIN_VERSION "0.0.1"
public Plugin myinfo={
name="L4D2 force_max_intensity",
author="hjhee",
description="Allow changing sb_force_max_intensity without cheat",
version=PLUGIN_VERSION,
url="None"
}
@hjhee
hjhee / ipcSmtpd.go
Created January 29, 2017 09:19
a smtp listener for zoneminder external record trigger
// IP Camera supports motion detection, which can be configured to send
// emails upon alarm is fired
// This go programme serve as a minimal smtp server, listening login requests
// from IP Camera, and triggers zmtrigger.pl through unix socket.
package main
import (
"github.com/op/go-logging"
"net"