Skip to content

Instantly share code, notes, and snippets.

View zoghal's full-sized avatar
🏠
Working from home

Saleh Souzanchi zoghal

🏠
Working from home
View GitHub Profile
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.36
export VERSION_LIBRESSL=libressl-2.1.3
export VERSION_NGINX=nginx-1.7.10
export VERSION_NGINX=nginx-$NGINX_VERSION
# URLs to the source directories for each package
export SOURCE_LIBRESSL=ftp://ftp.openbsd.org/pub/OpenBSD/LibreSSL/
@zoghal
zoghal / tutorial.md
Last active August 29, 2015 14:17 — forked from dlsniper/tutorial.md
export LANGUAGE="en_US.UTF-8" 
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
locale-gen en_US.UTF-8 
dpkg-reconfigure locales

apt-get install unzip libpcre3 libpcre3-dev libssl-dev libpcrecpp0 zlib1g-dev debhelper dh-systemd libgeoip-dev autotools-dev libgd2-noxpm-dev libluajit-5.1-dev libmhash-dev libpam0g-dev libperl-dev po-debconf libexpat-dev
@tfwio
tfwio / msys-helper.md
Last active August 29, 2015 14:10
MSYS HELPER DRAFT
@tfwio
tfwio / brotli-94000f649-w32.patch
Last active August 29, 2015 14:10
an update to https://gist.github.com/tfwio/83b2b499d5827f0d83bc since woff2 compress/decompress migrated to github.com/google/woff2
enc/block_splitter.h | 4 +++-
enc/write_bits.h | 6 +++++-
shared.mk | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/enc/block_splitter.h b/enc/block_splitter.h
index 6e4682e..0b2c7d9 100644
--- a/enc/block_splitter.h
+++ b/enc/block_splitter.h
@@ -22,7 +22,9 @@
var cssDebug = function () {
"use strict";
function init() {
select('display', 'inline').css('border', '1px dotted indigo');
select('display', 'block').css('border', '1px dotted black');
select('display', 'flex').css('border', '1px dotted ForestGreen');
}
function select(property, value) {
brotli/enc/write_bits.h | 1 -
shared.mk | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/brotli/enc/write_bits.h b/brotli/enc/write_bits.h
index cf6f53e..95b29db 100644
--- a/brotli/enc/write_bits.h
+++ b/brotli/enc/write_bits.h
@@ -21,7 +21,6 @@
#if defined(OS_MACOSX)
# Install dependencies
#
# * checkinstall: package the .deb
# * libpcre3, libpcre3-dev: required for HTTP rewrite module
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module
apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \
OLD_DIR=`pwd` && \
WDIR=~/sources/ && \
OPENSSL_VER=1.0.1h && \
@sergejmueller
sergejmueller / ttf2woff2.md
Last active March 9, 2024 13:37
WOFF 2.0 – Learn more about the next generation Web Font Format and convert TTF to WOFF2
@Noitidart
Noitidart / _template-BootstrapJSM.xpi
Last active July 22, 2018 03:30
ff-addon-template: Template for how to create a JSM module.
#fixed now!
Param(
[string]$html,
[string]$docx
)
# make the powershell process switch the current directory.
$oldwd = [Environment]::CurrentDirectory
[Environment]::CurrentDirectory = $pwd