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
Companies whose core product is open source and actively developed in Berlin. | |
* CartoDB | |
* Crate.io | |
* Fairnopoly |
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
# o2 ADSL, Berlin Mitte | |
# Using cURL, fetch the jQuery library within ten seconds. | |
$ curl -m 10 http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.js > /dev/null | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 | |
curl: (28) Connection timed out after 10005 milliseconds | |
# Content from ajax.googleapis.com (and fonts.googleapis.com) time out! |
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
<?php | |
// Source: http://help.pagodabox.com/customer/portal/articles/174049-cakephp#setting-global-server-variables-in-database-php | |
define("DB_HOST", $_SERVER['DB1_HOST']); | |
define("DB_NAME", $_SERVER['DB1_NAME']); | |
define("DB_USER", $_SERVER['DB1_USER']); | |
define("DB_PASS", $_SERVER['DB1_PASS']); | |
define("DB_PORT", $_SERVER['DB1_PORT']); | |
class DATABASE_CONFIG { |
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
Ideas are worthless without execution | |
Execution is worthless without traction | |
Traction is worthless without revenue | |
Revenue is worthless without profit |
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
if employee_skills.has_key?(skill_name) then | |
employee_skills[skill_name] += 1 | |
else | |
employee_skills[skill_name] = 1 | |
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
$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 -- --with-mysql-config=/opt/local/lib/mysql55/bin/mysql_config |
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
<?php | |
// Heroku Read-only Filesystem https://devcenter.heroku.com/articles/read-only-filesystem | |
/** | |
* Configure the cache used for general framework caching. Path information, | |
* object listings, and translation cache files are stored with this configuration. | |
*/ | |
Cache::config('_cake_core_', array( | |
'engine' => $engine, | |
'prefix' => $prefix . 'cake_core_', |
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
$ ruby main.rb | |
/opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate activemodel-3.2.12, because builder-3.2.0 conflicts with builder (~> 3.0.0) (Gem::LoadError) | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:746:in `activate' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:780:in `block in activate_dependencies' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:766:in `each' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:766:in `activate_dependencies' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/specification.rb:750:in `activate' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:51:in `block in require' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:50:in `each' | |
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:50:in `require' |
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
<?php | |
App::uses('AppShell', 'Console/Command'); | |
class UserIdFromVarcharToInt extends CakeMigration { | |
public $description = ''; | |
public $migration = array( | |
'up' => array( | |
'alter_field' => array( | |
'users' => array( |
OlderNewer