A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
- Headers
- Links
- Bold
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
Usage:
ComponentName
you want removed.RemoveComponentName
component to the root GameObject the components should be removed from.RemoveComponentName
component when you're done.<?php | |
/** | |
* A PHP port of URLify.js from the Django project | |
* (https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js). | |
* Handles symbols from Latin languages, Greek, Turkish, Russian, Ukrainian, | |
* Czech, Polish, and Latvian. Symbols it cannot transliterate | |
* it will simply omit. | |
* | |
* Usage: |
<?php | |
/** | |
* Fancy ID generator that creates 20-character string identifiers with the following properties: | |
* | |
* 1. They're based on timestamp so that they sort *after* any existing ids. | |
* 2. They contain 72-bits of random data after the timestamp so that IDs won't collide with other clients' IDs. | |
* 3. They sort *lexicographically* (so the timestamp is converted to characters that will sort properly). | |
* 4. They're monotonically increasing. Even if you generate more than one in the same timestamp, the | |
* latter ones will sort after the former ones. We do this by using the previous random bits |
#!/bin/bash | |
# modify these as needed | |
BUCKET=bucketname | |
HOSTNAME=example.com | |
ROOT=/usr/share/nginx/html | |
BACKUP=/usr/share/nginx/backup | |
# ensure backup folder exists | |
mkdir -p $BACKUP |
// Business logic | |
public class TutorialActions { | |
private State _state; | |
[Inject] | |
private void Init (TutorialState state) { | |
_state = state; | |
// Fetch latest from database then call _state.SetSteps() | |
// and _state.SetCurrentStep() |
var app = (function ($) { | |
var self = {}; | |
// change pages via app.go('/new/page') or app.go(-1) | |
self.go = function (url) { | |
if (url === parseInt (url)) { | |
History.go (url); | |
} else { | |
History.pushState (null, null, url); | |
} |
--------- beginning of main | |
I/Unity (13321): Timer at: 0.0583331 | |
I/Unity (13321): UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) | |
I/Unity (13321): UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) | |
I/Unity (13321): UnityEngine.Logger:Log(LogType, Object) | |
I/Unity (13321): UnityEngine.Debug:Log(Object) | |
I/Unity (13321): GazeCursor:Update() (at /Users/lux/projects/Unity/scout-unity/Assets/Scripts/Objects/GazeCursor.cs:96) | |
I/Unity (13321): | |
I/Unity (13321): (Filename: /Users/lux/projects/Unity/scout-unity/Assets/Scripts/Objects/GazeCursor.cs Line: 96) | |
I/Unity (13321): |
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
#RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f [OR] | |
RewriteCond %{REQUEST_FILENAME} \.(js|css)$ | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . subfolder.php [L] | |
</IfModule> |