Deploy for developers means that we upload the changes we have on our development server or local, to production (your hosting provider usually).
There are many ways to do this: ftp, scp, Git, Fabric, Envoy, rsync, etc. Today I want to show you the script I use on every web project to upload changes, based on rsync. For me it's the easier and safer method.
Do you have a Raspberry Pi 2/3?... Then you have the best system to emulate a Commodore Amiga!
Put yourself in situation: The first time I saw the graphics of a Commodore Amiga, I played games with a CGA color palette and if you are very young and don't know how they was looking, here you have a capture:
4G networks will be a standard soon. Mode A-GPS was created by Nokia to avoid having to wait to see what we have satellites hovering above our heads in an initial process called TTFF (Time To First Fix). That's why the GPS cars without internet take longer to know this information. It's not the case of your smartphone which makes a request over the Internet via HTTP according to your location.
The cooking-hacks guys have created a great tutorial based on GPS Shield sell in their store, but perhaps we can achieve the same result in some other way or other shield.
Ghostman (on the left) receiving his brand new Raspberry Pi 3
This week gave a talk about PiKISS to several participants in the European School Robotics. I had such a good time and I thank to Bernardo for the invitation. In addition, I gave a prize of a Raspberry Pi 3 to an assistant.
Xump is a puzzle game developed in 2005 but has been improving these years thanks to its developers. It has versions for almost every platform imaginable, and among them is the Raspberry Pi.
I didn't read the story, but hey, the mechanism is very simple and does not require any knowledge, so if you want to spare your time with an addictive game, this is for you. I have also added to the list of games PiKISS. I leave you with the trailer and the download link:
Xump - The Final Run by Retroguru (Official Trailer)
When installed, type the next to get info from the video file:
MP4Box -info input.mp4
Track # 4 Info - TrackID 4 - TimeScale 1000
Media Duration 02:23:33.789 - Indicated Duration 02:23:33.789
Media Info: Language "Spanish; Castilian (spa)" - Type "sbtl:tx3g" - 204 samples
Unknown Text Stream
Size 1280 x 80 - Translation X=0 Y=455 - Layer -1
RFC6381 Codec Parameters: tx3g
Alternate Group ID 2
All samples are sync
Example of a subtitle's track
Now we look for the Track we want to extract (with the type sbtl:tx3g). If there are several, look for "samples" which are the lines that has the subtitle file. If the sample number are short, you are generally forced subtitles with important content as names, other languages ... Now we pass the ID of the track to the next instruction:
MP4Box -srt Input.mp4
MP4Box -srt 4 input.mp4 # Example