Skip to content

Instantly share code, notes, and snippets.

View ludsilva's full-sized avatar
📖
#studying

Lud Silva ludsilva

📖
#studying
View GitHub Profile
@Gaboso
Gaboso / license-badges.md
Last active February 25, 2025 19:55 — forked from lukas-h/license-badges.md
Selos de licença para o seu projeto

Selos de licença no Markdown

Coleção de selos de licença para o arquivo README do seu projeto.
Esta lista inclui as licenças open data e open source mais comuns.
Copie e cole facilmente o código dos selos nos seus arquivos em Markdown.

Notas

  • Esses selos não substituem totalmente as informações de licença dos seus projetos, eles são apenas emblemas para o README, que o usuário pode ver a Licença à primeira vista.

Traduções: (sem garantias que as traduções estarão atualizadas)

@wellington1993
wellington1993 / windows-8-product-keys.txt
Created August 4, 2017 19:15
Windows 8 Product Keys Education Purpose
http://www.productkeysfree.com/2016/08/windows-8-product-keys.html
Windows 8 Product Key ( 32 bit )
XKY4K-2NRWR-8F6P2-448RF-CRYQH
TK8TP-9JN6P-7X7WW-RFFTV-B7QPF
QXV7B-K78W2-QGPR6-9FWH9-KGMM7
RR3BN-3YY9P-9D7FC-7J4YF-QGJXW
FB4WR-32NVD-4RW79-XQFWH-CYQG3
Windows 8 Product Key ( 64 bit )
@Dither
Dither / moon_phase.js
Created September 17, 2016 10:07
JS function to calculate moon phase
function moon_phase(date) { // ported from http://www.voidware.com/moon_phase.htm
var year = date.getYear(),
month = date.getMonth(),
day = date.getDay();
if (month < 3) {
year--;
month += 12;
}
@HarishChaudhari
HarishChaudhari / passwordRegex.js
Created August 1, 2016 13:29
Password validation RegEx for JavaScript
/**
* Password validation RegEx for JavaScript
*
* Passwords must be
* - At least 8 characters long, max length anything
* - Include at least 1 lowercase letter
* - 1 capital letter
* - 1 number
* - 1 special character => !@#$%^&*
*
@lukas-h
lukas-h / license-badges.md
Last active October 20, 2025 22:24
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@endel
endel / getMoonPhase.js
Created March 25, 2015 16:04
Get Moon Phase by Date, written in JavaScript
/*
* modified from http://www.voidware.com/moon_phase.htm
*/
function getMoonPhase(year, month, day)
{
var c = e = jd = b = 0;
if (month < 3) {
year--;
@igorcosta
igorcosta / cpf_cnpj_validator
Created June 26, 2014 19:13
Regex para validar CPF e CNPJ
Para CPF
/^\d{3}\.\d{3}\.\d{3}\-\d{2}$/
Para CNPJ
/^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$/
Para ambos ao mesmo tempo