This file contains 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
# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11 | |
# --user-install is used to install to $HOME/.gem/ by default since we want to separate | |
# pacman installed gems and gem installed gems | |
gem: --no-rdoc --no-ri |
This file contains 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
sudo apt-get install -f | |
Paketlisten werden gelesen... Fertig | |
Abhängigkeitsbaum wird aufgebaut | |
Statusinformationen werden eingelesen... Fertig | |
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. | |
37 nicht vollständig installiert oder entfernt. | |
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt. | |
man-db (2.6.3-1) wird eingerichtet ... | |
dpkg: Fehler beim Bearbeiten von man-db (--configure): | |
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(function() { | |
one = $('#one'); | |
one.val('-'); | |
one.val(one.val() + '2'); |
This file contains 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
namespace :api do | |
resource :tracks do | |
resource :coordinates, only: [:create] | |
end | |
end |
This file contains 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
zoomRect.size.height += 20; | |
zoomRect.size.width += 20; | |
[self.mapView setVisibleMapRect:zoomRect animated:YES]; |
This file contains 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
pcm.!default { | |
type hw | |
card Device | |
} | |
ctl.!default { | |
type hw | |
card Device | |
} | |
defaults.ctl.card Device |
This file contains 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
# when running mplayer: | |
speaker-test 1.0.26 | |
Playback device is default | |
Stream parameters are 48000Hz, S16_LE, 1 channels | |
Using 16 octaves of pink noise | |
ALSA lib conf.c:1017:(parse_value) card is not a string | |
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:11:0:Invalid argument | |
ALSA lib conf.c:3406:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it |
This file contains 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
<script type="text/x-handlebars" data-template-name="rooms"> | |
<ul id="rooms"> | |
{{#each controller}} | |
<li> | |
<h1>{{name}}</h1> | |
{{ partial devices }} | |
</li> | |
{{/each}} | |
</ul> | |
</script> |
This file contains 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
window.App = Ember.Application.create() | |
App.Router.map -> @resource 'rooms' | |
App.IndexRoute = Ember.Route.extend redirect: -> @transitionTo 'rooms' | |
App.ApplicationRoute = Ember.Route.extend | |
setupController: -> @controllerFor('rooms').set 'model', App.Room.find() | |
# Controllers | |
App.RoomsController = Ember.ArrayController.extend | |
sortProperties: ['room_id'] | |
# Routes |
This file contains 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
Ember.Handlebars.registerBoundHelper 'forMoreThanOneIn', (collection) -> | |
alert collection.toArray() | |
return elseFn() if collection.length == 1 | |
return "Compound" | |
window.App = Ember.Application.create | |
rootElement: "#QiviconBasicClient" | |
App.Router.map -> @resource 'rooms' | |
App.IndexRoute = Ember.Route.extend redirect: -> @transitionTo 'rooms' |