Skip to content

Instantly share code, notes, and snippets.

View roolo's full-sized avatar

Mailo Světel roolo

View GitHub Profile
@roolo
roolo / README.md
Last active December 24, 2015 17:09
CSS3 Animation demo

CSS3 Animation demo

Video on BLI.MS

@roolo
roolo / README.md
Created August 8, 2013 19:55
Way to play video on YouTube without flash

How to get it works

  1. Bookmark any page
  2. Edit it's address and paste there html5izer.js
@roolo
roolo / gist:6030223
Created July 18, 2013 15:23
ImageMagick + RMagick 2.12.2 + OS X Snow Leopard
Installing rmagick (2.12.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/mailo/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for /usr/bin/gcc-4.2... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.3.5... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
@roolo
roolo / output
Last active December 19, 2015 22:39
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 109 219 109 219 0 0 1290 0 --:--:-- --:--:-- --:--:-- 3173
Hotovo
Vystup
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>301 Moved</TITLE></HEAD><BODY> <H1>301 Moved</H1> The document has moved <A HREF="http://www.google.com/">here</A>. </BODY></HTML>
@roolo
roolo / potentiometer-n-diods.ino
Last active December 19, 2015 17:38
Arduino – Potentiometer & Diods
/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
int led1 = 2;
int led2 = 3;
@roolo
roolo / gist:5965138
Created July 10, 2013 10:07
[OSX] post-recieve git hook
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
osascript <<-EOF
tell application "System Events"
@roolo
roolo / tagger.sh
Created June 20, 2013 10:51
How to get latest tag in Git
git describe --abbrev=0
@roolo
roolo / description.md
Last active December 18, 2015 00:49
RegExp for matching `ps`'s uptimes

RegExp for matching ps's uptimes

@roolo
roolo / README.md
Created May 10, 2013 08:48
Bookmarklet for filling form with frkul

Frkul fill

  1. Add code of frkul-fill.js as address of bookmark and name it Frkul fill
  2. Open page with formular
  3. Click on Frkul fill in Bookmarks toolbar
@roolo
roolo / Error
Created May 6, 2013 11:30
Fix for RMagick 2.12.2 vs. ImageMagick. Mac, Homebrew
Can't install RMagick 2.12.2. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir