Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
This file contains hidden or 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
| #!/bin/bash | |
| # Script to install a ubuntu trusty tahr 14.04 LTS template on xcp or | |
| # Citrix (TM) Xenserver 5.6 and above. | |
| # Copyright (C) 2014 Arne-Kristian Hingst - All Rights Reserved | |
| # Permission to copy and modify is granted under the eupl license | |
| # http://ec.europa.eu/idabc/servlets/Docbb6d.pdf?id=31979 | |
| # Last revised 04/20/2014 | |
| # | |
| # Add your favourite mirror here |
This file contains hidden or 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
| #/etc/init/change_this_to_your_app_name.conf | |
| description "App Name" | |
| author "Admin Name <[email protected]>" | |
| start on virtual-filesystems | |
| stop on runlevel [06] | |
| env PATH=/usr/local/rbenv/shims:/usr/local/rbenv/bin:/usr/local/bin:/usr/bin:/bin | |
| env RAILS_ENV=staging # what environment |
This file contains hidden or 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
| <table border="1" cellpadding="15" bgcolor="#fcfcfc" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDDDDD" width="100%"> | |
| <tr bgcolor="#f1f1f1"> | |
| <td width="60%"><b>Subject</b></td> | |
| <td width="10%"><div align="center"><b>Theory Marks</b></div></td> | |
| <td width="10%"><div align="center"><b>Pratical Marks</b></div></td> | |
| <td width="10%"><div align="center"><b>Total Marks</b></div></td> | |
| <td width="10%"><div align="center"><b>Remarks</b></div></td> | |
| </tr> | |
| <tr> |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
iTerm2 http://www.iterm2.com/
This file contains hidden or 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
| #!/bin/bash | |
| NAME="hello_app" # Name of the application | |
| DJANGODIR=/webapps/hello_django/hello # Django project directory | |
| SOCKFILE=/webapps/hello_django/run/gunicorn.sock # we will communicte using this unix socket | |
| USER=hello # the user to run as | |
| GROUP=webapps # the group to run as | |
| NUM_WORKERS=3 # how many worker processes should Gunicorn spawn | |
| DJANGO_SETTINGS_MODULE=hello.settings # which settings file should Django use | |
| DJANGO_WSGI_MODULE=hello.wsgi # WSGI module name |
This file contains hidden or 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
| Omniauth Facebook Error - Faraday::Error::ConnectionFailed | |
| Faraday::Error::ConnectionFailed | |
| SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
| Rails.application.config.middleware.use OmniAuth::Builder do | |
| provider :facebook, '<key from fb>', '<another key from fb>' | |
| end | |
| class SessionsController < ApplicationController | |
| def create |
This file contains hidden or 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 defined('MOODLE_INTERNAL') || die(); | |
| $configuration = array ( | |
| 'siteidentifier' => NULL, | |
| 'stores' => | |
| array ( | |
| 'default_application' => | |
| array ( | |
| 'name' => 'default_application', | |
| 'plugin' => 'file', | |
| 'configuration' => |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| require 'csv' | |
| # This assumes: | |
| # - Ruby 1.9's CSV library, if you are using 1.8, use FasterCSV. | |
| # | |
| # https://raw.github.com/hadley/data-baby-names/master/baby-names.csv | |
| csv_fname = "baby-names.csv" |
This file contains hidden or 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
| # असारको माया | |
| यो माया भन्ने चिज कस्तो | |
| गर्मीमा घाम नलागेको जस्तो | |
| लोडसेडीगमा tube-lite बाल्या जस्तो॥ | |
| यतिमात्र होईन, कि कसो, | |
| गाईको दुध पनि कस्तो सस्तो | |
| ncell को sim-card लिए जस्तो |