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
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
import shapefile | |
# read the shapefile | |
reader = shapefile.Reader("my.shp") | |
fields = reader.fields[1:] | |
field_names = [field[0] for field in fields] | |
buffer = [] | |
for sr in reader.shapeRecords(): | |
atr = dict(zip(field_names, sr.record)) | |
geom = sr.shape.__geo_interface__ | |
buffer.append(dict(type="Feature", \ |
# Setup for use of Android SDK tools from command line | |
# Set ANDROID_SDK_ROOT to point to the root of the SDK installation | |
export ANDROID_SDK_ROOT='/Applications/adt-bundle-mac-x86_64-20130729/sdk' | |
export PATH=$PATH:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/tools/lib/x86_64 |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Invoice</title> | |
<style media="screen"> | |
body { | |
font-family: 'Segoe UI','Microsoft Sans Serif',sans-serif; | |
} | |
/* |
Install Team Explorer Everywhere Command Line Client
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
Nomes das Tabelas | |
SX1 Manutenção de Perguntas de parametrização (movimentações, consultas e relatórios) | |
SX2 Manutenção dos Arquivos | |
SX3 Manutenção dos Campos | |
SX4 Configuração de Agenda de Relatórios e Processos | |
SX5 Manutenção de Tabelas | |
SX6 Manutenção de Parâmetros | |
SX7 Manutenção de Gatilhos de Campos (SX3) | |
SX9 Manutenção de Relacionamento entre Arquivos (SX2) | |
SXA Manutenção de Pastas Cadastrais dos Arquivos (SX2) |
If you hate git submodule
, then you may want to give git subtree
a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add
command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this:
#include "PROTHEUS.ch" | |
#include "RESTFUL.ch" | |
#xtranslate @{Header <(cName)>} => ::GetHeader( <(cName)> ) | |
#xtranslate @{Param <n>} => ::aURLParms\[ <n> \] | |
#xtranslate @{EndRoute} => EndCase | |
#xtranslate @{Route} => Do Case | |
#xtranslate @{When <path>} => Case NGIsRoute( ::aURLParms, <path> ) | |
#xtranslate @{Default} => Otherwise |