I hereby claim:
- I am sunred on github.
- I am sunred (https://keybase.io/sunred) on keybase.
- I have a public key ASAjfKZEoC-AK8gqyJpBbfMlaDuzNiOWwemQ1wtzECZ_Zgo
To claim this, I am signing this object:
| -- TODO: Nocollided props still trigger even with MASK_PLAYERSOLID! | |
| --------------------------------------------------------------- | |
| local ply = nil | |
| -- WeHateGarbage | |
| local t = {start=nil,endpos=nil,mask=MASK_PLAYERSOLID,filter=nil} | |
| local function PlayerNotStuck() | |
| t.start = ply:GetPos() | |
| t.endpos = t.start |
| #!/bin/bash | |
| ########### | |
| # Download public files from Google Drive using file identifier | |
| if [ $# -lt 1 ]; then | |
| echo "No argument defined. Usage: $0 fileID [destination]" >&2 | |
| echo "Try '$0 --help' for more information." | |
| exit 1 | |
| elif [ $# -gt 2 ]; then | |
| echo "Too many arguments. Usage: $0 fileID [destination]" >&2 |
| -- Create shared ConVar | |
| CreateConVar( "sv_connectsound", "1", FCVAR_REPLICATED ) | |
| -- Sound used for [dis-]connect events | |
| CreateConVar( "sv_connectsoundfile", "buttons/combine_button3.wav", FCVAR_REPLICATED ) | |
| if SERVER then | |
| util.AddNetworkString("FancyConnect.NetworkString") | |
| hook.Add("PlayerConnect", "FancyConnect.ConnectMessage", function(name) |
| /* | |
| Author: SpennyTF | |
| Contributor: SunRed | |
| How to install: | |
| Just put the file under | |
| %appdata%/Mozilla/Firefox/Profiles/<YOURPROFILE>/chrome/userChrome.css | |
| You might have to create the chrome folder. | |
| */ |
| var channels = {}; | |
| channels.required = [ | |
| // Channels you will always lurk in (as long as the list is smaller than config.maxChannels) | |
| ]; | |
| channels.pool = [ | |
| // Channels of which you randomly lurk in whenever the channels get rerolled (config.rerollCronjob) | |
| // These are used to fill the pool of channels up to the config.maxChannels value in case channels.required doesn't reach that value in size | |
| ]; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| clear | |
| function color (){ | |
| echo "\e[$1m$2\e[0m" | |
| } | |
| function extend (){ | |
| local str="$1" |
| # Set cache dir | |
| proxy_cache_path /var/cache/nginx levels=1:2 | |
| keys_zone=microcache:5m max_size=1000m; | |
| # Virtualhost/server configuration | |
| server { | |
| listen 443; | |
| listen [::]:443; | |
| server_name yourhost.domain.com; |
| #!/bin/bash | |
| set -e | |
| read -e -p "Source Directory [./]: " SOURCE | |
| SOURCE=${SOURCE:-./} | |
| read -e -p "Destination Directory [../Mirror]: " DEST | |
| DEST=${DEST:-../Mirror} | |
| if [ $# -eq 0 ] || [ -z $1 ] |
| const c = document.getElementById("particles"); | |
| const ctx = c.getContext("2d"); | |
| const maxParticles = 100 * (1/Math.pow(window.devicePixelRatio, .75)); | |
| const size = 2; | |
| const r = size/2; | |
| const cft = 1000/60; | |
| let previous, stepratio; | |
| let w, h, d; | |
| resize(); |