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
def my_method(number: 200) | |
do_this | |
do_that | |
fix_this | |
send_results | |
end |
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
Positie | Vorige positie | Naam | Leeftijd | |
---|---|---|---|---|
1 | 1 | Kim Putters | 47 | |
2 | -- | Jaap van Dissel | 63 | |
3 | 2 | Feike Sijbesma | 61 | |
4 | 5 | Jeroen Dijsselbloem | 54 | |
5 | 3 | Herna Verhagen | 54 | |
6 | -- | Hubert Bruls | 54 | |
7 | 28 | Peter Wennink | 63 | |
8 | 13 | Frans van Houten | 60 | |
9 | 7 | Klaas Knot | 52 |
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
# Source: https://www.troyhunt.com/inside-the-cit0day-breach-collection/ | |
# Dutch article: https://www.volkskrant.nl/nieuws-achtergrond/honderden-miljoenen-inloggegevens-liggen-op-straat-ook-van-nederlandse-sites~b4c65c6a/ | |
Kapster.nl {27.403} [NOHASH] (Business)_special_for_XSS.IS.rar | |
aanmelden-swv3008.nl {5.017} [HASH+NOHASH] (NoCategory)_special_for_XSS.IS.rar | |
acz.clubkledingwinkel.nl {1.526} [HASH+NOHASH] (Organizations&Government)_special_for_XSS.IS.rar | |
afstudeerportal.nl {4.879} [HASH+NOHASH] (Business)_special_for_XSS.IS.rar | |
allesvoordekinesist.nl {6.374} [NOHASH] (Business)_special_for_XSS.IS.rar | |
artaparts.nl {2.531} [NOHASH] (Auto)_special_for_XSS.IS.rar | |
astroforum.nl {9.328} [HASH] (Boards)_special_for_XSS.IS.rar |
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
source 'https://rubygems.org' | |
ruby '2.7.1' | |
gem 'pdf-reader' | |
gem 'caxlsx' |
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
import urllib.request, json, time, sys | |
while True: | |
with urllib.request.urlopen("https://www.instagram.com/graphql/query/?query_hash=c76146de99bb02f6415203be841dd25a&variables=%7B%22id%22%3A%22402024658%22%2C%22include_reel%22%3Afalse%2C%22fetch_mutual%22%3Atrue%2C%22first%22%3A24%7D") as url: | |
doc = json.loads(url.read().decode()) | |
count = doc['data']['user']['edge_followed_by']['count'] | |
sys.stdout.write("\rRUMAG Instagram countdown: %i" % count) | |
sys.stdout.flush() | |
time.sleep(3) |
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
require 'open-uri' | |
require 'json' | |
require 'time' | |
loop do | |
doc = JSON.load(URI.open("https://www.instagram.com/graphql/query/?query_hash=c76146de99bb02f6415203be841dd25a&variables=%7B%22id%22%3A%22402024658%22%2C%22include_reel%22%3Afalse%2C%22fetch_mutual%22%3Atrue%2C%22first%22%3A24%7D&t23=#{Time.now.getutc.to_i}")) | |
count = doc['data']['user']['edge_followed_by']['count'] | |
print "RUMAG Instagram countdown: #{count}\r" | |
$stdout.flush | |
sleep 3 |
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
# Copyright 2019 - https://www.twitter.com/LoranKloeze | |
# License: MIT | |
# | |
# This script was used for collecting the data for this Dutch article: | |
# https://www.lorankloeze.nl/2019/05/06/vreemde-communicatie-websites-politieke-partijen/ | |
# | |
# Parse HAR files and print a table containg websites of Dutch political parties versus foreign requests | |
# This script answers the following question: 'To which external domains does a given website connect?' | |
# | |
# All HAR files are expected to contain the information provided by Google Chrome using the following workflow: |
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
# Copyright Loran Kloeze | |
# License: MIT | |
# 27-06-2017 | |
require 'nokogiri' | |
require 'open-uri' | |
require 'twitter' | |
require 'json' | |
while true do | |
btc = JSON.parse(open("http://api2.coindesk.com/headerchart/history?currency=BTC").read) |
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
/* | |
Tired of scrolling to one of the last photos on the page on Instagram? Let your | |
browser do the scrolling for you! | |
31-05-2017 | |
(c) 2017 - Loran Kloeze - [email protected] | |
Usage | |
- Go to https://www.instagram.com/instagram_handle/ (change instagram_handle in i.e. taylorswift) | |
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet) | |
- Select the contents of this complete file and copy/paste it to the console and hit enter |
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
/* | |
You know how Twitter never loads all the followers but you have to keep scrolling? Well, | |
this script automatically keeps scrolling to the end of the follower list. | |
30-05-2017 | |
(c) 2017 - Loran Kloeze - [email protected] | |
Usage | |
- Go to https://www.twitter.com/twitter_handle/followers (change twitter_handle in i.e. realdonaldtrump) | |
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet) | |
- Select the contents of this complete file and copy/paste it to the console and hit enter |
NewerOlder