Go to advanced search

by Girtch27
Sun Apr 21, 2019 6:15 pm
Forum: General programming discussion
Topic: Github
Replies: 6
Views: 752

Re: Github

Depends how you set up the repo on github as to whether it uses SSH keys or password authentication. How do I switch to password authentication? It wasn't easy to figure out the SSH keys, generate them, find them in some file, copy and add into GitHub. If I add more repos on these existing RPis I a...
by Girtch27
Sun Apr 21, 2019 6:07 pm
Forum: General programming discussion
Topic: Github
Replies: 6
Views: 752

Re: Github

Have you been setting up ssh keys : https://github.com/settings/keys Yes, when on the RPi I couldn't get it to work with GitHub so I followed some info to manually generate and add those keys to GitHub, seemed to make sense at the time. Assumed this is how it all worked. Seems most use another meth...
by Girtch27
Sat Apr 20, 2019 10:39 pm
Forum: General programming discussion
Topic: Github
Replies: 6
Views: 752

Re: Github

I figured it out. I didn't have any SSH keys in GitHub so on the RPi I re-generated them, I have two RPis, and added each Pi's key into GitHub. First I enabled SSH under the Raspberry Pi's Configuration | Interfaces, not sure if this is required but I knew I only had Camera and VNC enabled. Then I f...
by Girtch27
Sat Apr 20, 2019 8:04 pm
Forum: General programming discussion
Topic: Github
Replies: 6
Views: 752

Github

When I try the below command, I get an error, this is my first time using git. So I definitely don't know how it works. I have an account with Github. I believe I setup the git on the raspberry pi correctly, I followed a raspberry pi beginner project to learn the basics but it doesn't really explain...
by Girtch27
Sat Apr 06, 2019 1:48 am
Forum: Python
Topic: Twython
Replies: 2
Views: 480

Re: Twython

I figured it out just now and can now tweet videos and pics to twitter! git clone git://github.com/ryanmcgrath/twython.git then run the install: cd twython sudo python3 setup.py install Yesterday I only cloned or copied twython, didn't realize I need to run the setup.py install, guess that "installs...
by Girtch27
Fri Apr 05, 2019 4:58 am
Forum: Python
Topic: Twython
Replies: 2
Views: 480

Twython

I don't think Raspbian comes with the lastest or at least a working version of Twython to upload videos to twitter. I worked this out awhile ago and had to update the default version of Twython, then I was able to upload videos to Twitter. Recently I re-installed Raspbian and tried running my python...
by Girtch27
Tue Sep 25, 2018 4:09 am
Forum: Python
Topic: Using Twython to upload video to Twitter
Replies: 11
Views: 3175

Re: Using Twython to upload video to Twitter

According to GitHub its a know issue and seems to be fixed awhile ago. I used nano and see my endpoints.py is not updated to BytesIO(), its still String command, so I used nano and updated it. That part now works but now stops for another error in Twython. So i'd like to figure out how to update all...
by Girtch27
Mon Sep 24, 2018 8:04 pm
Forum: Python
Topic: Using Twython to upload video to Twitter
Replies: 11
Views: 3175

Re: Using Twython to upload video to Twitter

I know this is old but did anyone work this out recently? I want to capture a video, which is h264, convert it to mp4 then tweet the video using python. I can tweet pictures but not videos so i'm close. See below portion of python3.5.3 and the error. I can see the video was converted to mp4 and I ca...
by Girtch27
Wed Sep 12, 2018 3:02 am
Forum: Automation, sensing and robotics
Topic: Project advice on using analog accelerometers with an ADC
Replies: 5
Views: 906

Re: Project advice on using analog accelerometers with an ADC

I'd break this up into two steps sensors&hardware vs software, assuming your University has a lab with digital storage oscilloscopes and arbitrary waveform generator. 1] Rule out software, If possible try connecting your accelerometers to an 2ch digital oscilloscopes. Use your scope to determine whi...
by Girtch27
Sat Dec 16, 2017 8:09 pm
Forum: Scratch
Topic: “Upload sound from file” in Scratch 2 freezing
Replies: 1
Views: 1958

Re: “Upload sound from file” in Scratch 2 freezing

Update, seems to be my wireless keyboard and it's touch pad. When in this dialog my touch pad and mouse left and right click buttons don't work. So I can't navigate around and it seems frozen. However the same keyboard's enter button and arrow keys do. So I can navigate with the keys and change the ...
by Girtch27
Sat Dec 16, 2017 4:40 pm
Forum: Scratch
Topic: “Upload sound from file” in Scratch 2 freezing
Replies: 1
Views: 1958

“Upload sound from file” in Scratch 2 freezing

Hi, When I try to “Upload sound from file” in Scratch 2 on a RPi3 the file open dialog opens but seems to freeze, or at least I can’t navigate to the other dir where sound files are or cancel or close the dialog. Mouse pointer moves around and time in the upper right keeps working so its Scratch 2 D...

Go to advanced search