Skip to content

Instantly share code, notes, and snippets.

View gpollatos's full-sized avatar
🎯
Focusing

Gerasimos Pollatos gpollatos

🎯
Focusing
View GitHub Profile
@gpollatos
gpollatos / delete_all_tweets.py
Created February 11, 2016 17:19 — forked from davej/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script will delete all of the tweets in the specified account.
You may need to hit the "more" button on the bottom of your twitter profile
page every now and then as the script runs, this is due to a bug in twitter.
You will need to get a consumer key and consumer secret token to use this
script, you can do so by registering a twitter application at https://dev.twitter.com/apps
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1)
//the following is used to generate CSS keyframe steps
//based on the example in this article:
//http://csswizardry.com/2011/10/fully-fluid-responsive-css-carousel/
var slides = 10
, steps = (4*slides)-3
, animTime = 100/ (2*(slides-1))
, count = 0
, percentCount = 0
, reverse = false
@gpollatos
gpollatos / gist:5583175
Created May 15, 2013 10:57
pom.xml for mixed java/scala project
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>YOUR_GROUP_ID</groupId>
<artifactId>scala101</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>2.10.1</scala.version>