This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions. Copy and paste the codes below: | |
cd /usr/local/src | |
# Download all needed archives, four(4) archives | |
# For PHP source | |
wget http://au1.php.net/get/php-5.6.21.tar.bz2/from/this/mirror -O php.tar.gz | |
# For curl. You can choose from any mirror site from https://curl.haxx.se/latest.cgi?curl=tar.gz&all=yes | |
wget https://dl.uxnr.de/mirror/curl/curl-7.48.0.tar.gz | |
# For libxml2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Some Notes About Free TDS | |
# # | |
# # TDS | |
# # | |
# SYBASE=$HOME/usr/lib | |
# LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# http://download.redis.io/releases/ | |
# Usage: sh compile-redis-portable.sh | |
VERSION="4.0.6" | |
INIT_PATH=`dirname "$0"` | |
INIT_PATH=`( cd "$INIT_PATH" && pwd )` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
# If no logfile is specified, syslog is used | |
# logfile: "/var/log/unbound/unbound.log" | |
verbosity: 0 | |
port: 53 | |
do-ip4: yes | |
do-udp: yes | |
do-tcp: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://mrncciew.com/2012/10/20/lightweight-to-autonomous-conversion/ | |
enable | |
#Cisco | |
sh ip int brief | |
debug capwap cli no-reload | |
debug capwap console cli | |
#tftp | |
archive download-sw /force-reload /overwrite tftp://10.10.10.1/c1140-k9w7-tar.124-25d.JA.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extra Security Headers | |
<IfModule mod_headers.c> | |
Header unset Server | |
Header set X-XSS-Protection "1; mode=block" | |
# Header always append X-Frame-Options SAMEORIGIN | |
Header set Strict-Transport-Security "max-age=10886400; includeSubDomains; preload" | |
Header set X-Content-Type-Options nosniff | |
Header set Referrer-Policy: no-referrer-when-downgrade | |
Header always set Feature-Policy "microphone 'none'; payment 'none'; sync-xhr 'self' https://yourdomainname.com" | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This script will set up an xfce desktop environment which can be | |
# accessed remotely via the x2goclient http://wiki.x2go.org/doku.php/doc:installation:x2goclient | |
export DEBIAN_FRONTEND=noninteractive; | |
apt-get update; | |
apt-get -y install software-properties-common xubuntu-desktop; | |
add-apt-repository -y ppa:x2go/stable; | |
apt-get update; | |
apt-get -y install x2goserver x2goserver-xsession; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$StorageContext = New-AzureStorageContext -StorageAccountName "xxx" -StorageAccountKey "yyy" | |
$containers = Get-AzureStorageContainer -Context $StorageContext | |
foreach ($c in $containers) { | |
"Transfer container " + $c.Name | |
$cmd = "AzCopy /Source:" + $c.CloudBlobContainer.Uri.AbsoluteUri + " /Dest:C:\myblob\" + $c.Name + " /SourceKey:yyy /S" | |
Write-Output $cmd | |
Invoke-Expression $cmd | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
_scriptver=v0.1.7 | |
# DESCRIPTION | |
# | |
# A script to automate installation of the latest pixelserv-tls test version | |
# | |
# (c) 2017-19 kvic (aka kvic-z@github) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/Entware/Entware/wiki/Install-on-Android | |
https://github.com/pfalcon/optware-android | |
https://tosiek.pl/entware-and-pyload-on-android-7-1-tv-box/ | |
https://forum.xda-developers.com/shield-tv/general/guide-run-sickbeard-transmission-t3550808 | |