Skip to content

Instantly share code, notes, and snippets.

View GuiguiWeb's full-sized avatar
🌍

Guillaume Douceron GuiguiWeb

🌍
View GitHub Profile
@GuiguiWeb
GuiguiWeb / gist:b2256a2183750f50eeec19dec130c3bf
Created October 16, 2020 07:51
speech-recognition-test
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test Speach Reco</title>
</head>
<body>
Test
<script
/**
* Register term fields
*/
add_action( 'init', 'register_vendor_custom_fields' );
function register_vendor_custom_fields() {
add_action( WC_PRODUCT_VENDORS_TAXONOMY . '_add_form_fields', 'add_vendor_custom_fields' );
add_action( WC_PRODUCT_VENDORS_TAXONOMY . '_edit_form_fields', 'edit_vendor_custom_fields', 10 );
add_action( 'edited_' . WC_PRODUCT_VENDORS_TAXONOMY, 'save_vendor_custom_fields' );
add_action( 'created_' . WC_PRODUCT_VENDORS_TAXONOMY, 'save_vendor_custom_fields' );
}
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 29 columns, instead of 8. in line 3.
name,url,allies killed,axis killed,allies_destroyed_tanks,allies_destroyed_airplane,allies_destroyed_guns,axis_destroyed_tanks,axis_destroyed_airplane,axis_destroyed_guns,belligerents.allies,belligerents.axis,axis_leaders,allies_leaders,result_prop,result,axis_planes,axis_guns,axis_tanks,axis_infantry,allies_planes,allies_guns,allies_tanks,allies_infantry,level,parent,latlon,start,end
Battle of Westerplatte,https://en.wikipedia.org/wiki/Battle_of_Westerplatte,21,400,0,0,0,0,0,0,Poland,Germany   Danzig,"Henryk Sucharski,Franciszek Dąbrowski","Friedrich-Georg Eberhardt,Gustav Kleikamp,Wilhelm Henningsen  ",1,axis,60,,,3400,,,,240,100,German Invasion of Poland,"54.4075,18.67139",1939-09,1939-09
Battle of Mokra,https://en.wikipedia.org/wiki/Battle_of_Mokra,500,800,1,0,0,50,0,0,Poland,Germany,"Georg-Hans Reinhardt,Friedrich Kirchner",Julian Filipowicz,1,allies,,,,,,,,,100,German Invasion of Poland,"50.964643,18.917042",1939-09,1939-09
Battle of Mlawa,https://en.wikipedia.org/wiki/Battle_of_Mlawa,1200,1800,0,0,0,72
@GuiguiWeb
GuiguiWeb / laravel5.7-installation-macos.md
Last active December 20, 2018 14:19
Laravel 5.7 - Installation (macOS)

LARAVEL 5.7

Laravel Requirements

  • PHP >= 7.1.3
  • PHP Extensions (OpenSSL, PDO, Mbstring, Tokenizer, XML, Ctype, JSON and BCMath)
  • MySQL
  • Composer
  • NPM

Initial Setup Requirements

@GuiguiWeb
GuiguiWeb / git-command.md
Created November 29, 2017 14:37 — forked from aquelito/git-command.md
GIT - Ligne de commande principale

Github

Rappel

Ne pas oublier la base : l'aide en ligne de commande. Il s'agit de la meilleur documentation.

git help config
git help push
git help pull