Skip to content

Instantly share code, notes, and snippets.

View alessandrostein's full-sized avatar

Alessandro Stein alessandrostein

View GitHub Profile
funcao encontraPosicaoNextFit(vetor<TAD_CelulaMemoria> , TAD_Processo processo, inteiro posicaoInicial): inteiro
inicio
inteiro j,i
TAD_CelulaMemoria celula;
booleano achou = false;
i := posicaoInicial
j := 0;
enquanto (!achou) faca
se (i <= (TAMANHO_memoria -1))
#Why: Verify email box exists
#Author: Bruno da Silva Valenga - <brunodasilvalenga.com.br>
#Created: 08/25/2014
#Usage: script.py [email protected]
#Install lib DNS: https://github.com/rthalley/dnspython
import socket, smtplib, re, sys, dns.resolver
addressToVerify = sys.argv[1]
match = re.match('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$', addressToVerify)
{"latitude": "52.986375", "user_id": 12, "name": "Christina McArdle", "longitude": "-6.043701"}
{"latitude": "51.92893", "user_id": 1, "name": "Alice Cahill", "longitude": "-10.27699"}
{"latitude": "51.8856167", "user_id": 2, "name": "Ian McArdle", "longitude": "-10.4240951"}
{"latitude": "52.3191841", "user_id": 3, "name": "Jack Enright", "longitude": "-8.5072391"}
{"latitude": "53.807778", "user_id": 28, "name": "Charlie Halligan", "longitude": "-7.714444"}
{"latitude": "53.4692815", "user_id": 7, "name": "Frank Kehoe", "longitude": "-9.436036"}
{"latitude": "54.0894797", "user_id": 8, "name": "Eoin Ahearn", "longitude": "-6.18671"}
{"latitude": "53.038056", "user_id": 26, "name": "Stephen McArdle", "longitude": "-7.653889"}
{"latitude": "54.1225", "user_id": 27, "name": "Enid Gallagher", "longitude": "-8.143333"}
{"latitude": "53.1229599", "user_id": 6, "name": "Theresa Enright", "longitude": "-6.2705202"}
Vamos lá, como quero forçar a leitura, vou de livros  
1 - Abundancia - O futuro é melhor do que você imagina | Steven Kotler e Peter H. Diamandis
2 - VLEF - Vai lá e faz
3 - De Onde Vem as Boas Ideias | Steven Johnson
4 - Steve Jobs - A Biografia | Walter Isaacson
5 - A Única Coisa - o Foco Pode Trazer Resultados Extraordinários Para Sua Vida | Gary Keller e Jay Papasan
6 - O Mensageiro Milionário | Brandon Burchard
7 - Pai Rico Pai Pobre | Kiyosaki
8 - Desperte seu Gigante Interior | Robbins, Anthony

Como hackear a audiência de seus concorrentes e conhecer melhor o público do seu site com essas 2 ferramentas (quase grátis)

Conheça seu público

Passo 1. Abra seu serviço de email marketing.

a) Vá até sua lista e selecione os mais ativos. Eu utilizo o mailchimp. b) selecione os contatos que tem maior pontuação das estrelinhas. São os contato mais ativos da sua lista.

Passo 2. Instale esta extensão do Chrome Rapportive. A extensão é grátis.

COMANDS = [:place, :move, :left, :right, :report]
DIRECTIONS = [:north, :east, :south, :west]
TABLETOP_MAX_WIDTH = 4
TABLETOP_MAX_HEIGHT = 4
@x, @y, @position = [0,0, :north]
def place(params)
args = params.split(",")
position_x = args[0].to_i
def reversal!(text)
textVowels = getVowels(text)
textReversal = ""
vowelPosition = 0
for j in 0..text.size - 1 do
if isVowel(text[j])
vowelPosition += 1
if vowelPosition == textVowels.size
textReversal << textVowels[0]
"Ticket" : {
"required" : [ "cost", "faceValue", "row", "seatNumber", "section", "sellPrice", "status", "stockType" ],
"type" : "object",
"properties" : {
"id" : {
"type" : "integer",
"description" : "Unique identifier of the ticket.",
"format" : "int64"
},
"seatNumber" : {
"Inventory" : {
"required" : [ "cost", "eventId", "quantity", "row", "seatType", "section", "splitType", "stockType" ],
"type" : "object",
"properties" : {
"inHandDate" : {
"type" : "string",
"description" : "The date that the tickets will be in hand",
"format" : "date"
},
"id" : {
## Get the lastes tickets
https://skybox.vividseats.com/services/tickets?lastUpdateFrom=2019-03-18
## Get inventory sold
# Check if inventory exists (available)
https://skybox.vividseats.com/services/inventory/69822544
# Check if inventory exists (sold)
https://skybox.vividseats.com/services/inventory/sold?inventoryId=69822544