Discover gists
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
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
this guide is not meant to help with leaking or any stupid things you might do to ruin experience for other people
- Get latest version from Github Actions not releases from here , if you dont have account you can use site like nightly.link to download it , Latest build
- Extract zip file somewhere
chrome_bBlpF4CYiz.webm.mov
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
It may be necessary at times to modify umask settings in order to allow for shared file access. | |
This sets the umask to 0022, but other variants are also possible, assuming it is a value unix umask value. | |
# sudo launchctl config user umask 022 |
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/bash | |
# Config | |
WINDOW_TITLE="Minecraft Server" | |
ONLINE_AUTH=true | |
RAM_INITIAL=512M | |
RAM_MAX=4G | |
RESTART_DELAY=10 | |
################################################################################ |
The sony bravia has a HTTP API interacted with using a Pre-Shared key. There's a more complex auth flow but I've not described it here.
There wasn't any documentation, so I've written some. If you're a TV integrator don't read this, you'll laugh. I'm probably just getting confused by UPnP.
Disclaimer: I've only tested this on my TV, which is a KDL-50W829B. Your TV might not have all of the services; see Available services section for how to discover what your TV supports.
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
``` | |
轉自網路文章,原文已被刪除 | |
``` | |
email:pianopan@beeship.com | |
[版本] -0.13 | |
[介紹] | |
gcc and g++分別是gnu的c & c++編譯器 gcc/g++在執行編譯工作的時候,總共需要4步 |
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
# Add to file: /etc/fail2ban/jail.local | |
[nginx-badbots] | |
enabled = true | |
port = http,https | |
filter = nginx-badbots | |
logpath = %(nginx_access_log)s | |
maxretry = 1 | |
findtime = 604800 | |
bantime = 604800 |
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
Show hidden characters
[ | |
// ----------------------------------------------------------------------- | |
// Vim keybindings | |
// ----------------------------------------------------------------------- | |
{ | |
// NORMAL and VISUAL modes | |
"context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu", | |
"bindings": { | |
// Tab things. Almost as good as harpoon. | |
"space 1": ["pane::ActivateItem", 0], |
NewerOlder