To be able to use PHP5 PDO with MS Access mdb files the following is required
(the same applies for the PHP4 style of using odbc_X except for the
obviously PDO specific requirements):
In Linux this is achieved by intalling the php5-odbc package:
| delimiter // | |
| DROP PROCEDURE IF EXISTS convert_database_to_utf8mb4 // | |
| CREATE PROCEDURE convert_database_to_utf8mb4() | |
| BEGIN | |
| DECLARE table_name VARCHAR(255); | |
| DECLARE done INT DEFAULT FALSE; | |
| DECLARE cur CURSOR FOR |
| import chromaprint | |
| from flask import Flask, request, jsonify | |
| SQL_TABLES = """ | |
| CREATE TABLE IF NOT EXISTS fingerprint | |
| ( | |
| id INTEGER PRIMARY KEY, | |
| fingerprint TEXT NOT NULL |
| import React, { Component } from 'react'; | |
| import { Field, reduxForm } from 'redux-form'; | |
| import { connect } from 'react-redux'; | |
| import * as actions from '../../actions'; | |
| const form = reduxForm({ | |
| form: 'ReduxFormTutorial', | |
| validate | |
| }); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Cortana Example</title> | |
| <!--Cortana meta tag pointing to VCD file on the server--> | |
| <meta name="msapplication-cortanavcd" content="https://mysite.com/vcd.xml"/> | |
| </head> | |
| <body> | |
| </body> |
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Windows.ApplicationModel.Activation; | |
| using Windows.UI.ApplicationSettings; | |
| using Windows.ApplicationModel; |
| #!/usr/bin/env php | |
| <?php | |
| use Symfony\Component\Console\Application; | |
| // Let bootstrap create Dependency Injection container. | |
| $configurator = require __DIR__ . '/app/bootstrap.php'; | |
| $configurator->addConfig(__DIR__ . '/app/config/console.neon'); |
To be able to use PHP5 PDO with MS Access mdb files the following is required
(the same applies for the PHP4 style of using odbc_X except for the
obviously PDO specific requirements):
In Linux this is achieved by intalling the php5-odbc package:
A Pen by Captain Anonymous on CodePen.
| const renderBooleanFeature = (packages, title, feature) => { | |
| let tds = []; | |
| for (let $package of packages) { | |
| const data = $package[1]; | |
| const code = $package[0]; | |
| if (data.hasOwnProperty(feature) && data[feature] === true) { | |
| tds.push( | |
| <td key={code+feature} className={code}> | |
| <span className="glyphicon glyphicon-ok"></span> |
| $di->set('translator', function() use ($config, $di) { | |
| $locale = $di->get('locale'); | |
| $whitelist = ['de', 'en']; | |
| $fallback = ['de', 'en']; | |
| $chainResolver = new \Kdyby\Translation\LocaleResolver\ChainResolver;//new \LocaleResolver($locale); | |
| $localeResolver = new \LocaleResolver($locale); | |
| $chainResolver->addResolver($localeResolver); |