8/2/2023 0 Comments Drop to gif github![]() ![]() If you haven't heard of GitHub before, visit their Features page to learn more. Have you ever hit an error that you just plain hate? Back in 2006, I was learning to program Ruby and following an example from a book.GitHub is a popular development platform where you can host and review code, manage projects, and build software. Squash Unexpected-End errors with syntax_search This post is a little about why I chose CircleCI, a little about how the transition worked, and a little about nostalgia. I was recently tasked with transferring CI away from Travis for my library derailed_benchmarks and chose CircleCI. Since the slow-motion collapse of the product, developers have been pushed to other CI providers. It was so easy that it was seemingly effortless. Long live the new CI! was THE way to run CI for an open source Ruby library. Migrating a Ruby Library from TravisCI to CircleCI I’m going to start out telling you what I know for sure, dip into some unknowns, and dive into some hypotheticals for fun. ![]() Today I’m going to share my perspective on how Ruby on Rails is developed and governed and how I feel the Basecamp “incident” impacts the future of Rails. The room where it happens: How Rails gets made How to Open Source is now available for purchase at v. My book 'How to Open Source' launches today! ![]() It might be intimidating to try pairing for the first time, but as Ben puts “it’s just a way of working together.” Talking aloud forced me to refine my thoughts before typing anything. Toward the end, I finished the assignments faster when I wasn’t touching the keyboard, than I was by myself. After I got the hang of the workflow, I was surprised that even when coding in a language my pair had never written in (C or C++), they could spot bugs and problems as we went. I had never paired before but enlisted several other developers to type for me. I had to finish up the last 2 months of a graduate CS course without the ability to use a keyboard. I came to love pairing after I hurt my hands and couldn’t type. Now go out and contribute to open source so you can feel like this: Thanks for sticking around, hope you learned something. If no-one abuses this functionality, then Github won’t have reason to disable gif support. So only add them when they truly benefit the conversation and when it is tasteful. Remember that maintaining a project is tough enough without having to look at looping cats all day long. Don’t post useless or unnecessary GIFs just because you can. Remember with great GIF power comes great GIF responsibility. Submit your PR, kick back relax and enjoy the GIF you’ve bestowed upon humanity. Once you’ve done that just add it as a markdown image !(url goes here) and put it in your pull request, so this: !( ) Make sure you’ve got the direct link (it should end in a. The service allows you to drag files to your menubar and share them. Use your favorite cloud storage service here, I like Cloud App. You could drag and drop it into Github or you can upload it somewhere publicly accessible for re-use later. Now we’ve got a GIF sitting pretty around 182kb or so, but we need to put it into our PR somehow. Now you just need to post your amazing creation. Here is a shell script to do that same thing, and if you’re looking for more vibrant results this user had some helpful tips. Thanks to this poster on super user for the shorthand. Then run: $ convert -layers Optimize output.gif output_optimized.gif To cut this down to size you can use image magick: $ brew install imagemagick You’ll notice the output.gif is huge-normous, tipping the scales at over 100mb. Then navigate to the correct directory, and assuming your file is named ScreenFlow.mov you can run this to produce a GIF: $ ffmpeg -i ScreenFlow.mov -pix_fmt rgb24 output.gif First install FFMPEG: $ brew install ffmpeg You can do this, or I’ve since learned that there is a free way to do this using FFMPEG and Image Magick that actually produces a smaller file. ![]() Once I had a video I opened it up in Photoshop and used Save for Web to save as a. I took the video and then cropped it down to 560x315 and exported using H.264, this produced a teensy 619kb. Another user suggests using quicktime which can do screen recording for free. I filmed my screen using Screen Flow, which I used to do all my work on UT on Rails, it’s not free at $99, but does editing, exporting, and managed to completely displace Final Cut Pro from my workflow. For the detail oriented of you in the crowd, here it is. I’ve had a number of people ask the same question “what is your GIF workflow?”. This weekend I made my OVER 9000 pull request to Rails, that features a demo of the functionality in GIF format. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |