start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
/** | |
* LDAP PHP Change Password Webpage | |
* @author: Matt Rude <http://mattrude.com> | |
* @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
* | |
* | |
* GNU GENERAL PUBLIC LICENSE | |
* Version 2, June 1991 |
List some crypto libraries for JavaScript out there. Might be a bit out dated. Scroll to the bottom.
http://www.w3.org/TR/WebCryptoAPI/
This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\SESSION_NAME] | |
; Default Foreground | |
"Colour0"="217,216,216" | |
; Default Bold Foreground | |
"Colour1"="217,216,216" | |
; Default Background | |
"Colour2"="28,28,28" |
by xero updated 10.29.24
#!/bin/bash | |
web_service='nginx' | |
config_file="/usr/local/etc/le-renew-webroot.ini" | |
le_path='/opt/letsencrypt' | |
exp_limit=30; | |
if [ ! -f $config_file ]; then | |
echo "[ERROR] config file does not exist: $config_file" |
location ~ ^/private/.*[.]html$ { | |
try_files /$d_pelican$uri /$d_pelican$uri/index.html /_web$uri @tryredir; | |
# can check $request_filename | |
set $h_robots "noindex, nofollow, noarchive, nosnippet, none"; | |
expires 5m; | |
max_ranges 0; | |
header_filter_by_lua_block { | |
local pcre = require "pcre" | |
if ngx.var.http_accept_language == nil then | |
return ngx.exit(403) |
Hetzner no longer offers direct install of FreeBSD, but we can do it ourselves. Here is how :)
Boot the Hetzner server in Hetzner Debian based rescue mode. ssh into it.
The Hetzner rescue image will tell you hardware details about the server in the login banner. For example, with one of my servers I see: