Skip to content

Instantly share code, notes, and snippets.

View fabianoone's full-sized avatar

Fabiano Oliveira fabianoone

  • São Paulo
  • 00:25 (UTC -03:00)
View GitHub Profile
@fabianoone
fabianoone / brazil-cities-states-en.json
Created January 8, 2024 22:42 — forked from djalmaaraujo/brazil-cities-states-en.json
Cidades e estados brasileiros JSON & Javascript Object exported / Brazilian States and Cities in JSON or JS/Javascript
{
"states": [
{
"uf": "AC",
"name": "Acre",
"cities": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@fabianoone
fabianoone / wp-query-ref.php
Last active March 25, 2021 03:11
WordPress Query Comprehensive Reference
# WordPress Query Comprehensive Reference
```php
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
@fabianoone
fabianoone / Install Composer using MAMP's PHP.md
Created January 15, 2021 11:07 — forked from irazasyed/Install Composer using MAMP's PHP.md
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management


Instructions to Change PHP Installation


First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php

@fabianoone
fabianoone / .gitconfig
Created September 20, 2020 22:27 — forked from diego3g/.gitconfig
[alias]
ci = commit
co = checkout
cm = checkout master
cb = checkout -b
st = status -sb
sf = show --name-only
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)
{
// Define o tema que eu utilizo no VSCode 😉
"workbench.colorTheme": "Dracula Soft",
// Configura tamanho e família da fonte
"editor.fontSize": 13, // fontSize que utilizo para melhor visualização no macbook 😌
"editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"explorer.compactFolders": false,

CSS only order process steps

It's been a while. Just a nice process bar here where you can click on the different steps and be presented with information. The box at the top will also animate depending on the steps.

A Pen by Jamie Coulter on CodePen.

License.

@fabianoone
fabianoone / new_gist_file.php
Created February 1, 2016 11:59
Imprimir data PHP
echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));