See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.json
file in/etc/docker
:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
CREATE OR REPLACE FUNCTION CRC32(VARCHAR) RETURNS BIGINT AS | |
$BODY$ | |
DECLARE | |
src alias FOR $1; | |
crc BIGINT not null default x'ffffffff'::BIGINT; | |
len INTEGER not null default 0; | |
i INTEGER not null DEFAULT 1; | |
table BIGINT[] not null DEFAULT ARRAY[ | |
x'00000000'::BIGINT, x'77073096'::BIGINT, x'EE0E612C'::BIGINT, x'990951BA'::BIGINT, | |
x'076DC419'::BIGINT, x'706AF48F'::BIGINT, x'E963A535'::BIGINT, x'9E6495A3'::BIGINT, |
func InsertOrder(order *Order) (int, error) { | |
var id int | |
tx, err := db.Begin() | |
if err != nil { | |
return id, err | |
} | |
{ |
package main | |
import( | |
"log" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { |
package dumptransport | |
import ( | |
"fmt" | |
"net/http" | |
"net/http/httputil" | |
) | |
type DumpTransport struct { | |
r http.RoundTripper |
public class SomeClass { | |
public void SomeMethod() { | |
this.Log().Info(() => "Here is a log message with params which can be in Razor Views as well: '{0}'".FormatWith(typeof(SomeClass).Name)); | |
} | |
} |
using Dapper; | |
using Oracle.ManagedDataAccess.Client; | |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Linq; | |
public class OracleDynamicParameters : Dapper.SqlMapper.IDynamicParameters { | |
private static Dictionary<SqlMapper.Identity, Action<IDbCommand, object>> paramReaderCache = new Dictionary<SqlMapper.Identity, Action<IDbCommand, object>>( ); |