This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chromaprint | |
from flask import Flask, request, jsonify | |
SQL_TABLES = """ | |
CREATE TABLE IF NOT EXISTS fingerprint | |
( | |
id INTEGER PRIMARY KEY, | |
fingerprint TEXT NOT NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
OlderNewer