This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* rotary_encoder.c | |
* | |
* (c) 2009 Daniel Mack <daniel@caiaq.de> | |
* Copyright (C) 2011 Johan Hovold <jhovold@gmail.com> | |
* | |
* state machine code inspired by code from Tim Ruetz | |
* | |
* A generic driver for rotary encoders connected to GPIO lines. | |
* See file:Documentation/input/rotary-encoder.txt for more information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=function(){ | |
b=document.querySelectorAll('button.connect'); | |
for(var i =0; i < b.length; i++) { | |
b[i].click(); | |
console.log(b[i]); | |
} | |
document.querySelector('span.new-updates').click(); | |
} | |
c = setInterval(a,10000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=function(){ | |
b= document.querySelectorAll('a.primary-action-button'); | |
for(var i =0; i < b.length; i++) { | |
if(b[i].innerHTML =="Connect"){ | |
b[i].click(); | |
console.log(b[i]); | |
} | |
} | |
nbr = document.querySelector('li.active').innerHTML; | |
nbr++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all= document.querySelectorAll('a[aria-checked="false"]'); | |
for (i=0;i<all.length;i++){ | |
all[i].click(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//viadeo: | |
a= function (){var connectBtns = document.getElementsByClassName('js-welcome-back-send-dcr'); for(var i =0; i < connectBtns.length; i++) { console.log(connectBtns[i]);connectBtns[i].click()} window.scrollTo(0,0);window.scrollTo(0,document.body.scrollHeight); } | |
b=setInterval(a,2000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//linkedin cancel invitation limit | |
a = function (){ | |
var n = 0; | |
var e = document.getElementsByClassName('entity-checkbox'); | |
for(var i =0; i < e.length; i++) { | |
if (e[i].parentNode.children[1].firstChild.innerHTML.indexOf('@') != -1) { | |
e[i].click(); | |
n++; | |
if (n == 40) break; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// linkedin ciblé | |
var win=0; | |
var los=0; | |
a= function (){ | |
var connectBtns = document.getElementsByClassName('bt-request-buffed'); | |
for(var i =0; i < connectBtns.length; i++) { | |
d=connectBtns[i].parentNode.firstChild.firstChild.childNodes[1].firstChild.innerHTML.toLowerCase(); | |
console.log(d); | |
if( d.indexOf("journaliste") >= 0 || d.indexOf("redacteur") >= 0 || d.indexOf("pigiste") >= 0 ){ | |
win++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a= function (){var connectBtns = document.getElementsByClassName('bt-request-buffed'); for(var i =0; i < connectBtns.length; i++) { console.log(connectBtns[i].title);connectBtns[i].click()}document.getElementById('container').style.height = "1000px"; window.scrollTo(0,0);window.scrollTo(0,document.body.scrollHeight); } | |
b=setInterval(a,5000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://www.linkedin.com/profile/edit | |
a= setInterval("document.querySelector('button.endorse-action').click()",200) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/sbin/iptables -t nat --flush | |
iptables --flush | |
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o vmbr0 -j MASQUERADE | |
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE | |
/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o vmbr0 -j SNAT --to PUBLIC_IP |
OlderNewer