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
var http = require('http') | |
ffmpeg = require('fluent-ffmpeg'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'video/x-flv'}); | |
var pathToMovie = '/public/video.mp4'; | |
var proc = new ffmpeg({ source: pathToMovie, logger: true, nolog: false }) | |
.toFormat('flv') | |
.updateFlvMetadata() | |
.withSize('320x?') |
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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scaleable=no"> | |
<title>Example Report</title> | |
</head> | |
<body> | |
<div class="page-header"> | |
<h1>Example Report</h1> |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
</head> | |
<body> | |
<!-- Template for plans change this to match your needs. {{word}} and [%word%] will be filed with information from your plans. | |
To find how the template tags work you can read it here: https://mustache.github.io/mustache.5.html. | |
You can use all attributes of a plan that are documented in our API docs here: https://www.cobot.me/api-docs/plans#show-plan-details --> | |
<script id="planTemplate" type="text/html"> |
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
This is needed for example if you want textmate to switch between rspec and rails file types automagically. | |
1. Open ~/Library/Application Support/TextMate/Global.tmProperties | |
2. Delete all entries of the format | |
[ .fileending ] | |
fileType = some.filetype | |
3. Done! | |
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
/* | |
* twitter-entities.js | |
* This function converts a tweet with "entity" metadata | |
* from plain text to linkified HTML. | |
* | |
* See the documentation here: http://dev.twitter.com/pages/tweet_entities | |
* Basically, add ?include_entities=true to your timeline call | |
* | |
* Copyright 2010, Wade Simmons | |
* Licensed under the MIT license |
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
development: | |
adapter: postgresql | |
encoding: utf8 | |
ctype: de_DE.utf8 | |
collation: de_DE.utf8 | |
template: template0 | |
socket: /var/run/postgresql | |
database: professor_s_development | |
pool: 5 |
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
worker_processes 3 | |
timeout 10 | |
preload_app true | |
before_fork do |server, worker| | |
Signal.trap 'TERM' do | |
puts 'Unicorn master intercepting TERM and sending myself QUIT instead' | |
Process.kill 'QUIT', Process.pid | |
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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
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
// a ui dialog that can only appear one at a time uses jquery dialog | |
Widgets.UI = function() { | |
//gather the dom elements that made up the UI | |
var dialog = $('#dialog'), | |
linkTargetField = dialog.find("#link-target"), | |
saveBotton = dialog.find('#save'), | |
//changing state | |
node = undefined; | |
//event handler |
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
Job: Community Management und Assistenz im Coworking Space | |
Hallo wir sind upstream. Eigentlich entwickeln wir Software im Internet, doch das hat uns nicht gereicht. Darum betreiben wir nebenbei einen Coworking Space in Kreuzberg - genannt co.up. In unserem Space arbeiten viele interessante Menschen, vor allem Webentwickler, Designer und Usability-Experten. Durch die Begegnung und Zusammenarbeit mit diesen Menschen sind viele spannende Projekte entstanden. Die Arbeit, die wir mit der Organisation des Space, der Menschen und Events haben, ist mit der Zeit immer weiter angewachsen. Dafür suchen wir dich. | |
Für etwas 10 Stunden pro Woche brauchen wir deine Hilfe bei folgenden Aufgaben: | |
* Coworkern bei Problemen helfen, neue Coworker einweisen | |
* Unsere Coworker und alle, die sich für unsere Projekte interessieren, mit Informationen versorgen | |
* Events organisieren (z.B. Coworker Meetings, Workshops, User Groups) | |
* Dich an der Verbesserung/Verschönerung des Space beteiligen |
NewerOlder