Skip to content

Instantly share code, notes, and snippets.

View coderbyheart's full-sized avatar
🌩️
building serverless IoT solutions

Markus Tacker coderbyheart

🌩️
building serverless IoT solutions
View GitHub Profile
@coderbyheart
coderbyheart / imgtag.html
Created January 24, 2012 10:14 — forked from anselmh/imgtag.html
The New Img Tag (evolved)
<img src="large-default-file.jpg" media="screen and (min-width:601px)" alt="this is alternative text for default file" title="this is title for default file">
<source src="smaller.jpg" media="screen and (max-device-width:600px)" alt="this is alternative text for smaller file" title="this is title for smaller file">
<source src="tiny.jpg" media="screen and (max-device-width:320px)" alt="this is alternative text for tiny file" title="this is title for tiny file">
<source src="monochrome.jpg" media="monochrome" alt="this is alternative text for monochrome file" title="this is title for monochrome file">
</img>
@coderbyheart
coderbyheart / imgtag.html
Created January 24, 2012 10:14 — forked from anselmh/imgtag.html
The New Img Tag (evolved)
<img src="large-default-file.jpg" media="screen and (min-width:601px)" alt="this is alternative text for default file" title="this is title for default file">
<source src="smaller.jpg" media="screen and (max-device-width:600px)" alt="this is alternative text for smaller file" title="this is title for smaller file">
<source src="tiny.jpg" media="screen and (max-device-width:320px)" alt="this is alternative text for tiny file" title="this is title for tiny file">
<source src="monochrome.jpg" media="monochrome" alt="this is alternative text for monochrome file" title="this is title for monochrome file">
</img>
@coderbyheart
coderbyheart / imgtag.html
Created January 24, 2012 10:15 — forked from anselmh/imgtag.html
The New Img Tag (evolved)
<img src="large-default-file.jpg" media="screen and (min-width:601px)" alt="this is alternative text for default file" title="this is title for default file">
<source src="smaller.jpg" media="screen and (max-device-width:600px)" alt="this is alternative text for smaller file" title="this is title for smaller file">
<source src="tiny.jpg" media="screen and (max-device-width:320px)" alt="this is alternative text for tiny file" title="this is title for tiny file">
<source src="monochrome.jpg" media="monochrome" alt="this is alternative text for monochrome file" title="this is title for monochrome file">
</img>
@coderbyheart
coderbyheart / PKGBUILD
Created April 27, 2012 15:21
aut/jre 7.4-1 PKGBUILD
# Maintainer: Det
# Contributors: Charles Ghislain, Guillaume ALAUX, Daniel J Griffiths, Jason Chu, Geoffroy Carrier, Army, kfgz, Thomas Dziedzic, Dan Serban
pkgname=jre
_major=7
_minor=4
_pkg=${_major}u$_minor
pkgver=$_major.$_minor
_build=b0$_minor
pkgrel=1
@coderbyheart
coderbyheart / PKGBUILD
Created July 6, 2012 07:12
guvcview PKGBUILD w/ added intltool dependency
# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
pkgname=guvcview
pkgver=1.6.0
pkgrel=1
pkgdesc="A video viewer and capturer for the linux uvc driver"
arch=('i686' 'x86_64')
url="http://guvcview.sourceforge.net/"
license=('GPL')
depends=('portaudio' 'gtk3' 'ffmpeg' 'v4l-utils' 'udev' 'intltool')
@coderbyheart
coderbyheart / silex-app-with-services.php
Created August 7, 2012 09:15
Testing a silex app with services
<?php
# app.php
# Read the configuration
$config = parse_ini_file(__DIR__ . '/data/config.ini', true);
# The config looks like this
# [app]
# logfile=./logs/dev.log
# debug = true
@coderbyheart
coderbyheart / gist:3743785
Created September 18, 2012 15:34
js-fadein-run-problem
$ mvn -e clean install -Pintegration -Dbrowser=`which chromium`
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building js-fadein 1.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
@coderbyheart
coderbyheart / gist:3743793
Created September 18, 2012 15:35
misc/install.sh
$ misc/install.sh
[INFO] Scanning for projects...
Downloading: http://jstd-maven-plugin.googlecode.com/svn/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.4.v20120524/jetty-maven-plugin-7.6.4.v20120524.pom
Downloading: http://repo.maven.apache.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.4.v20120524/jetty-maven-plugin-7.6.4.v20120524.pom
Downloaded: http://repo.maven.apache.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.4.v20120524/jetty-maven-plugin-7.6.4.v20120524.pom (5 KB at 30.9 KB/sec)
Downloading: http://jstd-maven-plugin.googlecode.com/svn/maven2/org/mortbay/jetty/jetty-integration-project/7.6.4.v20120524/jetty-integration-project-7.6.4.v20120524.pom
Downloading: http://repo.maven.apache.org/maven2/org/mortbay/jetty/jetty-integration-project/7.6.4.v20120524/jetty-integration-project-7.6.4.v20120524.pom
Downloaded: http://repo.maven.apache.org/maven2/org/mortbay/jetty/jetty-integration-project/7.6.4.v20120524/jetty-integration-project-7.6.4.v20120524.pom (11 KB at 274.3 KB/sec)
Downloading
@coderbyheart
coderbyheart / gist:3746021
Created September 18, 2012 21:26
rm -r /home/m/.m2/repository/com/google/jstestdriver/jstestdriver/1.3.4.b
[m@nanshe js-fadein]$ rm -r /home/m/.m2/repository/com/google/jstestdriver/jstestdriver/1.3.4.b
[m@nanshe js-fadein]$ misc/install.sh
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building js-fadein 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ js-fadein ---
[INFO] Installing /home/m/git/js-fadein/JsTestDriver.jar to /home/m/.m2/repository/com/google/jstestdriver/jstestdriver/1.3.4.b/jstestdriver-1.3.4.b.jar
@coderbyheart
coderbyheart / gist:3748892
Created September 19, 2012 10:27
mvn -e clean install -Pintegration
[m@nanshe js-fadein]$ mvn -e clean install -Pintegration
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for sandbox:js-fadein:war:1.0
[WARNING] 'dependencies.dependency.systemPath' for com.google.jstestdriver:jstestdriver:jar should not point at files within the project directory, ${basedir}/misc/JsTestDriver.jar will be unresolvable by dependent projects @ line 57, column 13