CLICK ME
yes, even hidden code blocks!
print("hello world!")| @echo off | |
| whoami /groups | Find "High Mandatory Level" > NUL | |
| if not errorlevel 1 goto RUN | |
| powershell -Command Start-Process -Verb runas "%0" | |
| exit /b %errorlevel% | |
| :RUN | |
| powershell -NoProfile -ExecutionPolicy Unrestricted "$s=[scriptblock]::create((gc \"%~f0\"|?{$_.readcount -gt 9})-join\"`n\");&$s" %* | |
| exit /b 0 | |
| Set-StrictMode -Version 2.0 |
この文章は、日経BP社から出版されている「HTML5ゲーム開発の極意」の付録PDFを元に、参照しやすいようmarkdown形式に書き起こした、個人的メモです。
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <title>Javaによる開発の流れ</title> | |
| <script type="text/template" id="content1"> | |
| <!--================================================================== | |
| ↓ここからmarkdownを記述します | |
| ====================================================================--> | |
| # Javaによる開発の流れ |
| #!/usr/bin/env ruby | |
| # Input: WordPress XML export file. | |
| # Outputs: a series of Markdown files ready to be included in a Jekyll site, | |
| # and comments.yml which contains all approved comments with metadata which | |
| # can be used for a Disqus import. | |
| # Changes from the original gist: http://gist.github.com/268428 | |
| # 1. Handles titles containing special characters. Those have to be YAML escaped | |
| # 2. Use the original permalinks in wordpress. |
| /** | |
| * Get YouTube ID from various YouTube URL | |
| * @author: takien | |
| * @url: http://takien.com | |
| * For PHP YouTube parser, go here http://takien.com/864 | |
| */ | |
| function YouTubeGetID(url){ | |
| var ID = ''; | |
| url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); |
| #!/usr/bin/env ruby -w | |
| # pnginator.rb: pack a .js file into a PNG image with an HTML payload; | |
| # when saved with an .html extension and opened in a browser, the HTML extracts and executes | |
| # the javascript. | |
| # Usage: ruby pnginator.rb input.js output.png.html | |
| # By Gasman <http://matt.west.co.tt/> | |
| # from an original idea by Daeken: http://daeken.com/superpacking-js-demos |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |