- add app.json, set the newest sdkVersion
{
"name": "<yourname>",
"displayName": "<yourname>",
"expo": {
"sdkVersion": "25.0.0"
}
}
{ | |
"foods": [ | |
{ | |
"id": "1", | |
"name": "Strogonoff", | |
"total_ingredients": "4", | |
"time": 40, | |
"cover": "https://i.imgur.com/or7Phgi.jpeg", | |
"video":"https://www.youtube.com/watch?v=y9yKuT1m9LI", | |
"ingredients": [ |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 14, | |
"editor.lineHeight": 1.8, | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"editor.rulers": [80, 120], | |
"extensions.ignoreRecommendations": true, | |
"typescript.tsserver.log": "off", | |
"files.associations": { |
const { src, dest, watch } = require('gulp'); | |
const sass = require('gulp-sass'); | |
const minifyCSS = require('gulp-csso'); | |
const babel = require('gulp-babel'); | |
const concat = require('gulp-concat'); | |
const browserSync = require('browser-sync').create(); | |
function css() { | |
return src('./sass/*.scss', { sourcemaps: true }) | |
.pipe(sass()) |
// Add Shortcode | |
function button_category($post_id) { | |
$category = get_the_category( $post_id ); | |
$return = '<a href="'. esc_url( get_category_link( $category[0]->term_id ) ) .'">Ver ' . $category[0]->cat_name . '</a>'; | |
return $return; | |
} | |
add_shortcode( 'button-category', 'button_category' ); |
"use strict"; | |
// Load plugins | |
const autoprefixer = require("autoprefixer"); | |
const browsersync = require("browser-sync").create(); | |
const cp = require("child_process"); | |
const cssnano = require("cssnano"); | |
const del = require("del"); | |
const eslint = require("gulp-eslint"); | |
const gulp = require("gulp"); |
<?php | |
/** | |
* [getMediaByUsername description] | |
* | |
* Author : Imam Ali Mustofa - Betta Dev Indonesia | |
* Website : www.bettadevindonesia.com | |
* | |
* This function will scrap data from instagram without API | |
* Define username you need and define how many media will you get! |
{
"name": "<yourname>",
"displayName": "<yourname>",
"expo": {
"sdkVersion": "25.0.0"
}
}
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Ping</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="apple-touch-icon" href="apple-touch-icon.png"> | |
<style> |
<?php | |
$number_of_posts_per_page = 9; | |
$initial_offset = 1; | |
$paged = ( get_query_var('page') ) ? get_query_var('page') : 1; | |
// Use paged if this is not on the front page | |
$number_of_posts_past = $number_of_posts_per_page * ($paged - 1); | |
$off = $initial_offset + (($paged > 1) ? $number_of_posts_past : 0); |