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
| .wildlife { | |
| background-image: url('img/bear.jpg'); | |
| background-repeat: no-repeat; | |
| background-position: center; | |
| background-size: cover; | |
| box-sizing: border-box; | |
| } | |
| ol { | |
| list-style-type: decimal-leading-zero; |
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
| <RelativeLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:padding="16dp"> | |
| <TextView | |
| android:text="I’m in this corner" | |
| android:layout_height="wrap_content" | |
| android:layout_width="wrap_content" |
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 | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.1.1 (LTS) on 2015-06-11. | |
| * | |
| * @author Barry vd. Heuvel <[email protected]> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { |
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
| package com.example.android.justjava; | |
| import android.os.Bundle; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| /** | |
| * This app displays an order form to order coffee. | |
| */ |
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
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:orientation="vertical" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context=".MainActivity"> |
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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" | |
| android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:background="@android:color/white" | |
| tools:context=".MainActivity$PlaceholderFragment"> | |
| <LinearLayout |
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
| function convert(str) { | |
| var ent = { | |
| '&' : '&', | |
| '<' : '<', | |
| '>' : '>', | |
| '\"': '"', | |
| "\'": ''' | |
| }; | |
| var re = new RegExp(Object.keys(ent).join('|'), "g"); |
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
| JavaScript resources, all free online. They're ordered in diffuculty from top to bottom. | |
| http://jsforcats.com/ | |
| https://www.youtube.com/playlist?list=PLeL6uTxQ-uX_5BpOb2FDNgG6SxjCs59Kv | |
| https://www.youtube.com/watch?v=hQVTIJBZook | |
| https://www.khanacademy.org/computing/computer-science/algorithms | |
| http://speakingjs.com/es5/index.html | |
| http://eloquentjavascript.net/index.html | |
| http://superherojs.com/ | |
| https://www.youtube.com/watch?v=8aGhZQkoFbQ |
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
| // Select or Create a Database | |
| use MyDatabase | |
| // Create a Collection and insert document | |
| db.myCollection.insert({ | |
| "Name": "Placid", | |
| "Age": 37, | |
| "Hobbies": ["Travelling", "Movies"], | |
| "myObjects": { | |
| "property1" : "value1", |
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
Show hidden characters
| [ | |
| { | |
| "button": "button1", | |
| "count": 1, | |
| "modifiers": ["alt"], | |
| "press_command": "drag_select", | |
| "command": "goto_definition" | |
| }, | |
| { | |
| "button": "button2", |