Skip to content

Instantly share code, notes, and snippets.

View lucasdcrk's full-sized avatar
🧑‍💻
Working on Netweak

Lucas Decrock lucasdcrk

🧑‍💻
Working on Netweak
View GitHub Profile
@lucasdcrk
lucasdcrk / epiwall.sh
Last active September 24, 2019 15:23
cd ~
wget https://labs.fbi.ovh/epiwall/wallpaper.jpg
xfconf-query --channel xfce4-desktop --property /backdrop/screen0/monitor0/image-path --set wallpaper.jpg
rm wallpaper.jpg
const rp = require('request-promise');
const config = require('./config');
let get_token = new Promise(function (resolve, reject) {
rp({
uri: `https://sync.bankin.com/v2/authenticate?client_id=${config.client.id}&client_secret=${config.client.secret}&email=${config.credentials.email}&password=${config.credentials.password}`,
method: 'POST',
headers: {
'User-Agent': config.headers.user_agent,
'Accept': 'application/json, text/plain, */*',
var allLinks = $('a.thread-title--list').map(function(i,el) { return $(el).attr('href'); }).get();
allLinks.forEach((e) => { $.post(e+'/vote/up/list', { url: e+'/vote/up/list' }, function(data) {
console.log(data)
}); })
/*!
* freebie_15_error_pages - v1.0.0
* @author pixelcave
* Copyright (c) 2018
*/.h1,.h2,.h3,.h4,.h5,.h6,body,h1,h2,h3,h4,h5,h6,html{font-family:Muli}strong{font-weight:600}.text-white-90{color:rgba(255,255,255,.9)}.btn{font-weight:600}.vh-100{min-height:100vh}.bg-image{background-position:0 50%;background-size:cover}