Skip to content

Instantly share code, notes, and snippets.

View theDreamer911's full-sized avatar

Handhika Yanuar Pratama theDreamer911

View GitHub Profile
function lifePathNumber(dateOfBirth) {
let arr = dateOfBirth.split("-");
let sum = [];
const reducer = (accumulator, currentValue) => accumulator + currentValue;
for (i = 0; i < arr.length; i++) {
for (j = 0; j <= arr[i].length; j++) {
if (arr[i][j] == undefined) {
arr[i][j] = 0;
} else {
sum.push(parseInt(arr[i][j]));
const alpha = Array.from(Array(26)).map((e, i) => i + 65);
const alphabet = alpha.map((x) => String.fromCharCode(x));
console.log(alphabet);
word = "hello world what is up?";
function capitalize(words) {
let word = words.split(" ");
let capital = [];
for (i = 0; i < word.length; i++) {
capital.push(word[i].charAt(0).toUpperCase() + word[i].slice(1));
}
return capital.join(" ");
}
from webbot import Browser
from pynput.keyboard import Key, Controller
import time
username = input('Username: ')
dictionary = input('Choose Dictionary: ')
file = open(f'{dictionary}.txt', 'r')
bruteforce = []
for line in file:
line = line.strip()
var fs = require("fs");
var text = fs.readFileSync("data.txt").toString("utf-8");
var arrayText = text.split("\r\n");
console.log(arrayText);