Product: Sagitta Invictus (PN S2440X-GTX-1080)
Software: Hashcat 3.00-beta-116-g9a54829, Nvidia driver 367.18
Accelerator: 1x Nvidia GTX 1080 Founders Edition
#!/usr/bin/env ruby | |
require 'base64' | |
require 'openssl' | |
require 'net/http' | |
require 'ipaddr' | |
require 'json' | |
def handle_response(body) | |
raw = Base64.decode64(body) | |
rsa_key = OpenSSL::PKey::RSA.new(File.read('public_key.pem')) |
Product: Sagitta Invictus (PN S2440X-GTX-1080)
Software: Hashcat 3.00-beta-116-g9a54829, Nvidia driver 367.18
Accelerator: 1x Nvidia GTX 1080 Founders Edition
#pragma once | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <type_traits> | |
typedef uint32_t khint_t; | |
typedef khint_t khiter_t; |
ffmpeg -re -i http://url.com/playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4 |
'use strict'; | |
const parseExpression = require("./parse-expression"); | |
function findAll(regex, target) { | |
let results = [], match; | |
while (match = regex.exec(target)) { | |
results.push(match); | |
} |
// this is two times as fast when compiled with -Ofast | |
// see https://graphics.ethz.ch/~cengizo/Files/Sig15PerceptualDownscaling.pdf | |
#include <stdlib.h> // malloc, EXIT_* | |
#include <string.h> // memset | |
#include <math.h> | |
#include <png.h> | |
#define SQR_NP 2 // squareroot of the patch size, recommended: 2 |
var request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip') | |
.pipe(unzip.Parse()) | |
.on('entry', function (entry) { | |
entry.pipe(csv2()).on('data', console.log); | |
}) | |
; |
var elements = Array.from(document.querySelectorAll('.js-link-block')) | |
elements.map(function (element) { | |
var nameElement = element.querySelector('.chartlist-name') | |
return nameElement && nameElement.textContent.replace(/\s+/g, ' ').trim() | |
}).forEach(function (name, i, names) { | |
if (name !== names[i + 1]) return | |
var deleteButton = elements[i].querySelector('[data-ajax-form-sets-state="deleted"]') | |
if (deleteButton) deleteButton.click() | |
location.reload() | |
}) |
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
// On the Last.FM website go to the page which lists the tracks that you have loved. | |
// Open Chrome DevTools (or Firefox or any modern browser that has a built in Javacript Console) | |
// and run the following command. | |
// This basically clicks on all the delete buttons on the page and reloads the page. | |
jQuery('.love-button--loved').each(function(_, b) { | |
b.click(); | |
}); | |
location.reload(); |