{
AimAssistFollowAdjustment_v1 = 0,
AimAssistFrictionAdjustment_v1 = 0,
AimAssistType_v1 = 0,
AimInterruptsReload_v1 = true,
AimResponseCurveType_v1 = 0,
AllowRightClickToCancel_v1 = false,
AnalogDeadZoneLeft_v1 = 10,
stage-api.crunchyroll.com - NOTE: Broken api-manga.crunchyroll.com - NOTE: Broken beta-api.crunchyroll.com - NOTE: Works api.crunchyroll.com - NOTE: Broken beta-stage-api.crunchyroll.com - NOTE: Broken stage-api-manga.crunchyroll.com - NOTE: Broken dev.crunchyroll.com - NOTE: Broken www.crunchyroll.com - NOTE: Semi Works
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
public lowerCaseObjectKeys<T>(object: any) { | |
// Helper function for detection objects | |
const isObject = (obj) => | |
Object.prototype.toString.call(obj) === '[object Object]'; | |
// The entry point for recursion, iterates and maps object properties | |
const lowerCaseObjectKeys = (obj) => | |
Object.fromEntries(Object.entries(obj).map(objectKeyMapper)); | |
// Converts keys to lowercase, detects object values |
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
// This is the team structure, be sure to fill in the correct players and teams. | |
export const teams = [ | |
{ | |
"Region": "South Africa", | |
"Players": [ | |
"NicmeistaR", | |
"RSA Maniac", | |
"Plain Filth", | |
"xEdgie" | |
], |
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
btoa(unescape(encodeURIComponent(` | |
I'm always talking about development on my personal Discord server: | |
[![Community](https://discordapp.com/api/guilds/514169903196930050/widget.png?style=banner2)](https://discord.gg/zdqWsRB) | |
If you want to keep track of all my projects and endeavors I am super active over on [Twitter](https://twitter.com/NicmeistaR) and I'm always happy to give advice and lend some help. | |
[NicmeistaR on Twitter 🍣](https://twitter.com/NicmeistaR) |
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
getRandom(arr, n) { | |
let result = new Array(n), | |
len = arr.length, | |
taken = new Array(len); | |
if (n > len){ | |
n = arr.length; | |
result = new Array(n); | |
} | |
// throw new RangeError("getRandom: more elements taken than available"); |
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
this.validTax = false; | |
this.taxValidator = function (taxnumber) { | |
taxnumber = taxnumber.split(""); | |
| |
var taxMultiplied = 0; | |
| |
for (let index = 0; index < taxnumber.length; index++) { | |
if ((index % 2) == 1) { | |
taxMultiplied += taxnumber[index] * 1; | |
} |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
Connect to Digitl Ocean Droplet using SSH or VS Codem once in create the deploy folder and ensure you have the below structure:
/var/www/placeholder.com/repo
/var/www/placeholder.com/temp
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 | |
# Location of our bare repository. | |
GIT_DIR="/var/www/halosouthafrica.co.za/repo" | |
# Where we want to copy our code. | |
TARGET="/var/www/halosouthafrica.co.za/temp" | |
while read oldrev newrev ref | |
do |
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
/** | |
* This returns proper names by removing dashes. | |
* | |
* @param {string} name | |
* @returns string | |
*/ | |
export function fixName(name) { | |
if (name.includes("-")) { | |
return name.split('-').join(' '); | |
} |
NewerOlder