Responsive. Used as a helper tool for this post:
-> Just click the dots to choose a new angle. Do you find it useful?
/** | |
Get Random Color by generating three random float to represent RGB | |
**/ | |
func randomColor() -> UIColor{ | |
var randomRed:CGFloat = CGFloat(drand48()) | |
var randomGreen:CGFloat = CGFloat(drand48()) | |
var randomBlue:CGFloat = CGFloat(drand48()) | |
return UIColor(red: randomRed, green: randomGreen, blue: randomBlue, alpha: 1.0) | |
import UIKit | |
import XCPlayground | |
class ViewController: UIViewController { | |
func action() { print("Bing!") } | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
view.backgroundColor = .whiteColor() | |
/*! CSS.supports() Polyfill | |
* https://gist.github.com/codler/03a0995195aa2859465f | |
* Copyright (c) 2014 Han Lin Yap http://yap.nu; MIT license */ | |
if (!('CSS' in window)) { | |
window.CSS = {}; | |
} | |
if (!('supports' in window.CSS)) { | |
window.CSS._cacheSupports = {}; | |
window.CSS.supports = function(propertyName, value) { |
abbr[title]:after | |
{ | |
content: " (" attr(title) ")"; | |
} | |
@media screen and (min-width: 1025px) | |
{ | |
abbr[title] | |
{ | |
border-bottom: 1px dashed #ADADAD; |
<script> | |
$(document).bind("mobileinit", function() { | |
$.mobile.defaultPageTransition = 'none'; | |
$.mobile.defaultDialogTransition = "none"; | |
}); | |
</script> |
<?php | |
// Clean argument values | |
$phpStormRunner = null; | |
$cleanedArgv = array(); | |
foreach ($_SERVER['argv'] as $key => $value) { | |
if (strpos($value, 'ide-phpunit.php') === false) { | |
$cleanedArgv[] = $value; | |
} else { | |
$phpStormRunner = $value; | |
} |
Responsive. Used as a helper tool for this post:
-> Just click the dots to choose a new angle. Do you find it useful?
*&---------------------------------------------------------------------* | |
*& Report Z_TRQ_GET_PARTY | |
*& | |
*&---------------------------------------------------------------------* | |
*& | |
*& | |
*&---------------------------------------------------------------------* | |
REPORT Z_TRQ_GET_PARTY. |
*&---------------------------------------------------------------------* | |
*& Report Z_TIMSTAMP_DEMO | |
*& | |
*&---------------------------------------------------------------------* | |
*& Demostrate how to get timestamp in ABAP and setup timezone | |
*& | |
*&---------------------------------------------------------------------* | |
REPORT Z_TIMSTAMP_DEMO. |
zend_extension="/usr/lib/php5/20090626/xdebug.so" | |
xdebug.remote_enable=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_mode=req | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 |