This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
| body { | |
| text-align: justify; | |
| } | |
| code, pre { | |
| font-family: "Hack", monospace; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| text-align: left; |
| # GET VERSION | |
| yarn -v (or --version) | |
| # GET HELP | |
| yarn help | |
| # CREATE PACKAGE.JSON | |
| yarn init | |
| yarn init -y // Use defaults |
| <?php | |
| /** | |
| * Plugin Name: Convert ACF PHP to JSON | |
| * Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
| */ | |
| namespace ConvertAcfPhpToJson; | |
| /** | |
| * Add submenu item under 'Custom Fields' |
| "use strict"; | |
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| newer = require('gulp-newer'), | |
| sourcemaps = require('gulp-sourcemaps'), | |
| imagemin = require('gulp-imagemin'), | |
| browserSync = require('browser-sync').create(), | |
| reload = browserSync.reload, |
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:
🇧🇷 [pt-BR]
| // <![CDATA[ | |
| var langCodes = { | |
| "af": "Afrikaans", | |
| "sq": "Albanian", | |
| "an": "Aragonese", | |
| "ar": "Arabic (Standard)", | |
| "ar-dz": "Arabic (Algeria)", | |
| "ar-bh": "Arabic (Bahrain)", | |
| "ar-eg": "Arabic (Egypt)", | |
| "ar-iq": "Arabic (Iraq)", |