Note
/bootfrompxe/rootfromiscsi- ip assign by
dhcp
Server
- OS: arch linux
5.2.1-arch1-1-ARCH syslinuxdnsmasq
| #/bin/bash | |
| declare -a remote_dirs=("sdcard/inshot/" | |
| "sdcard/DCIM/" | |
| "sdcard/Pictures/" | |
| "sdcard/Download" | |
| "sdcard/Movies/") | |
| bak=bak_$(date +"%Y%m%d-%H%M%S") | |
| for dir in "${remote_dirs[@]}" |
| // ==UserScript== | |
| // @name insert time | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description show current localtime | |
| // @author You | |
| // @match https://github.com/* | |
| // @icon https://www.google.com/s2/favicons?domain=github.com | |
| // @grant none | |
| // ==/UserScript== |
| Shader "Post/Rain" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| _Rain("Rain", 2D) = "black" {} | |
| _Ripple("Ripple", 2D) = "black" {} | |
| _NoiseTex("Noise Tex", 2D) = "black"{} | |
| _RainForce("RainForce",Range(0,1)) = 0 | |
| _RainSpeed("Rain Speed", float) = 0.1 |
| Shader "Post/Rain" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| _Rain("Rain", 2D) = "black" {} | |
| _Ripple("Ripple", 2D) = "black" {} | |
| _NoiseTex("Noise Tex", 2D) = "black"{} | |
| _RainForce("RainForce",Range(0,1)) = 0 | |
| _RainSpeed("Rain Speed", float) = 0.1 |
title Boot CentOS 7 from ISO\n Direct boot CentOS 7 from ISO file
#ISO is full path to ISO - no spaces
set ISO=/_ISO/CentOS-7.0-1406-x86_64-DVD.iso
#LBL=CD VOLUME LABEL OF THE ISO - spaces replaced by \\x20
set LBL=CentOS\\x207\\x20x86_64
map %ISO% (0xff) || echo -e $[0147]%ISO% IS NOT CONTIGUOUS! && map --mem %ISO% (0xff)
cam.depthTextureMode = DepthTextureMode.DepthNormals;float depth = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, i.uv);
float depth01 = Linear01Depth(depth);
depth = LinearEyeDepth(depth);
| [Using a socks proxy with git for the http transport](https://stackoverflow.com/questions/15227130/using-a-socks-proxy-with-git-for-the-http-transport) | |
| `ALL_PROXY=socks5://127.0.0.1:8888 git clone https://github.com/some/one.git` |
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
<Location /folder/>
ProxyPass http://test.example.com/
ProxyPassReverse http://test.example.com/
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|test.example.com/|www.example.com/folder/|i"