Skip to content

Instantly share code, notes, and snippets.

@webprogramozo
webprogramozo / init.c
Created May 7, 2024 22:12 — forked from wrdg/init.c
Customizable spawn loadouts for regular and donator players; changes/additions to init.c
//* Script: Customizable spawn loadouts for regular and donator players
//* Author: Wardog
//* Donate: https://wrdg.net/donate
//*
//* Notes: Creates a directory in the Server Profile folder called SpawnLoadout. You can change these files in
//* in real time, without restarting the server to take effect.
//*
//* ./SpawnLoadout/CommonItems.txt = items spawned between both donators and regulars
//* ./SpawnLoadout/Regular.txt = loadout for regular players
//* ./SpawnLoadout/Donators/STEAMIDHERE.txt = directory where steam id files go for donators; loadouts for donators

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "your_email@example.com"
@webprogramozo
webprogramozo / javascriptclass.js
Last active December 20, 2020 23:03 — forked from somahargitai/javascriptclass.js
Read this.baseURL
const async = require('async');
class demoClass {
constructor(con) {
this.constantVariable = con;
const that = this;
this.q = async.queue(function(input, cb){
that.processFunc(input, cb);
//vagy that.processFunc.apply(that, arguments);
}, 1);