- Install Python 3; I've used similar code on both 3.6 as well as 3.7.
- Install https://github.com/tryolabs/requestium.git
- Make sure Chrome is installed, and insert the chromedriver file in the right directory.
- Change the necessary configuration on the script
- Run the script, preferably on the Python console directly so permission for GDPR can be given manually if relevant (see line 24 of the script)
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
{ | |
"last_generated": 1597149482, | |
"proto_name": "NL", | |
"name": "NL", | |
"code": "NL", | |
"verdenkingen_huisartsen": { | |
"values": [{ | |
"week_unix": 1583625600, | |
"incidentie": 5.7, | |
"geschat_aantal": 1094, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<!-- including ECharts file --> | |
<script src="https://cdn.jsdelivr.net/npm/echarts@4.8.0/dist/echarts.min.js"></script> | |
</head> | |
<body> | |
<!-- preparing a DOM with width and height for ECharts --> | |
<div id="chart" style="width:800px; height:400px;"></div> |
This file has been truncated, but you can view the full file.
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
[{ | |
"_id": "a7a7d2d21c571bfe62afc686b7000603", | |
"_rev": "1-23cfbb639ffebb94c2c859b91d20d8ee", | |
"timestamp": 1596990030926, | |
"data": { | |
"last_generated": 1596976498, | |
"proto_name": "NL", | |
"name": "NL", | |
"code": "NL", | |
"verdenkingen_huisartsen": { |
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
[{"id":"25ebb57d.b12ef2","type":"tab","label":"Uibuilder \"dynamic\" components","disabled":false,"info":""},{"id":"bc0ec216.f4792","type":"http in","z":"25ebb57d.b12ef2","name":"","url":"/uib-custom/components/JSONSyntaxHighlight.vue","method":"get","upload":false,"swaggerDoc":"","x":250,"y":80,"wires":[["b1e0f99a.6b8df"]]},{"id":"8bba772c.9eb008","type":"http response","z":"25ebb57d.b12ef2","name":"","statusCode":"","headers":{},"x":710,"y":80,"wires":[]},{"id":"b1e0f99a.6b8df","type":"template","z":"25ebb57d.b12ef2","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"plain","template":"<template>\n <pre class=\"syntax-highlight\" v-html=\"syntaxHighlight\">\n </pre>\n</template>\n\n<script>\nmodule.exports = {\n name: 'JSONSyntaxHighLight',\n data() {\n return {\n\n };\n },\n props: {\n prefix: {\n type: String,\n default: '',\n },\n json: {\n type: Object,\n required: true,\n },\n |
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
private void generateRecs() { | |
this.query = new SearchQuery(); | |
long longPref = Prefs.getLongPref(this, Prefs.RECS_DATE); | |
if (longPref <= 0 || new Date().getTime() - longPref >= DateUtils.MILLIS_PER_DAY) { | |
try { | |
List<WorkItem> loadAll = ((ReaderApplication) getApplication()).openDb().getWorkItemDao().loadAll(); | |
int i = 0; | |
for (WorkItem workItem : loadAll) { | |
StringBuilder stringBuilder = new StringBuilder(); | |
SearchQuery searchQuery = this.query; |
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
from .av_speech_synthesis_voice import AVSpeechSynthesisVoice | |
from .av_speech_synthesis_voice_quality import AVSpeechSynthesisVoiceQuality | |
from .av_speech_synthesis_voice_gender import AVSpeechSynthesisVoiceGender | |
from .av_speech_utterance import AVSpeechUtterance | |
from .av_speech_synthesizer import AVSpeechSynthesizer | |
__all__ = [ | |
"AVSpeechSynthesisVoice", | |
"AVSpeechSynthesisVoiceQuality", | |
"AVSpeechSynthesisVoiceGender", |
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
// ==UserScript== | |
// @name Tumblr flagging checker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2.3 | |
// @updateURL https://https://gist.githubusercontent.com/boisei0/2ea7d7145d04a1cc5864d316271d09fd/raw/tumblr_flagging_score_checker.js | |
// @description Will test posts and displays the scores for NSFW/explicit content and if they got flagged | |
// @author Lena (flight-of-the-felix.tumblr.com) | |
// @match https://www.tumblr.com/dashboard | |
// @grant GM_xmlhttpRequest | |
// @grant GM_addStyle |
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
// ==UserScript== | |
// @name Tumblr score checker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Will test posts and displays the scores for NSFW/explicit content and if they got flagged | |
// @author You | |
// @match https://www.tumblr.com/dashboard | |
// @grant GM_xmlhttpRequest | |
// @connect tumblr.com | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Slackdeletron file nuke | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Nuke all files in any slackdeletron search... | |
// @author You | |
// @match https://www.slackdeletron.com/ | |
// @grant none | |
// ==/UserScript== |
NewerOlder