Skip to content

Instantly share code, notes, and snippets.

View dschmidt's full-sized avatar
🏠
Working from home

Dominik Schmidt dschmidt

🏠
Working from home
View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@dschmidt
dschmidt / look-for-glibtool.diff
Created December 4, 2015 17:57
Use libtool from brew in vlc
diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
index b408d34..8a011df 100755
--- a/extras/tools/bootstrap
+++ b/extras/tools/bootstrap
@@ -73,7 +73,7 @@ fi
check autoconf 2.69
check automake 1.14
check m4 1.4.16
-check libtool 2.4
+check glibtool 2.4
@dschmidt
dschmidt / bower-install.sh
Last active August 29, 2015 14:06
Speed up ember-cli builds by minimizing contents of bower_components/
#!/bin/bash
if [ -d "bower_components_source" ]; then
rm -rf bower_components/
mv bower_components_source bower_components
fi
bower install
TMP_DIR=tmp_save
@dschmidt
dschmidt / easyform.js
Created October 30, 2013 22:31
easyform and validation builds
// ==========================================================================
// Project: Ember EasyForm
// Copyright: Copyright 2013 DockYard, LLC. and contributors.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
// Version: 1.0.0.beta.1
(function() {
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="http://builds.emberjs.com/handlebars-1.0.0.js"></script>
<script type="text/javascript" src="http://builds.emberjs.com/ember-latest.js"></script>
</head>
<body>
<script type="text/x-handlebars" data-template-name="index">
@dschmidt
dschmidt / gist:2606900
Created May 6, 2012 01:34 — forked from eartle/gist:2604822
liblastfm cmake build fixes for mac
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8394be3..0805c4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ set(CMAKE_AUTOMOC TRUE)
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions("-fno-operator-names -fvisibility-inlines-hidden -fvisibility=hidden")
endif()
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")
+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")