Skip to content

Instantly share code, notes, and snippets.

View TroublesNCuddles's full-sized avatar
🏠
Chilling it with a Red Bull, A Burger and my Keyboard

Liara Gonzalez TroublesNCuddles

🏠
Chilling it with a Red Bull, A Burger and my Keyboard
View GitHub Profile
const isRegularCharacter = char => {
const code = char.charCodeAt(0);
return (code > 64 && code < 91) || (code > 96 && code < 123);
};
const mock = (str) => {
let count = 0;
return str.split("")
const isRegularCharacter = char => {
const code = char.charCodeAt(0);
return (code > 64 && code < 91) || (code > 96 && code < 123);
};
const mock = (str) => {
let count = 0;
return str

Scaleform: mp_car_stats_01

Scale

Citizen.CreateThread(function()
    function Initialize(scaleform)
        scaleform = RequestScaleformMovie(scaleform)
        while not HasScaleformMovieLoaded(scaleform) do
            Citizen.Wait(0)
        end
        PushScaleformMovieFunction(scaleform, "SET_VEHICLE_INFOR_AND_STATS")
function LoadModel (model)
if not IsModelInCdimage(model) then return end
RequestModel(model)
while not HasModelLoaded(model) do Citizen.Wait(0) end
return model
end
const {MongoClient} = require('mongodb');
const MONGODB_URI = 'mongodb://localhost:27017/KoalatyEconomy';
const LOWEST_NUMBER = '0000000';
const MAX_NUMBER = 9999999;
const MAX_BATCH_SIZE = 98000;
const AREA_CODES = [420, 469];
const generateNumbers = (area_codes) => {
let numbers = [];
const {MongoClient} = require('mongodb');
const MONGODB_URI = 'mongodb://localhost:27017/KoalatyEconomy';
const LOWEST_NUMBER = '0000000';
const MAX_NUMBER = 9999999;
const MAX_BATCH_SIZE = 98000;
const AREA_CODES = [420, 469];
const generateNumbers = (area_codes) => {
let numbers = [];
const AVAILABLE_LETTERS = [
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'
];
const CURRENT_STATE = [0, 0, 0, 0, 0, 0, 0];
const PLATES = [];
const incrementCurrent = () => {
CURRENT_STATE[CURRENT_STATE.length - 1]++;
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
/*
*
* DEPENDENCIES
*
*/
const fs = require('fs');
const path = require('path');
const JustAnotterPlatform = require('../src/index.js');
const {Logger, LEVELS: LogLevels} = require('../src/utilities/logger.js');
const {mergeDeep} = require('../src/utilities/index.js');
/**
*
* REQUIREMENTS
*
*/
const {build: buildEnvironmentConfig} = require('./bootstrap/environment.js');
const {build: buildFileConfiguration} = require('./bootstrap/flatfile.js');
const {LOG_LEVELS} = require('../src/javascript/shared/constants/index.js');
const {general: {mergeDeep, fetchValueFromObject, fillObject}} = require('../src/javascript/shared/utilities/index.js');
const NPMPackageJSON = require('../package.json');