Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
javascript: (function () { | |
function c() { | |
var e = document.createElement("link"); | |
e.setAttribute("type", "text/css"); | |
e.setAttribute("rel", "stylesheet"); | |
e.setAttribute("href", f); | |
e.setAttribute("class", l); | |
document.body.appendChild(e) | |
} | |
function h() { |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/* | |
This is to allow unsigned certificates in cordova. | |
As of cordova 5 and 6, this is located in | |
project/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java | |
*/ | |
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { | |
final String packageName = this.cordova.getActivity().getPackageName(); |
using System; | |
public class JavaHolder : Java.Lang.Object | |
{ | |
public readonly object Instance; | |
public JavaHolder(object instance) | |
{ | |
Instance = instance; | |
} |
namespace SearchViewSample | |
{ | |
public class Chemical | |
{ | |
public string Name { get; set; } | |
public int DrawableId { get; set; } | |
} | |
} |
<?php | |
namespace Camp\CarRegisterBundle\Lib; | |
use Symfony\Component\HttpFoundation\Session\Session; | |
class Cart { | |
public function __construct() { |
<?php | |
$files = glob( __DIR__ . '/folder/*.php'); | |
foreach ($files as $file) { | |
require($file); | |
} |
/** | |
* Simple localStorage with Cookie Fallback | |
* v.1.0.0 | |
* | |
* USAGE: | |
* ---------------------------------------- | |
* Set New / Modify: | |
* store('my_key', 'some_value'); | |
* | |
* Retrieve: |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |