Skip to content

Instantly share code, notes, and snippets.

@noname77
noname77 / btwifi_login.sh
Last active May 25, 2022 11:09 — forked from sscarduzio/relog.sh
BTWiFi_with_FON automatic login written as a bash script. I have this running every 10 minutes on my openwrt router
#!/bin/ash
# CONF
DBG=true
RELOG_UNAME=your@email.com
RELOG_PASSW=xxxxxxxxxxxxxxx
#dns resolution not working atm, hardcode ip:
#TODO: maybe set dns for interface temporarilt
@noname77
noname77 / build_nginx.sh
Last active April 25, 2017 19:35 — forked from Belphemur/build_nginx.sh
Compiling Nginx with LibreSSL (and http2) and neverbleed
#!/usr/bin/env bash
# adopted from https://gist.github.com/Belphemur/3c022598919e6a1788fc
# includes neverbleed patch
# names of latest versions of each package
export NGINX_VERSION=1.11.1
export VERSION_PCRE=pcre-8.38
export VERSION_LIBRESSL=libressl-2.4.1
export VERSION_NGINX=nginx-$NGINX_VERSION
@noname77
noname77 / nginx_neverbleed.diff
Last active July 7, 2016 03:20 — forked from matsumotory/add_configure_option
PATCH: nginx v1.11.1 supports neverbleed
diff -ur nginx-1.11.1/auto/modules neverbleed_nginx_patch/nginx-1.11.1/auto/modules
--- nginx-1.11.1/auto/modules 2016-05-31 14:43:50.000000000 +0100
+++ neverbleed_nginx_patch/nginx-1.11.1/auto/modules 2016-06-24 12:10:27.000000000 +0100
@@ -1119,8 +1119,10 @@
ngx_module_type=CORE
ngx_module_name=ngx_openssl_module
ngx_module_incs=
- ngx_module_deps=src/event/ngx_event_openssl.h
- ngx_module_srcs="src/event/ngx_event_openssl.c
+ ngx_module_deps="src/event/ngx_event_openssl.h \
@noname77
noname77 / README.md
Last active June 24, 2016 11:00
nginx with libressl setup for debian 8.4
  1. download 64 bit Debian 8.4 Jessie vmware image from http://www.osboxes.org/debian/#debian-8-4-jessie-vmware

Username: osboxes Password: osboxes.org Root Account Password: osboxes.org

TODO: should setup a new user or change password

  1. get sudo, add osboxes user under root ALL=(ALL:ALL) ALL