Skip to content

Instantly share code, notes, and snippets.

View tyagow's full-sized avatar
🏠
Working from home

Tiago Almeida tyagow

🏠
Working from home
View GitHub Profile
Passage: The nurse is caring for a $62$-year-old client who has $pneumonia$. Client has history of $chronic obstructive pulmonary disease$. Physical examination reveals client has frequent, unproductive $cough$; $suctioned thick$, $purulent sputum$; $wheezes bilaterally$ on inspiration and expiration; $shortness of breath$ with exertion; $digital clubbing$ and $increased anteroposterior chest diameter$. Vital signs: $101.9$F, P$118$, BP$122/84$, pulse oximetry reading $93% on oxygen$ at 2 L/min via nasal cannula.
Question: Select which of the following findings is a sign of a potentially worsening condition?
Digital clubbing
Oxygen saturation 93% on room temperature
Frequent, productive cough
@@@
Passage: The nurse is caring for a $28$-year-old client who is $gravida 4$, $para 2$, is at $40 weeks gestation$ and is in active labor. The client is receiving $titrated intravenous oxytocin$ for augmentation of labor via the secondary line on an intravenous pump. The client is also receiving maintenance $intravenou
def migrate(_, __):
with connection.cursor() as cursor:
cursor.execute(
"SELECT id FROM users WHERE email = %s", ["mock_student@example.com"]
)
mock_student_id = cursor.fetchone()[0]
commands = [
[
"ALTER TABLE submissions DROP CONSTRAINT "
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"emmet.triggerExpansionOnTab": true,
"[javascript]": {
"editor.formatOnSave": true
},
"editor.cursorStyle": "block",
"editor.cursorBlinking": "solid",
"editor.fontWeight": "400",
import React from 'react';
import PropTypes from 'prop-types';
import Slide from '@material-ui/core/Slide';
import Fade from '@material-ui/core/Fade';
import Dialog from '@material-ui/core/Dialog';
import DialogContentText from '@material-ui/core/DialogContentText';
import MuiDialogTitle from '@material-ui/core/DialogTitle';
import DialogActions from '@material-ui/core/DialogActions';
@tyagow
tyagow / npm-freeze.sh
Created July 9, 2019 10:29 — forked from nagapavan/npm-freeze.sh
npm hacks
function npm-freeze() {
# npm ls | grep -E "^(├|└)─" | cut -d" " -f2 | awk -v quote='"' 'BEGIN { FS = "@" } ; { print quote $1 quote,":",quote $2 quote"," }' | sed -e 's/ :/:/g'
entries=`npm list --depth=0 -prod true "$@" 2>/dev/null | grep -v "UNMET PEER DEPENDENCY\|peer dep missing" | grep -E "^(├|└)─" | cut -d" " -f2`
echo '"dependencies" : {'
for entry in ${entries}; do
if [[ $entry =~ ^@.* ]]; then
# echo $entry
echo $entry | awk -v quote='"' -v attherate='@' 'BEGIN { FS = "@" }; { print quote attherate $1$2 quote,":",quote $3 quote"," }'
else
Entao, vou te passar uma lista de dicas que acho fundamentais para essa mudanca:
1 - Dedicacao, para aproveitar o maximo do curso deve-se dedicar o maximo possivel, tentar nomear todos os projetos.
2 - Quer passar para um job? Ja comecou a aplicar para vagas? A minha tatica foi: 2 - 3 entrevistas por semana,
para isso comecei a submeter para 4 - 5 vagas por semana (umas demoram para responder outras nem respondem).
O nao tu ja tens, agora quando tu comecas a fazer as entrevistas, tu comecas a entender como funciona o processo
e tens a chance de estudar os pontos necessarios.
3 - Essa eh relacionada com o item 1, acordar cedo e dormir cedo, assim teu dia vai render muito! Eu me acostumei a
def run_main():
"""Faça um programa que n numeros inteiros e imprima a soma desses n números."""
cont = 'S'
while cont == 'S' or cont == 's':
numbers = map(int, str(input("Digite quantos numeros para somar? ")).split())
print("Soma ", sum(numbers))
cont = str(input("Continua (S/N)? "))
if __name__ == '__main__':
run_main()
@font-face {
font-family: 'icomoon';
src: url('https://cambiosparaguai.s3.amazonaws.com/static/fonts/icomoon/fonts/icomoon.eot?delp0i');
src: url('https://cambiosparaguai.s3.amazonaws.com/static/fonts/icomoon/fonts/icomoon.eot?delp0i#iefix') format('embedded-opentype'),
url('https://cambiosparaguai.s3.amazonaws.com/static/fonts/icomoon/fonts/icomoon.svg?delp0i#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?delp0i');
src: url('fonts/icomoon.eot?delp0i#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?delp0i') format('truetype'),
url('fonts/icomoon.woff?delp0i') format('woff'),
url('fonts/icomoon.svg?delp0i#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>