In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using System.Collections; | |
| using UnityEngine.SceneManagement; | |
| public class ScreenFader : MonoBehaviour | |
| { | |
| public Image FadeImg; | |
| public float fadeSpeed = 1.5f; | |
| public bool sceneStarting = true; |
| from django.http import HttpResponseRedirect | |
| from django.core.exceptions import PermissionDenied | |
| from django.urls import reverse | |
| from django.shortcuts import render | |
| from django.shortcuts import redirect | |
| def role_required(allowed_roles=[]): | |
| def decorator(view_func): | |
| def wrap(request, *args, **kwargs): |
| /* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
| <div id="map_wrapper"> | |
| <iframe id="map_canvas"></iframe> | |
| </div> |
| <html> | |
| <body> | |
| <section class="left"> | |
| <article id="customers"> | |
| <h2>New Customers</h2> | |
| <table class="data"> | |
| <thead> | |
| <tr> | |
| <th>ID</th> | |
| <th>First Name</th> |
Fonte: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.isodiskutil list to get the current list of devices.diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2).diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2).sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.imgor ./ubuntu.dmg).
diskutil eject /dev/diskN and remove your flash media when the command completes