fuck computers all my boys hate computers
francesco149 / gweet Goto Github PK
View Code? Open in Web Editor NEWA sharenix plugin that uploads images and videos to twitter.
License: GNU General Public License v3.0
A sharenix plugin that uploads images and videos to twitter.
License: GNU General Public License v3.0
I know it defeats the purpose, but the Optional if the tweet contains at least one media file.
phrase in help text suggests that it is not a desired behavour.
$ gweet -text "test... test... test..."
gweet 1.1.0
2017/06/22 00:55:35 Loading config from /home/ale/.local/bin/gweet.json
2017/06/22 00:55:35 Initializing API interface for account iamale_ru
2017/06/22 00:55:35 Tweeting {"test... test... test...", [], lewd=false}.
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
main.(*gweet).tweet(0xc820010aa0, 0xc820012700, 0x7ffd3b57beeb, 0x17, 0xc82000a440, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/media/loli/WD-tan/coding/go/src/github.com/Francesco149/gweet/main.go:200 +0x1c41
main.main()
/media/loli/WD-tan/coding/go/src/github.com/Francesco149/gweet/main.go:262 +0x680
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/loli/go/src/runtime/asm_amd64.s:1805 +0x1
goroutine 5 [chan receive]:
github.com/ChimeraCoder/anaconda.(*TwitterApi).throttledQuery(0xc820012700)
/media/loli/WD-tan/coding/go/src/github.com/ChimeraCoder/anaconda/twitter.go:246 +0xb7
created by github.com/ChimeraCoder/anaconda.NewTwitterApi
/media/loli/WD-tan/coding/go/src/github.com/ChimeraCoder/anaconda/twitter.go:115 +0x1c6
Makoto :: ~/.sharenix % ~/.sharenix/sharenix -m="fs"
Debug: Parsing config...
Taking screenshot...
Debug: Using 1 screens
Debug: 0 X: 0 Y: 0 Width: 1366 Height: 768
Debug: Building 1366 x 768 image
Debug: Drawing (0,0)-(1366,768)
Uploading to Twitter
Debug: gweet map[_tails:$input$]
Post gweet: unsupported protocol scheme ""
Depending on contents of the screenshot, this might be undesired. However, this can be prevented (tl;dr: make some pixels semi-transparent). It might be nice to integrate this technique into your tool as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.