Skip to content

Instantly share code, notes, and snippets.

Hugo hugovk

  • Nord Software
  • Helsinki, Finland
Block or report user

Report or block hugovk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hugovk
hugovk / whatfreshhell.json
Created Nov 21, 2016
1. Create a new Twitter bot account 2. Sign in to http://cheapbotsdonequick.com 3. Paste this code in there and away you go! (re: https://twitter.com/Fritinancy/status/800489538254606336)
View whatfreshhell.json
{
"note:": ["Different number of spaces, to avoid duplicated tweets"],
"origin": [
"What#space#Fresh#space#Hell?"
],
"space": [
" ",
" ",
@hugovk
hugovk / dunebot.json
Created Oct 6, 2016
"WLTS a bot like @PotterPapers but for Dune novels." https://twitter.com/Marktech/status/783766409142820864
View dunebot.json
{
"origin" : [
"#firstNames# of Dune",
"#personalNouns.capitalize.s# of Dune",
"#adjs.capitalize# #venues.capitalize# of Dune"
],
"firstNames" : [
"Aaliyah",
"Aaron",
"Abby",
@hugovk
hugovk / StartPoll.py
Created Jun 9, 2016
Twitterの投票機能 投票を発行(対策された?, あとで修正します)
View StartPoll.py
def StartPoll():
from requests_oauthlib import OAuth1Session
#端末向けの公式アプリ系のCK/CSじゃないとダメ(デフォルトでTwitter for iPhone)
CK = 'IQKbtAYlXLripLGPWd0HUA'
CS = 'GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU'
AT = ''
AS = ''
auth = OAuth1Session(CK, CS, AT, AS)
@hugovk
hugovk / twitter_archiver.py
Created May 11, 2016 — forked from jehiah/twitter_archiver.py
python script to archive your tweets
View twitter_archiver.py
#!/usr/bin/env python
"""
twitter_archiver.py written by Jehiah Czebotar 2010 <jehiah@gmail.com> http://jehiah.cz/
this uses the great 'python twitter tools' library by Mike Verdone
http://mike.verdone.ca/twitter/
usage:
$ pip install twitter
@hugovk
hugovk / pilgrims-progress-capped-hyphenated-edited.txt
Last active Feb 25, 2016
The Pilgrim's Cutthroats: potential cutthroat compounds found in the complete works of John Bunyan, including The Pilgrim's Progress
View pilgrims-progress-capped-hyphenated-edited.txt
The Pilgrim's Cutthroats: potential cutthroat compounds found in the complete works of John Bunyan, including The Pilgrim's Progress
Source: https://www.gutenberg.org/ebooks/6049
Clip-promise, "a notorious villain"
Mr. Dam-man, commissioner, trier, high Calvinist, immoral in conduct
Mr. Forget-good, "He could remember nothing but mischief, and to do it with delight."
Mr. Fri-babe, "free-babe"?, commissioner, trier, high Calvinist, immoral in conduct
Lord Hate-good, a judge
Mr. Hate-light, a juror
@hugovk
hugovk / tweetables.py
Created Dec 17, 2015
Split a text into sentences shorter than 140 characters.
View tweetables.py
#!/usr/bin/env python
# encoding: utf-8
"""
Split a text into sentences shorter than 140 characters.
You'll need to first install TextBlob by running:
pip install -U textblob
Then stick your text into the text bit below and run this script:
python tweetables.py
@hugovk
hugovk / schbot_trends.txt
Last active Nov 30, 2015
UK and US Twitter trends from 26 Jan - 30 Nov 2015, one logged per hour (except the first few include World, France and Sweden WOEIDs) by https://twitter.com/botschmot
View schbot_trends.txt
@hugovk
hugovk / todayschallenge.py
Created Sep 3, 2015
Convert the letters of your full name into numbers, add them together, & determine the prime factorization of the sum
View todayschallenge.py
#!/usr/bin/env python
# encoding: utf-8
"""
Today's challenge:
Convert the letters of your full name into numbers, add them together,
& determine the prime factorization of the sum
https://twitter.com/todayschallenge/status/638713672278351875
https://twitter.com/todayschallenge/status/639075809060356096
"""
@hugovk
hugovk / HOLD-DOOR-1801.jpg
Last active Aug 29, 2015
Cutthroats: A supplement to Johnson's English dictionary (1801)
@hugovk
hugovk / Vagrantfile
Created Jun 1, 2015
A Drupal Vagrantfile
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
hostname = 'myvagrant'
domain = 'example.com'
ip = '192.168.54.5'
#forwarded_port = 8080
cpus = 2
ram = 2048
You can’t perform that action at this time.