Skip to content

Instantly share code, notes, and snippets.

View veekthoven's full-sized avatar
🏠
Working from home

Victor Abbah Nkoms veekthoven

🏠
Working from home
View GitHub Profile
@veekthoven
veekthoven / loading-spinner.css
Last active February 24, 2021 13:14
"Stole" it from Bulma's source code. It adds a loading spinner to buttons to give users feed back.
// Hat-tip to bulma
.loader {
color: transparent !important;
pointer-events: none;
position: relative;
}
.loader:after {
animation: spinAround 500ms infinite linear;
border: 2px solid #fff;
import Errors from './Errors.js'
class Form {
/**
* Create a new Form instance.
*
* @param {object} data
*/
constructor(data) {
this.originalData = data;
@josantonius
josantonius / language-codes.json
Last active April 8, 2025 04:27
List of 183 language codes (ISO 639-1)
{
"aa": "Afar",
"ab": "Abkhazian",
"ae": "Avestan",
"af": "Afrikaans",
"ak": "Akan",
"am": "Amharic",
"an": "Aragonese",
"ar": "Arabic",
"as": "Assamese",