Skip to content

Instantly share code, notes, and snippets.

View danielmciotti's full-sized avatar

Daniel Ciotti danielmciotti

  • Proprli
  • Curitiba, PR - Brazil
View GitHub Profile

Keybase proof

I hereby claim:

  • I am danielmciotti on github.
  • I am danielmciotti (https://keybase.io/danielmciotti) on keybase.
  • I have a public key ASBCgtlwGuZpu-s7gyguxnfupBqI6KnU0KbeXsiwMWS48Qo

To claim this, I am signing this object:

def split(input)
remainders = []
loop do
quotient, remainder = input.divmod(10)
remainders << remainder
break if quocient.zero?
input = quotient
end
remainders
## GAE
From GcpAppEngineServiceSample SELECT latest(flex.cpu.Utilization), latest(flex.cpu.ReservedCores) WHERE entityName LIKE 'integration-auth.%'
From GcpAppEngineServiceSample SELECT latest(system.memory.UsageBytes), latest(system.Instances) WHERE entityName LIKE 'integration-auth.%'
From GcpAppEngineServiceSample SELECT latest(system.memory.UsageBytes / 1e9), latest(system.Instances) WHERE entityName LIKE 'integration-auth.%'/B
## Transactions
From transaction select count(****) where appName = 'Integration Auth (Production)'
from transaction select count(*) where appName = 'Integration Auth (Production)' timeseries
from transaction select count(*) where appName = 'Integration Auth (Production)' timeseries compare with 1 week ago
from transaction select count(*) where appname = 'Integration Auth (Production)' timeseries facet request.method

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by