- Ônibus
- R$ 1600,00
- até 15 pessoas
- Avião
- R$ 364,00, ida 16/10, volta 18/10
- R$ 290,00, ida 16/10, volta 19/10
- 6h30 de viagem, 1 parada em Salvador
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use with caution! | |
from rest_framework import routers, serializers, viewsets | |
class RouterFactory(object): | |
def __init__( | |
self, | |
router=routers.DefaultRouter(), | |
models=[], | |
base_serializer_class=serializers.ModelSerializer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title> | |
{% block title %} | |
{% endblock %} | |
</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
GIT_WORK_TREE=/home/to/app git checkout -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://stackoverflow.com/a/23201953 | |
#Create a PowerShell Profile: New-Item -Type file -Path $PROFILE -Force | |
#Edit it: notepad $PROFILE | |
#s = git status | |
function Get-GitStatus { & git status $args } | |
New-Alias -Name s -Value Get-GitStatus | |
#c = git commit -m | |
function Get-GitCommit { & git commit -am $args } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import netifaces as ni | |
import os | |
ips = [] | |
for interface in ni.interfaces(): | |
if interface[0:3] == "eth" or interface[0:3] == "wla": | |
try: |
NewerOlder