sourcey.com
Middleman Automated GitHub Pages Deployments with Rake | Sourcey
http://sourcey.com/middleman-automated-github-pages-deployments-with-rake
Elegant, modern design. Middleman Automated GitHub Pages Deployments with Rake. Supposing you use GitHub pages to host your middleman site, like we do, you will probably want to speed up your deployments with some rakey goodness! File in your middleman root directory:. Bundle exec middleman build". Deploy to github pages". Deploying to Github Pages". Git push origin master". Github Pages deploy complete". Build and deploy to github pages". And your changes will be live in a few moments. Easy a π!
sourcey.com
Recliner.js | Sourcey
http://sourcey.com/recliner
Elegant, modern design. Recliner is a super lightweight (1KB), jQuery plugin for lazy loading images, iframes and other dynamic (AJAX) content. The script was born out of necessity when one of our clients was experiencing massive scroll lag on the mobile version of one of their media heavy news sites. It turned out that. Was the culprit, so we tested the other lazy load scripts out there but none. Of them meet our simple criteria:. Sets stateful CSS classes on elements. Class on document load:. Recliner ...
sourcey.com
Making the World a Better Place | Sourcey
http://sourcey.com/making-the-world-a-better-place
Elegant, modern design. Making the World a Better Place. What Kind of World Do You Want to Live In? Everything in nature has a half-life depending on it’s vibrational consistency, and so it is with the technology and trends that capture our imagination one day, and fade the next. The law of entropy dictates that all things are moving towards chaos, so what happens when effects of entropy become unbearable, and the breaking point is reached? Everything collapses and we hard reset back to zero (like a defa...
sourcey.com
Dynamically Rendering AJAX Pinterest Buttons | Sourcey
http://sourcey.com/dynamically-rendering-ajax-pinterest-buttons
Elegant, modern design. Dynamically Rendering AJAX Pinterest Buttons. Is a pretty hot topic in Social Marketing right now. Their APIs and documentation are still quite underdeveloped, so over the course of my next few posts I will offering some up Pinterest hacking tips for developers. The most common way to achieve this, although it’s not my preferred way, is by using the data-pin-build attribute of the script tag to map the function for rendering dynamic buttons. Buttons can now be rendered as follows:.
sourcey.com
Android Hotizontally Scrolling Pan Scan and Zoom Image Gallery | Sourcey
http://sourcey.com/android-horizontally-scrolling-pan-scan-and-zoom-image-gallery
Elegant, modern design. Android Hotizontally Scrolling Pan Scan and Zoom Image Gallery. Since the depreciation of the Android Gallery module there has been no clear way to implement image galleries on Android, so I’m sharing my own Gallery implementation in order to fill the need. The implementation is a horizontal scrolling image gallery that consists of. Element, and a. For displaying selectable thumbnails. Inside the. View there is a modified. Android.support.v4.view.PagerAdapter. The layout consists ...
sourcey.com
LibSourcey | Sourcey
http://sourcey.com/libsourcey
Elegant, modern design. LGPL, Pro Licence. Libuv, CMake, C 11 compiler. FFmpeg ( = 2.8.3), OpenCV ( = 3.0), WebRTC, OpenSSL ( 1.0.1g), RtAudio, JsonCpp. LibSourcey is a collection of open source cross platform C 11 modules and classes that provide developers with a flexible high performance arsenal for the rapid development of real-time messaging and live media streaming applications. For media streaming applications, LibSourcey provides a simple and flexible method of capturing live audio/video streams (.
sourcey.com
Comparing Version Strings in C++ | Sourcey
http://sourcey.com/comparing-version-strings-in-cpp
Elegant, modern design. Comparing Version Strings in C. If you’re building any kind of version management system in C , such as a package manager or plugin system, then you’ll need to be able to maniulate, compare and print version strings. The. Structure below is extracted from pacm. And does exactly that:. Include cstdio #include string #include iostream. Printing version (3.7.8.0): ". Comments powered by Disqus.
sourcey.com
Pluga | Sourcey
http://sourcey.com/pluga
Elegant, modern design. LibSourcey (base, uv). Pluga is a simple C plugin system that’s dead simple to use in your own projects. It currently supports:. Loading cross-platform plugins and shared libraries. Simple and elegant API for defining plugins. Strict API versioning for ABI safety. For more information take a look at this blog post. Which talks about the concepts and mothodology behind Pluga. Clone the Pluga repository in the LibSourcey. To build Pluga tests also enable the. Fork Pluga on Github.
sourcey.com
Flash Android Sony Xperia on Linux | Sourcey
http://sourcey.com/flash-android-sony-xperia-on-linux
Elegant, modern design. Flash Android Sony Xperia on Linux. So your shiny Xperia Z3 has decided to shit itself, and is now a $600 brick. Perhaps is is stuck in a reboot loop, perhaps it just decided it just doesn’t want to switch on anymore. The time has come to Flash your device, and this is the guide that will help you do it on Linux without having to find a Windoze machine. First thing we need to do is add some udev.d rules so our USB device can be recognised:. Sudo -i # add the ruled. The FlashTool i...
sourcey.com
Simple Social Sharing Buttons Without JavaScript APIs | Sourcey
http://sourcey.com/simple-social-sharing-buttons-without-javascript-apis
Elegant, modern design. Simple Social Sharing Buttons Without JavaScript APIs. So you want to implement simple social sharing buttons on your site or application, but you don’t want the performance hit or resultant bloat from including each social network API just for these buttons. Good move! The following code works with the glorious Foundation 5 and Foundation Icons. To implement the code on your site just replace the variables in curly brackets with your own data. Share on Google ".
SOCIAL ENGAGEMENT