Skip to content

Instantly share code, notes, and snippets.

Avatar
🚂
I like trains

Mackaber Mackaber

🚂
I like trains
View GitHub Profile
View dict_5.txt
AAHED
AALII
AALST
AALTO
AAMSI
AAPSS
AARAU
AAREN
AARGH
AARON
@Mackaber
Mackaber / fyfacebook.js
Last active Mar 17, 2019
Facebook Block Infinitescroll
View fyfacebook.js
// ==UserScript==
// @name Facebook Block Infinitescroll
// @namespace https://mackaber.me/
// @version 0.1
// @description Blocks Facebook to infinite scroll
// @author Mackaber
// @match https://m.facebook.com/
// @grant none
// ==/UserScript==
View Multi Objective Genetic Experiments.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Mackaber
Mackaber / mexico_interest_dataset.json
Created Sep 5, 2018
Intereses tomados de facebook
View mexico_interest_dataset.json
[
{
"raw_name": "Business and industry",
"name": "Business and industry",
"path": [
"Interests"
],
"key": "Interests > Business and industry",
"parent": "Interests"
},
View reveal_secrets.js
var elements = document.querySelectorAll('*[style="display:none"]');
elements.forEach(function(el){
el.style.display = "block";
})
View Pruebas.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test
def test
print "Test"
end
@Mackaber
Mackaber / autopaint.js
Last active Apr 1, 2017
Place a pixel at /r/place automatically
View autopaint.js
function postPixel(timeout) {
setTimeout(function() {
$.getJSON('https://www.reddit.com/api/me.json', function(response){
var modhash = response.data.modhash;
$.ajax({
url: "https://www.reddit.com/api/place/draw.json",
type: 'post',
data: {
x: 634,
y: 354,
@Mackaber
Mackaber / parser.rb
Created Sep 23, 2016
Quick script for parsing the new_fields file
View parser.rb
f = File.open("nuevos_campos.txt")
f.each_line do |line|
unless line == "\n"
text = line.chomp.split(",")
field_name = text[1].downcase.gsub(" ","_")
case text[2]
when "Select"
field_type = "numeric"
field_test = "`1`"
View reddit_pwn.css
/* THIS IS ONLY A PROOF OF CONCEPT PLEASE DON'T USE IT FOR EVIL,
I'M NOT RESPONSIBLE FOR YOUR ACTIONS, THIS IS ONLY FOR EDUCATION
PURPOSES ONLY!!!!*/
.usertext-buttons button {
font-size: 0px;
right: 0px;
top: 33px;
width: 44px;
position: absolute;