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
# Open Source | |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/500px-Tux.svg.png) | |
## What is Open Source? | |
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
MMM,3M Co.,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=MMM&action=getcompany reports],Industrials , St Paul,Minnesota | |
ACE,ACE Limited,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=ACE&action=getcompany reports],Financials , Zurich,Switzerland | |
ABT,Abbott Laboratories,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=ABT&action=getcompany reports],Health Care , North Chicago,Illinois,| | |
ANF,Abercrombie & Fitch Company A,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=ANF&action=getcompany reports],Consumer Discretionary , New Albany,Ohio,| | |
ACN,Accenture,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=ACN&action=getcompany reports],Information Technology,Dublin,Ireland | |
ADBE,Adobe Systems Inc,[http://www.sec.gov/cgi-bin/browse-edgar?CIK=ADBE&action=getcompany reports],Information Technology , San Jose,California,| | |
ADT,ADT Security Services|ADT Corp,[http://www.sec.gov/cgi-bin/browse-edgar?company=ADT+Corp&action=getcompany reports],Industrials,Boca Raton,Florida,2012-10-01 | |
AMD,Advanced Micro Devices,[http |
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 | |
require 'twilio-php/Services/Twilio.php'; | |
$username = $argv[1]; | |
$response = new Services_Twilio_Twiml; | |
$gather = $response->gather(array('numDigits' => 5, | |
'action' => "http://example.com/foo.php?username=$username" | |
)); | |
$gather->say("Hello Caller"); |
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 | |
require 'twilio-php/Services/Twilio.php'; | |
$username = $argv[1]; | |
$response = new Services_Twilio_Twiml; | |
$gather = $response->gather(array( | |
'action' => "http://example.com/foo.php?username=$username" | |
)); | |
$gather->say("Hello Caller"); |
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
$ ./custom_plugins/not_executable.shzsh: permission denied: ./custom_plugins/not_executable.sh |
Multi-page docs are the norm in most documentation frameworks. However, they aren't the best tool for the job of creating usable docs.
Take for example the docs found on readthedocs.org for [Django Fluent Contents][1]. This is a very normal looking sphinx project. Now lets try to find example code for the announcementblock
plugin:
- Ctrl+F "announcementblock". Darn, ok, no results.
- Ctrl+F "plugins", Nope, Enter, Nope, Enter, Enter, Enter, Enter
- Click on the link for example code, there it is! Woo!
This style of code docs forces users to guess, click around, or simply leave your docs and use a Google site:
search.
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
import requests | |
response = requests.get("http://odata.netflix.com/Catalog/People?$filter=Name%20eq%20'James%20Cameron'&$expand=Awards,TitlesDirected&$format=json") | |
a = response.json() | |
a['d'].keys() | |
a['d']['results'][0]['TitlesDirected'] | |
a['d']['results'][0]['TitlesDirected']['results'][17] | |
movies = a['d']['results'][0]['TitlesDirected']['results'] | |
for movie in movies: | |
print movie['Name'] |
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
$ ssh -p 29418 philips@gerrit.chromium.org [10:39:14] | |
**** Welcome to Gerrit Code Review **** | |
Hi Brandon Philips, you have successfully connected over SSH. | |
Unfortunately, interactive shells are disabled. | |
To clone a hosted Git repository, use: | |
git clone ssh://philips@gerrit.chromium.org:29418/REPOSITORY_NAME.git |
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
philips:update_engine/ (remove-return-from-void) $ repo upload . | |
Upload project src/platform/update_engine/ to remote branch refs/heads/master: | |
branch remove-return-from-void ( 1 commit, Thu Mar 7 10:17:13 2013 -0800): | |
4a5a0425 fix(udev_interface.h): remove return from voids | |
to gerrit.chromium.org/gerrit (y/N)? y | |
Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. |