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
git checkout master |
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
git branch -m <oldbranchname> <newbranchname> | |
example: | |
git branch -m feature/humanreadable feature/translation |
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
using UnityEngine; | |
using System.Collections; | |
public class EnvironmentSpawner : MonoBehaviour { | |
public GameObject LargeCloud; | |
void Start() { | |
StartCoroutine(SpawnLargeClouds()); | |
} |
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
8368 10:31:54 ERROR Application error. | |
Exception: System.ArgumentOutOfRangeException | |
Message: The UTC time represented when the offset is applied must be between year 0 and 10,000. | |
Parameter name: offset | |
Source: mscorlib | |
at System.DateTimeOffset..ctor(DateTime dateTime) | |
at Sitecore.Resources.Media.Streaming.Preconditions.IfRangePrecondition.CheckRequestPreconditionAndSetResponseStatus(HttpContext context) | |
at Sitecore.Resources.Media.Streaming.RangeRetrievalResponse.ExecuteRequest(HttpContext context) | |
at Sitecore.Resources.Media.MediaRequestHandler.DoProcessRequest(HttpContext context, MediaRequest request, Media media) | |
at Sitecore.Resources.Media.MediaRequestHandler.DoProcessRequest(HttpContext context) |
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
using UnityEngine; | |
using System.Collections; | |
public class StuckSheepCheck : MonoBehaviour { | |
public GameObject Sheep; | |
public GameObject SheepTwo; | |
private Rigidbody2D SheepRigidbody2D; | |
private Rigidbody2D SheepTwoRigidbody2D; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<title>Google Maps JavaScript API v3 Example: Simple Icons</title> | |
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> | |
<script type="text/javascript"> | |
function initialize() |
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
<?xml version="1.0" encoding="utf-8"?> | |
<languages> | |
<language name="Swedish" id="sv"> | |
<pagetitles> | |
<images>bilder</images> | |
<imagegalleries>bildgalleri</imagegalleries> | |
<myblog>blog</myblog> | |
<myfriends>vänner</myfriends> | |
<mypage>sida</mypage> | |
</pagetitles> |
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 | |
/** | |
* Usage: | |
* Paste a gist link into a blog post or page and it will be embedded eg: | |
* https://gist.github.com/2926827 | |
* | |
* If a gist has multiple files you can select one using a url in the following format: | |
* https://gist.github.com/2926827?file=embed-gist.php | |
*/ |
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 "DevicesViewController.h" | |
#import "FSVerticalTabBarController.h" | |
#import "SensorsViewController.h" | |
#import <Foundation/Foundation.h> |
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
private bool IsOpenedInEditMode() | |
{ | |
bool isInEditMode = false; | |
If(HttpContext.Current.Request.UrlReferrer != null) | |
{ | |
isInEditMode = Regex.IsMatch(HttpContext.Current.Request.UrlReferrer.LocalPath, "/admin/|/edit/", RegexOptions.IgnoreCase); | |
} | |
return isInEditMode; | |
} |
OlderNewer