I hereby claim:
- I am theabbie on github.
- I am theabbie (https://keybase.io/theabbie) on keybase.
- I have a public key ASCFVfM5X3QlT3kzUtRjDAHPmDO2gjhQde0Kw3kUQWL-8Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
I am theabbie on github.
I am theabbie (https://keybase.io/theabbie) on keybase.
I have a public key ASC48kHwNzQ0ZXr8Y8ZBzNSMJdAcI1uhhT32oKaQ8exCeAo
var fs = require("fs"); | |
var scores = {}; | |
var days; | |
var libs = []; | |
var lib_app = []; | |
var file = 'f_libraries_of_the_world.txt'; | |
fs.readFile(file,'utf8', function(err, data) { | |
var lines = data.split("\n"); |
var fs = require("fs"); | |
var file = 'b_dream.txt'; | |
fs.readFile(file,'utf8', function(err, data) { | |
var w = parseInt(data.split("\n")[0].split(" ")[0]); | |
var h = parseInt(data.split("\n")[0].split(" ")[1]); | |
var devlen = parseInt(data.split("\n")[h+1]); | |
var devs = data.split("\n").slice(h+2,h+2+devlen).map(function(x) {return {"company": x.split(" ")[0],"bonus": parseInt(x.split(" ")[1]),"skills": x.split(" ").splice(3),"dev": true}}); | |
var pmlen = parseInt(data.split("\n")[h+2+devlen]); | |
var pms = data.split("\n").slice(h+3+devlen,h+3+devlen+pmlen).map(function(x) {return {"company": x.split(" ")[0],"bonus": parseInt(x.split(" ")[1]),"dev": false}}) |
This App Will Guess Your Gender using Machine Learning
A Pen by abhishek chaudhary on CodePen.
<!doctype html> | |
<html ⚡ lang="en"> | |
<head> | |
<title> | |
TheAbbie: Story | |
</title> | |
<meta charset="utf-8" /> | |
<link rel="canonical" href="/story"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
This App Will Guess The Letter You draw using Machine Learning
A Pen by abhishek chaudhary on CodePen.
var app = require('express')(); | |
var axios = require("axios"); | |
var cheerio = require("cheerio"); | |
var mkvtext = require("theabbie").text; | |
app.get("/*", async function(req,res) { | |
var $ = cheerio.load((await axios("https://devrant.com/search?term="+req.query.id)).data); | |
var data = $('.rantlist-title-text').map((i,el)=>$(el).text()).get().join(" ").toLowerCase().replace(/[^a-zA-Z0-9\s\:]*/g,"").replace(/\r\n/g, '\n').replace(/\t+/g,"").split('\n').filter(x => /\w/.test(x)).join(' '); |
var app = require('express')(); | |
var devRant = require("rantscript"); | |
const Fs = require('fs') | |
const Path = require('path') | |
const Axios = require('axios') | |
const cheerio = require("cheerio") | |
async function load(url) { | |
const writer = Fs.createWriteStream("meme.jpg") |