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 'dart:async'; | |
import 'dart:io'; | |
import 'package:camera/camera.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
import '/utils.dart'; | |
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
<?php /* | |
Template Name: Gallery | |
Gallery template based on Advanced Custom Fields gallery field | |
with pagination and categories. | |
ACF Fields for this page are: | |
- gallery (Gallery field) -> contain all images | |
- categories (Repeater field) -> images divided into categories | |
-- name | |
-- nice_name (for the url) | |
-- gallery |
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
# Project language | |
language: php | |
# Allows use container-based infrastructure | |
sudo: false | |
# Start mysql service | |
services: | |
- mysql |
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 {Injectable} from "@angular/core"; | |
import {Platform} from "ionic-angular"; | |
const DB_NAME: string = '__mydbname'; | |
const win: any = window; | |
@Injectable() | |
export class Sql { | |
private _dbPromise: Promise<any>; |
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
/* | |
* | |
* Code générique qui permet d'utiliser le gestionnaire de media de WordPress | |
* | |
* Pour que ce code marche il faut ajouter le scripts de WordPress ( wp_enqueue_media() ) | |
* et respecter quelques régles pour le HTML ( voir les fichier exemple.php et functions.php ) | |
* | |
*/ | |
var custom_uploader, name, input, size, preview; |