Skip to content

Instantly share code, notes, and snippets.

View christophernarciso's full-sized avatar
🌎
Working from home

Christopher Narciso christophernarciso

🌎
Working from home
View GitHub Profile
@christophernarciso
christophernarciso / install.sh
Last active June 27, 2018 21:48
Debian 8 OSbot
# Update debian
apt-get update -q -y
apt-get upgrade -q -y
apt-get dist-upgrade -q -y
# Incase debian fails to install
mkdir /dev/fuse
chmod 777 /dev/fuse
apt-get install fuse
<!--
=========================================================
* BLK Design System- v1.0.0
=========================================================
* Product Page: https://www.creative-tim.com/product/blk-design-system
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT
* Coded by Creative Tim
@christophernarciso
christophernarciso / bot.js
Created April 29, 2020 14:37
Comment Watcher for OSBot.org Script Writers
const configData = require('./config');
const webhook = require('webhook-discord');
const cloudscraper = require('cloudscraper');
const JSSoup = require('jssoup').default;
const Hook = new webhook.Webhook(configData.webhook);
const ENDING = 'page/5000/';
const THREADS = configData.threads;
const DATE_CACHE = configData.cache;
const getRandomColor = () => {
@christophernarciso
christophernarciso / index.js
Last active May 15, 2020 04:18
Rough draft runescape prime member added
const {Builder, By, Key, until, util} = require('selenium-webdriver');
const FileReader = require('filereader');
const fs = require('fs');
const config = require('./config');
let driver = new Builder().forBrowser('chrome').build();
// CONSTANTS
const RS_URL = "https://secure.runescape.com/m=weblogin/loginform?mod=twitch_integration&ssl=1&dest";
const RS_FAIL_URL = "https://secure.runescape.com/m=weblogin/login.ws";
const RS_REDIRECT_URL = "https://www.runescape.com/account/linked-accounts/twitch/played-before";
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta http-equiv="refresh" content="12">
<title>Just a moment...</title>