This file contains hidden or 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
* Installation | |
``` | |
git clone https://pagure.io/fpaste.git | |
sudo make install | |
``` | |
* Usage |
This file contains hidden or 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
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" | |
This file contains hidden or 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
#!/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>" | |
} |