A reconstruction of the chart from the Recent Attacks Demonstrate Islamic State’s Ability to Both Inspire and Coordinate Terror article in The New York Times, created during the course on data visualization held at the Charles University's New Media Studies department in winter 2015.
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
'use strict' | |
const http = require('http') | |
const server = http.createServer().listen(process.env.PORT || 3000) | |
const url = require('url') | |
const TWILIO_SID = '' | |
const TWILIO_TOKEN = '' | |
const TEL_FROM = '' | |
const TEL_TO = '' |
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== | |
// @id twitter.com-0c8ee385-6991-418e-940e-106644506a90@scriptish | |
// @name Twitter Carefree | |
// @version 2016.01.03 | |
// @namespace https://jnv.github.io | |
// @description Remove stuff from Twitter, like following/followers, retweets and likes count. | |
// @include https://twitter.com/* | |
// @include https://mobile.twitter.com/* | |
// @grant GM_addStyle | |
// @license CC0 1.0; https://creativecommons.org/publicdomain/zero/1.0/ |
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
// This Source Code Form is subject to the terms of the Mozilla Public | |
// License, v. 2.0. If a copy of the MPL was not distributed with this | |
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
// ===BEGIN ICANN DOMAINS=== | |
// ac : http://en.wikipedia.org/wiki/.ac | |
ac | |
com.ac | |
edu.ac |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Podle https://gist.github.com/josefslerka/4148592 | |
## Nacteni knihoven | |
library(textcat) | |
library(tau) | |
library(wordcloud) | |
## Vytvoreni korpusu | |
# Pro texty ve Windows kodovani pouzijte encoding="cp1250" | |
mujKorpus <- Corpus(DirSource("klaus", encoding="UTF-8"), readerControl = list(language = "cz")) |
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
### Rfacebook | |
# Instalace knihovny - staci spustit jenom jednou | |
install.packages("Rfacebook") | |
# Nacteni knihovny | |
library(Rfacebook) | |
# Token ziskany z https://developers.facebook.com/tools/explorer | |
token <- "..." |
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
var thumbs = document.querySelectorAll("#gallery-view-media a[onclick^=Lightbox]"); | |
var ids = []; | |
for (var i = 0; i < thumbs.length; ++i) | |
{ | |
var item = thumbs[i]; | |
var fname = item.href.split('/').pop(); | |
var id = fname.match(/^\d+/)[0]; | |
ids.push(id); | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.