Skip to content

Instantly share code, notes, and snippets.

View faeliaso's full-sized avatar
💙
MERAKI

Elias de Oliveira faeliaso

💙
MERAKI
View GitHub Profile
@faeliaso
faeliaso / funcaoJavaScriptPhp.php
Created May 3, 2020 02:37 — forked from antonio-abrantes/funcaoJavaScriptPhp.php
Executar função PHP através de função JavaScript
<!DOCTYPE html>
<!--
Exemplo de como executar uma função PHP disparada por um botão simples através de JavaScript.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
#formulario{
@faeliaso
faeliaso / gist:7001a25a58e828de9282f8da6323c77a
Created April 23, 2020 23:27 — forked from rafarubert/gist:2557708
.osx, peguei de alguém e não acho a referencia
# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Show remaining battery time; hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
localeIdentifier Description
eu Basque
hr_BA Croatian (Bosnia & Herzegovina)
en_CM English (Cameroon)
en_BI English (Burundi)
rw_RW Kinyarwanda (Rwanda)
ast Asturian
en_SZ English (Swaziland)
he_IL Hebrew (Israel)
ar Arabic
from flask import Flask
from flask_restful import Api, Resource, reqparse
app = Flask(__name__)
api = Api(app)
users = [
{
"name": "Nicholas",
"age": 42,
@faeliaso
faeliaso / estados-cidades.json
Created February 17, 2018 18:51 — forked from letanure/estados-cidades.json
JSON estados cidades
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@faeliaso
faeliaso / README.rst
Created July 6, 2017 22:57 — forked from dupuy/README.rst
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

my_app/
management/
migrations/
templates/
templatetags/
__init__.py
admin.py
apps.py
context_processors.py
exceptions.py
@faeliaso
faeliaso / LC_COLORS.md
Created November 7, 2016 22:09 — forked from thomd/LC_COLORS.md
LSCOLORS & LS_COLORS

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black