Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/* Kudos to Scott Kellum & Jeffrey Zeldman | |
* http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ */ | |
.hide-text { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
position: absolute; | |
} |
CULTURE SPEC.CULTURE ENGLISH NAME | |
-------------------------------------------------------------- | |
Invariant Language (Invariant Country) | |
af af-ZA Afrikaans | |
af-ZA af-ZA Afrikaans (South Africa) | |
ar ar-SA Arabic | |
ar-AE ar-AE Arabic (U.A.E.) | |
ar-BH ar-BH Arabic (Bahrain) | |
ar-DZ ar-DZ Arabic (Algeria) | |
ar-EG ar-EG Arabic (Egypt) |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?php | |
// A função abaixo demonstra o uso de uma expressão regular que identifica, de forma simples, telefones válidos no Brasil. | |
// Nenhum DDD iniciado por 0 é aceito, e nenhum número de telefone pode iniciar com 0 ou 1. | |
// Exemplos válidos: +55 (11) 98888-8888 / 9999-9999 / 21 98888-8888 / 5511988888888 | |
function phoneValidate($phone) | |
{ | |
$regex = '/^(?:(?:\+|00)?(55)\s?)?(?:\(?([1-9][0-9])\)?\s?)?(?:((?:9\d|[2-9])\d{3})\-?(\d{4}))$/'; | |
if (preg_match($regex, $phone) == false) { |
.p-0 { | |
padding: 0px; | |
} | |
.p-3 { | |
padding: 3px; | |
} | |
.p-5 { | |
padding: 5px; |
:: pandoc-docx-md.bat | |
:: | |
:: Don't show these commands to the user | |
@ECHO off | |
:: Set the title of the window | |
TITLE Convert docx to markdown with Pandoc | |
:: Select file marker | |
:selectfile | |
:: Clear any preexisting filename variables | |
SET filename= |
<template> | |
<h1>Página secreta!</h1> | |
</template> |
const $ = function(Selector) { | |
return document.querySelector(Selector); | |
} | |
$.Json = function(Object){ | |
return JSON.parse(Object) | |
} | |
$.Ajax = function(type = "GET", link) { | |
var xhttp = new XMLHttpRequest(); |
/* ### Base Spacing Unit ### */ | |
:root { | |
--base-space-unit: 0.5em; | |
} | |
/* ### Padding & Margin Helpers ### */ | |
/* Padding */ | |
.pa-0 { | |
padding: 0; | |
} |