Skip to content

Instantly share code, notes, and snippets.

View leovarmak's full-sized avatar
🎯
Focusing

Karthik Varma leovarmak

🎯
Focusing
View GitHub Profile
var axios = require('axios');
var math = require('mathjs');
var mysql = require('mysql');
const express = require('express');
const app = express()
app.set('view engine', 'pug');
app.use(express.static('Dashboard_on_NiceHash_files'));
var reward;
var reward_usd;
var hashrate = 1000;
https://i.gyazo.com/1ea540ee91564e048075433d915fc172.png
<!DOCTYPE html>
<html>
<head>
<title>Koinex</title>
<script src="https://unpkg.com/moonjs/dist/moon.js"></script>
</head>
<body>
<h4>
<div id="app1">
<!DOCTYPE html>
<html>
<head>
<title>Hi</title>
<script type="text/javascript">
var data = null;
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
var unirest = require('unirest');
var prompt = require('prompt');
var typeOf = require('typeof');
const crypto = require('crypto')
const request = require('request')
var sleep = require('sleep');
function main() {
// prompt.get(['x'], function (err, result) {
// var x = parseInt(result.x);
@leovarmak
leovarmak / index.html
Created September 9, 2018 14:54
androidify
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Max</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="vanilla.js"></script>
<script src="biomp.js"></script>
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
URL for SID:
https://wsdash.bitbns.com/socket.io/?EIO=3&transport=polling&t=MO_V4QZ
URL For Trades:
https://wsdash.bitbns.com/socket.io/?EIO=3&transport=polling&t=MO_V4Up&sid=
#include <stdio.h>
void main()
{
int j,i,n;
printf("Input upto the table number starting from 1 : ");
scanf("%d",&n);
printf("Multiplication table from 1 to %d \n",n);
for(i=1;i<=10;i++)
{
for(j=1;j<=n;j++)
import time
import os
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
# Using this to check if its the first time of the day or not
# Default initiated with True.
f = open("status_storage.txt", "r")
status = f.read()
#include <stdio.h>
#include <string.h>
int main(){
char string[100];
char alphabets[26] = {'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'};
int i, j, first_string_size = 0, second_string_size = 0;
printf("\nEnter first string: ");