docker run --rm -it -v "${PWD}:/src" -p 8100:8100 -p 35729:35729 -p 53703:53703 -w /src beevelop/ionic
CHOKIDAR_USEPOLLING=1 ionic serve
Tracing enabled | |
--- Invoked dotnet [version: 2.0.6, commit hash: 74b1c703813c8910df5b96f304b0f2b78cdf194d] main = { | |
dotnet | |
WebApiSample.dll | |
} | |
Reading fx resolver directory=[/usr/share/dotnet/host/fxr] | |
Considering fxr version=[..]... | |
Considering fxr version=[2.0.6]... | |
Considering fxr version=[.]... | |
Detected latest fxr version=[/usr/share/dotnet/host/fxr/2.0.6]... |
using System; | |
using System.Linq; | |
using FluentAssertions; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace UriAppend | |
{ | |
public static class UriExtensions | |
{ | |
public static Uri Append(this Uri baseUri, string relativeUrl) => new Uri(baseUri, relativeUrl); |
#! /bin/sh -e | |
### BEGIN INIT INFO | |
# Provides: compasswatcher | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start and stop the compass watch process for each directory | |
### END INIT INFO |
<?php | |
function preg_extract($pattern,$subject,$n=1,$default=''){ | |
if(preg_match($pattern, $subject, $m)){ | |
if (isset($m[$n])) return $m[$n]; | |
} | |
return $default; | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
//using Sharpduino; | |
//using Sharpduino.Constants; | |
namespace ConsoleApplication1 | |
{ |
#include <LiquidCrystal_SR.h> | |
LiquidCrystal_SR lcd(8,7,TWO_WIRE); | |
// | | | |
// | \-- Clock Pin | |
// \---- Data/Enable Pin | |
// Creat a set of new characters | |
byte armsUp[8] = { | |
0b00100,0b01010,0b00100,0b10101,0b01110,0b00100,0b00100,0b01010}; |
<?php | |
function parse_austrian_date($date,$output='U'){ | |
$date = DateTime::createFromFormat('d.m.Y H:i', $date); | |
if($date === false) return false; | |
return $date->format($output); | |
} | |
echo parse_austrian_date('1.2.12 24:14','d.m.Y H:i:s'); |
VBoxManage.exe internalcommands createrawvmdk -filename "%1-linked.vmdk" -rawdisk "%1" | |
@pause |
jQuery(document).ready(function($){ | |
'use strict'; | |
function nurseLinks(){ | |
$('a').each(function(i,e){ | |
function trySel(sel){ | |
if($(sel).length > 0){ $(e).attr('href', sel); return true; } | |
return false; | |
} | |
var h = e.hash.toString().match(/^#.+/); |