The following is a list of prerequisites for the successful installation of Oracle Simphony POS 2.10:
- Windows Server 2012 R2
- The following IIS and .NET components:
- NetFx4ServerFeatures
- NetFx4
const createLogger = (backgroundColor, color) => { | |
const logger = (message, ...args) => { | |
if (logger.enabled === false) { | |
return; | |
} | |
console.groupCollapsed( | |
`%c${message}`, | |
`background-color: ${backgroundColor}; color: ${color}; padding: 2px 4px;`, | |
...args |
(require '[buddy.core.codecs.base64 :as base64] | |
'[cognitect.aws.util :as util] | |
'[clojure.string :as str] | |
'[jsonista.core :as json] | |
'[cognitect.aws.credentials :as creds] | |
'[cognitect.aws.http :as http]) | |
(import '[java.util Date]) | |
(defn host-style-bucket-uri [bucket] | |
(str "http://" bucket ".s3.amazonaws.com/")) |
#!/usr/bin/python | |
# | |
# K-means clustering using Lloyd's algorithm in pure Python. | |
# Written by Lars Buitinck. This code is in the public domain. | |
# | |
# The main program runs the clustering algorithm on a bunch of text documents | |
# specified as command-line arguments. These documents are first converted to | |
# sparse vectors, represented as lists of (index, value) pairs. | |
from collections import defaultdict |
#!/bin/sh | |
# Ensures libvips is installed and attempts to install it if not | |
# Currently supports: | |
# * Debian Linux | |
# * Debian 7, 8 | |
# * Ubuntu 12.04, 14.04, 14.10, 15.04 | |
# * Mint 13, 17 | |
# * Red Hat Linux | |
# * RHEL/Centos/Scientific 6, 7 | |
# * Fedora 21, 22 |
BOOL WINAPI XcvData(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, | |
PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus); |
var config = qz.configs.create("Epson TM88V"); | |
// The QR data | |
var qr = 'https://qz.io'; | |
// The dot size of the QR code | |
var dots = '\x09'; | |
// Some proprietary size calculation | |
var size1 = String.fromCharCode(qr.length + 3); |
<?php | |
$captchaVerification = !empty($_REQUEST["captcha_verification"]) ? $_REQUEST["captcha_verification"] : false; | |
if ($captchaVerification !== false) { | |
$data = [ | |
"endpoint" => "verify", | |
"captcha_verification" => $captchaVerification, | |
"captcha_difficulty" => 5 // make sure the difficulty matches the diffulty you added to form button | |
]; | |
$options = [ | |
"http" => [ |
// Declare enums like so: | |
#define IMAGE_STATUS(XX) \ | |
XX(kDOImageStatusOK, = 0) \ | |
XX(kDOImageStatusCached, )\ | |
XX(kDOImageStatusRetry, ) | |
DECLARE_ENUM(DOImageStatus, IMAGE_STATUS) |
(ns n01se.externs-for-cljs | |
(:require [clojure.java.io :as io] | |
[cljs.compiler :as comp] | |
[cljs.analyzer :as ana])) | |
(defn read-file [file] | |
(let [eof (Object.)] | |
(with-open [stream (clojure.lang.LineNumberingPushbackReader. (io/reader file))] | |
(vec (take-while #(not= % eof) | |
(repeatedly #(read stream false eof))))))) |