Skip to content

Instantly share code, notes, and snippets.

View surajnarwade's full-sized avatar

Suraj Narwade surajnarwade

View GitHub Profile
* Installation
```
git clone https://pagure.io/fpaste.git
sudo make install
```
* Usage
diff --git a/cmd/push.go b/cmd/push.go
index 636dc8c..07b031d 100644
--- a/cmd/push.go
+++ b/cmd/push.go
@@ -4,6 +4,7 @@ import (
"fmt"
"net/url"
"os"
+ "path/filepath"
@surajnarwade
surajnarwade / retweet_pycon.py
Created June 22, 2016 11:59
As a Social media Volunteer to Pycon India, we have to share every word by @pyconindia on twitter, so I automated this task by writing following script.
#!/bin/python
import tweepy
#following Oauth credentials can be obtained by creating twitter app
cfg = {
"consumer_key" : "<consumer_key>",
"consumer_secret" : "<consumer_secret>",
"access_token" : "<access_token>",
"access_token_secret" : "<access_token_secret>"
}