Skip to content

Instantly share code, notes, and snippets.

@silasrm
silasrm / index.js
Last active May 9, 2024 18:21
Entendendo a api do bibliaonline.com.br (http://jsbin.com/debagax/1/edit?html,js,output)
// Total de capítulos por livro, na ordem
var totalCapitulos = [50,40,27,36,34,24,21,4,31,24,22,25,29,36,10,13,10,42,150,31,12,8,66,52,5,48,12,14,3,9,1,4,7,3,3,3,2,14,4,28,16,24,21,28,16,16,13,6,6,4,4,5,3,6,4,3,1,13,5,5,3,5,1,1,1,22];
// Livros da bíblia
var livros = [
{
number: 1,
name: "Gênesis",
slugByLang:
{
@smj10j
smj10j / dynv6.sh
Last active March 21, 2017 11:50 — forked from corny/dynv6.sh
OSX Version of a script to update IPv4 and IPv6 on http://dynv6.com
#!/bin/sh -e
##
## 03/03/2015
## Updates IPv4 and IPv6 on DynV6.com on OSX
## https://gist.github.com/smj10j/6730d6136eb206e9b9bc
## Original at https://gist.github.com/corny/7a07f5ac901844bd20c9
##
## Example call:
## token=<token> ./dynv6.sh <your dynv6 hostname>