Skip to content

Instantly share code, notes, and snippets.

View antxd's full-sized avatar
:octocat:
evolving

Jose Marin antxd

:octocat:
evolving
View GitHub Profile
@perezdans
perezdans / provincias.html
Last active May 9, 2023 11:53
Desplegable con la lista de provincias de España
<select required name="provincia" class="form-control">
<option value="">Elige Provincia</option>
<option value="Álava/Araba">Álava/Araba</option>
<option value="Albacete">Albacete</option>
<option value="Alicante">Alicante</option>
<option value="Almería">Almería</option>
<option value="Asturias">Asturias</option>
<option value="Ávila">Ávila</option>
<option value="Badajoz">Badajoz</option>
<option value="Baleares">Baleares</option>

If .DS_Store was never added to your git repository, simply add it to your .gitignore file.

If you don't have one, create a file called

.gitignore

In your the root directory of your app and simply write

@bladeSk
bladeSk / SQLite-PHP-quickstart.php
Last active April 30, 2024 04:16
SQLite3 PHP Quickstart Tutorial
<?php
// This file walks you through the most common features of PHP's SQLite3 API.
// The code is runnable in its entirety and results in an `analytics.sqlite` file.
// Create a new database, if the file doesn't exist and open it for reading/writing.
// The extension of the file is arbitrary.
$db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE);
// Errors are emitted as warnings by default, enable proper error handling.
@frob
frob / months.php
Created October 13, 2015 22:50
Long and short month names in a php array.
<?php
$short = array(
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',