NOTE: if you are using the docker without the http://azk.io installed, use
dockerinstead ofadocker.
adocker kill $(adocker ps -q | tr '\r\n' ' ')
NOTE: if you are using the docker without the http://azk.io installed, use
dockerinstead ofadocker.
adocker kill $(adocker ps -q | tr '\r\n' ' ')
| defmodule ListOps do | |
| def count([]), do: 0 | |
| def count([h|t]), do: count(t) + 1 | |
| def reverse(l), do: reverse(l, []) | |
| defp reverse([], acc), do: acc | |
| defp reverse([h|t], acc), do: reverse(t, [h|acc]) | |
| def map([], _f), do: [] |
| isPulsing = false | |
| function OnEvent(event, arg) | |
| OutputLogMessage "Start Pulsing." | |
| if not isPulsing then | |
| isPulsing = true | |
| PulseKeyboard() | |
| end | |
| end |
| # | |
| # Executes commands at the start of an interactive session. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <sorin.ionescu@gmail.com> | |
| # | |
| # Source Prezto. | |
| if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
| source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" |
| #installs homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| #install zshell | |
| brew install zsh pyenv | |
| sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh | |
| #install some apps | |
| brew cask install flycut spectacle google-chrome spotify skype slack sublime-text |
| # ALUNO: Cesar Vargas | |
| # TIA: 30908639 | |
| import copy | |
| # Exercício 1 | |
| def triangular(entrada): | |
| saida = [None for x in range(len(entrada))] | |
| for i in reversed(range(0,len(entrada[0])-1)): #for (int i=sizeof(entrada)/sizeof(entrada[0]); i > 0; i--) | |
| soma = 0 |
| { | |
| "name": "Questionário Geral Público", | |
| "creation": "2018-11-15T20:04:33.787Z", | |
| "resources": { | |
| "money": { | |
| "name": "dinheiro", | |
| "subrecursos": { | |
| "organizacao": { | |
| "name": "organização", | |
| "toAvoid": [ |
| unbindall | |
| bind "0" "slot10" | |
| bind "1" "slot1" | |
| bind "2" "slot2" | |
| bind "3" "slot3" | |
| bind "4" "slot4" | |
| bind "5" "slot5" | |
| bind "6" "slot6" | |
| bind "8" "slot8" | |
| bind "9" "slot9" |
| echo 'blacklist ucsi_ccg' | sudo tee -a /etc/modprobe.d/blacklist.conf #hibernation stall fix. Might have to remove l8r. | |
| sudo sed 's/quiet splash/quiet splash button.lid_init_state=open /g' /etc/default/grub | sudo tee /etc/default/grub #wake up loop fix | |
| sudo update-grub #save kernel params to grub | |
| echo 'razer blade configurado...' |