This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module FormtasticExtensions | |
| module Formtastic | |
| module TextileEditor | |
| def self.included(base) | |
| base.class_eval do | |
| @javascript_included = false | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // | |
| // Complete PHP + JavaScript + HTML redirect solution | |
| // | |
| $url = 'http://www.example.com/'; | |
| header("Location: $url"); ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| <html> | |
| <head> | |
| <script type="text/javascript">//<![CDATA[ | |
| location.replace("<?php echo $url; ?>"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| @optimize_image_bin = 'optimize_image_bin' # from google pagespeed sdk | |
| @pngout = 'pngout' | |
| @pngcrush = 'pngcrush' | |
| @optipng = 'optipng' | |
| @advpng = 'advpng' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GIT | |
| remote: https://github.com/tgbyte/twitter-bootstrap-rails.git | |
| revision: ef49b93cb585413b0e2d14e44e50063a0fd58b5c | |
| specs: | |
| twitter-bootstrap-rails (2.0.2.2) | |
| actionpack (>= 3.1) | |
| less-rails (~> 2.1.5) | |
| railties (>= 3.1) | |
| GEM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'nokogiri' | |
| if ARGV.size != 1 | |
| $stderr.puts "kdenlive dissolve transition fixer. Prints fixed project xml contents. (See kdenlive bug: http://www.kdenlive.org/mantis/view.php?id=2668)" | |
| $stderr.puts "Usage: #{File.basename $PROGRAM_NAME} <project.kdenlive>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Contibutor: [email protected] | |
| # Maintainer: Moritz Fischer <[email protected]> | |
| pkgname=gnuradio | |
| pkgver=3.6.2 | |
| pkgrel=1 | |
| pkgdesc="free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios using readily-available, low-cost external RF hardware and commodity processors" | |
| arch=('i686' 'x86_64') | |
| license=('GPL') | |
| depends=('fftw' 'python2-numpy' 'boost-libs' 'cppunit' 'swig' 'gsl' 'blas' 'guile' 'libuhd') | |
| makedepends=('boost') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'tmpdir' | |
| @compose_method = 'LightenIntensity' | |
| @processes_count = 4 | |
| @intermediate_image_format = "tga" | |
| class Numeric |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| # This script extracts GPS data (in GPX format) from ContourGPS camera videos. | |
| # You need to have ffmpeg, gpsbabel and gnu parallel to run this script. | |
| # | |
| # Please note that *.gpx files in given directory may be overwriten! | |
| # | |
| # Usage: extract_contour_gps.sh <directory_with_movies> | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| # This script uses too much unneeded dependencies (like python for adding some integers). Sorry for that. | |
| # You can clean it for your cases (replace python with bc for example). | |
| # TODO: test rsync version shoud has --info=progress2 option (v3.0.10 or more) | |
| #USER="`whoami`" | |
| CONTOUR_MOUNTPOINT="/run/media/$USER/CONTOUR GPS/DCIM" | |
| CONTOUR_ARCHIVE='/path/to/archive' |
OlderNewer