Skip to content

Instantly share code, notes, and snippets.

View theabbie's full-sized avatar
❤️
Playing With Life Since 2002

Abhishek Choudhary theabbie

❤️
Playing With Life Since 2002
View GitHub Profile
@theabbie
theabbie / index.html
Created June 11, 2020 08:23
TheAbbie Story
<!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">
#include <stdio.h>
#include <string.h>
void main() {
int top = -1;
int MAX = 10;
int flag = 1;
char stack[MAX];
char str[MAX];
@theabbie
theabbie / CryptoCRIT.md
Last active October 19, 2020 11:14
CryptoCRIT

CryptoCRIT

CryptoCRIT

CryptoCRIT - An open-source Cryptocurrency project | Product Hunt Embed

Introduction

CryptoCRIT is an open-source Cryptocurrency project which facilitates a Cryptocurrency wallet for making payments. The associated Cryptocurrency is called CritCoin.

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<math.h>
#include<dos.h>
void main()
{
int x,y,xa,ya,xb,yb,dx,dy,choice,p;
float xinc,yinc;
@theabbie
theabbie / index.js
Created September 13, 2020 20:51
Devrant Rant Generator
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(' ');
@theabbie
theabbie / index.js
Last active September 22, 2020 15:06
Bot that searches and posts memes for you
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")
@theabbie
theabbie / index.js
Last active September 25, 2020 06:08
DevRant Wikipedia Bot
var app = require('express')();
var devRant = require("rantscript");
const Fs = require('fs')
const Path = require('path')
const Axios = require('axios')
const cheerio = require("cheerio")
var url = require("url");
async function load(url) {
@theabbie
theabbie / Leaderboard.md
Created October 1, 2020 04:18
DevRant User Leaderboard
  1. @linuxxx: 154014
  2. @Root: 67322
  3. @Stuxnet: 64419
  4. @C0D4: 59530
  5. @AlgoRythm: 47647
  6. @yellow-dog: 47061
  7. @Haxk20: 44972
  8. @dfox: 44267
  9. @Linux: 44191
  10. @tahnik: 40389
@theabbie
theabbie / Leaderboard.md
Created October 1, 2020 04:50
DevRant Earliest Users Leaderboard
  1. @dfox: 44267
  2. @deskwarrior: 58
  3. @coder: 229
  4. @Jumpshot44: 11612
  5. @trogus: 14134
  6. @wayfare: 30
  7. @rogusdev: 41
  8. @wrparrish: 11
  9. @jsjunkie: 1100
  10. @stevenbb: 46