This file contains hidden or 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
--ignore-errors | |
# --no-playlist | |
# Save in ~/Videos | |
-o D:/Videos/YTDL/%(title)s_%(resolution)s_%(fps)s.%(ext)s --restrict-filenames | |
# Prefer 1080p or lower resolutions | |
-f bestvideo[ext=mp4][height<1200]+bestaudio[ext=m4a]/bestvideo[ext=webm][height<1200]+bestaudio[ext=webm]/bestvideo[height<1200]+bestaudio/best[height<1200]/best |
This file contains hidden or 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
# Default | |
IdentityFile ~/.ssh/id_rsa | |
# For Master Server @ Vultr | |
Host mastervultr xxx.xxx.xxx.xxx | |
HostName xxx.xxx.xxx.xxx | |
IdentityFile ~/.ssh/mastervultr/YOUR_ID_FILE | |
User PUT_USER_HERE | |
# For Raspberri Pi GIT Server @ Home |
This file contains hidden or 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
[filter "lfs"] | |
required = true | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
[core] | |
ignorecase = false | |
[alias] | |
find-merge = "!sh -c 'commit=$0 && branch=${1:-HEAD} && (git rev-list $commit..$branch --ancestry-path | cat -n; git rev-list $commit..$branch --first-parent | cat -n) | sort -k2 -s | uniq -f1 -d | sort -n | tail -1 | cut -f2'" | |
show-merge = "!sh -c 'merge=$(git find-merge $0 $1) && [ -n \"$merge\" ] && git show $merge'" |
This file contains hidden or 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
export type RGBColor = { | |
r: number; | |
g: number; | |
b: number; | |
} | |
class Color { | |
/** | |
* Available color names to be used in the `asName` method | |
*/ |
This file contains hidden or 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
/** | |
* Generates a linear-gradient css function to use with the css background property to display a stripes. | |
* @param {String} col1 the first colour. | |
* @param {String} col2 the second colour. | |
* @param {String} angle what angle the chevron should appear at | |
* @param {Number} iterations how many stripes you want. 7 = 4 col1, 3 col2 | |
* @returns {String} | |
* @example generateStripes("rgba(255, 255, 255, .2)", "white", "-45deg", 40) // returns "linear-gradient(-45deg,rgba(255, 255, 255, .2) 16.666666666666668%,rgba(255, 255, 255, .2) 16.666666666666668%, rgba(255, 255, 255, .2) 33.333333333333336% ,white 33.333333333333336%, white 50% ,rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 66.66666666666667% ,white 66.66666666666667%, white 83.33333333333334% ,rgba(255, 255, 255, .2) 83.33333333333334%, rgba(255, 255, 255, .2) 100% )" | |
*/ | |
export const generateStripes = (col1, col2, angle, iterations) => { |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
!!v*$3x | |
!!v*5ex | |
!!v*sex | |
!!v3$3x | |
!!v3sex | |
!!v3zex | |
!!ve$ex | |
!!ve53x | |
!!ve5ex | |
!!ves*x |
This file contains hidden or 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
"binary" | |
"css" | |
"html" | |
"script" | |
"sceneFile" | |
"text" | |
"tilemapCSV" | |
"tilemapImpact" | |
"tilemapTiledJSON" | |
"xml" |
This file contains hidden or 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
/** | |
* All the types that can be loaded with | |
* the loader plugin in Phaser 3 | |
* grouped by settings. | |
* | |
* Referencing https://photonstorm.github.io/phaser3-docs/Phaser.Loader.LoaderPlugin.html | |
*/ | |
switch(type.toUpperCase()) { | |
case "BINARY": // key url ... |
This file contains hidden or 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
; Tested and working with AHK V1.1.33.10 | |
$Space:: | |
state := GetKeyState("CapsLock", "T") | |
if state | |
Send _ | |
else | |
Send {Space} | |
return |
This file contains hidden or 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; // Import the UI module. | |
public class HealthController : MonoBehaviour | |
{ | |
public Slider HealthBar; | |
public Text HealthBarTextValue; |