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
function getTypeHorario(urlAPI) { | |
return new Promise((resolve, reject) => { | |
axios.get(urlAPI, { | |
params: { | |
medicoId: req.body.medico_id | |
}, | |
headers: { | |
Authorization: req.token | |
} | |
}).then((result) => { |
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
# Export database | |
mongodump -h ds115671.mlab.com:15671 -d bomedico -u <user> -p <password> -o <output directory> | |
# Import collection | |
mongorestore -h ds115671.mlab.com:15671 -d bomedico -u <user> -p <password> <input .bson file> |
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
{ | |
scene: String, /* Enum: ... */ | |
character: String, /* Enum: ... */ | |
humor: String, /* Enum: ... */ | |
side: String, /* Enum: 'left' or 'right' */ | |
type: String, /* Enum: 'content' or 'alternative' */ | |
evaluative: Boolean, /* é avaliativa? */ | |
weight: Number, /* Limit 5, min 0. Peso de pergunta. *? | |
/* quando for contéudo */ | |
contentText: String, /* Título declativo para atividade tipo contéudo. */ |
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
https://www.linkedin.com/company/agendaedu/ | |
https://www.linkedin.com/company/associacao-brasileira-de-startups/ | |
https://www.linkedin.com/company/accountfy/ | |
https://www.linkedin.com/company/agenda-boa/ | |
https://www.linkedin.com/company/ahazouapp/ |
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
const respostaESIG = { | |
data_especifica: "20-08-2018", | |
hora_abertura: "18:00", | |
hora_fechamento: "22:00", | |
id: 2651839, | |
maximo_encaixe: 0, | |
maximo_por_dia: 10, | |
maximo_retorno: 0, | |
}; |
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
SELECT | |
pid | |
,datname | |
,usename | |
,application_name | |
,client_hostname | |
,client_port | |
,query | |
,state | |
FROM pg_stat_activity |
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
play_s = true | |
in_thread do | |
loop do | |
synth :piano | |
play choose(chord(:C4, :minor)), release: 0.1, cutoff: rrand(60, 80) | |
sleep 0.2 | |
end | |
end |
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
# _notes = [:C, :D, :E, :A, :G, :A | |
# _notes = [:C, :D, :E, :A, :G, :A, :C, :A, :G, :A, :E, :G].ring | |
#_notes = [:C, :D, :E, :A, :G, :E, :C, :A, :G, :A, :E, :G].ring # like this | |
_notes = [:C, :B, :E, :G, :B, :C, :B, :A, :G, :A, :E, :G].ring # like this | |
_chords = [chord(:C, :major), chord(:A, :minor), chord(:E, :major), chord(:F, :major)].ring | |
_note_i = 0 | |
_chord_i = 0 |
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
chords_rind = [:G4, chord(:D4, :minor), chord(:A4, :minor), :E4].ring | |
counter = 0 | |
in_thread do | |
loop do | |
sample :drum_heavy_kick | |
sleep 1 | |
sample :drum_cymbal_pedal | |
sleep 0.25 | |
sample :drum_heavy_kick |
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
import React from 'react'; | |
import { withStyles } from '@material-ui/core/styles'; | |
import Typography from '@material-ui/core/Typography'; | |
import Input from '@material-ui/core/Input'; | |
import TextField from '@material-ui/core/TextField'; | |
import MenuItem from '@material-ui/core/MenuItem'; | |
import ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown'; | |
import CancelIcon from '@material-ui/icons/Cancel'; | |
import ArrowDropUpIcon from '@material-ui/icons/ArrowDropUp'; | |
import ClearIcon from '@material-ui/icons/Clear'; |
NewerOlder