Skip to content

Instantly share code, notes, and snippets.

View leovarmak's full-sized avatar
🎯
Focusing

Karthik Varma leovarmak

🎯
Focusing
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title>Testing something</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://alexgibson.github.io/notify.js/js/notify.js"></script>
<script>
$(document).ready(function(){
var date = new Date('November 21, 2016');
if (date.getDate() == new Date().getDate()) {
var proxyJsonp="https://script.google.com/macros/s/AKfycbwmqG55tt2d2FcT_WQ3WjCSKmtyFpkOcdprSITn45-4UgVJnzp9/exec";
jQuery.ajaxOrig=jQuery.ajax;jQuery.ajax=function(a,b){function d(a){a=encodeURI(a).replace(/&/g,"%26");return proxyJsonp+"?url="+a+"&callback=?"}var c="object"===typeof a?a:b||{};c.url=c.url||("string"===typeof a?a:"");var c=jQuery.ajaxSetup({},c),e=function(a,c){var b=document.createElement("a");b.href=a;return c.crossOrigin&&"http"==a.substr(0,4).toLowerCase()&&"localhost"!=b.hostname&&"127.0.0.1"!=b.hostname&&b.hostname!=window.location.hostname}(c.url,c);c.proxy&&0<c.proxy.length&&(proxyJsonp=c.proxy,"object"===typeof a?
a.crossDomain=!0:"object"===typeof b&&(b.crossDomain=!0));e&&("object"===typeof a?a.url&&(a.url=d(a.url),a.charset&&(a.url+="&charset="+a.charset),a.dataType="json"):"string"===typeof a&&"object"===typeof b&&(a=d(a),b.charset&&(a+="&charset="+b.charset),b.dataType="json"));return jQuery.ajaxOrig.apply(this,arguments)};jQuery.ajax.prototype=new jQuery.ajaxOrig;jQuery.ajax.prot
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
getStats(); //Executes the function to get stats from the steam gauge API
setInterval(function(){ // This functions automatically
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://rawgit.com/leovarmak/fb90d3f8323a0236ed17e707c83ecce7/raw/11e9a5bf58f30abe2cdf59ff5df4cd6a8c8ae26e/jquery.ajax-cross-origin.min.js"></script>
<script>
$(document).ready(function(){
getStats();
/*
jQuery AJAX Cross Origin v1.3 (http://www.ajax-cross-origin.com)
jQuery plugin to bypass Same-origin_policy using Google Apps Script.
references:
http://en.wikipedia.org/wiki/Same-origin_policy
http://www.google.com/script/start/
(c) 2014, Writen by Erez Ninio. site: www.dealhotelbook.com
<iframe height="1270" width="720" src="https://bot.api.ai/09bcd0b0-613f-43b3-98f2-a2bf22db9f3f"></iframe>
<html>
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=IN&source=ac&ref=qf_br_asin_til&ad_type=product_link&tracking_id=ameworschnew-21&marketplace=amazon&region=IN&placement=B01FM8M0XE&asins=B01FM8M0XE&linkId=2407a9872fd34b8530a11f928a7196e3&show_border=true&link_opens_in_new_window=true&price_color=333333&title_color=0066C0&bg_color=FFFFFF">
</iframe>
</html>
@leovarmak
leovarmak / hello.html
Last active September 11, 2017 15:23
test test
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mining Simulator</title>
</head>
<body class="pushmenu-push">
<style type="text/css">
body{background:#fff;text-align:center;font-weight:normal;font-size:16px;line-height:1;color:#524e4e;cursor:default;position:relative;margin:0 auto;width:auto;text-align:center;min-width:340px;overflow-y:scroll;}[v-cloak]{display:none;}.text-center{text-align:center;}.loader{border:12px solid #f3f3f3;border-top:12px solid #fbc342;border-radius:50%;width:120px;height:120px;animation:spin 2s linear infinite;margin:100px auto;}@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}.loadingFrame{width:100%;}::selection{background:#fba342;color:#fff;}::-moz-selection{background:#fba342;color:#fff;}:focus{outline:0;}::-webkit-input-placeholder{color:#bababa;font-style:italic;font-size:16px;font-weight:300;}:-moz-placeholder{color:#bababa;font-style:italic;font-size:16px;font-weight:300;}::-moz-placeholder{color:#bababa;font-style:italic;font-size:16px
{
"name": "libert",
"version": "1.0.0",
"description": "Get eBooks for free, easily",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "Samarth Jajoo",
@leovarmak
leovarmak / index.pug
Last active September 11, 2017 13:56
doctype html
html(lang='en')
head
title Mining Simulator
link#css(href='Dashboard_on_NiceHash_files/style.css', rel='stylesheet', type='text/css')
link#css(href='Dashboard_on_NiceHash_files/style-lang.css', rel='stylesheet', type='text/css')
meta(content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no', name='viewport')
script(src='Dashboard_on_NiceHash_files/jquery.min.js', type='text/javascript')
script(src='Dashboard_on_NiceHash_files/jquery-ui.min.js', type='text/javascript')
script(src='Dashboard_on_NiceHash_files/utils.js', type='text/javascript')