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
Youse::SDK::PartnersService::EmployeeIntegrationTools.all(**kwargs).first.tap { unauthorize! if _1.nil? } |
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 pandas as pd | |
df = pd.read_csv('./music_project.csv', names=['userID', 'Track', 'artist', 'genre', 'City', 'time', 'Day']) | |
amount_music_group = {} | |
# Contando as músicas tocadas em cada cidade | |
for indice, linha in df.iterrows(): | |
city_name = linha['City'] |
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
def execute | |
@movements.each do |movement| | |
spu_movement = Activity::SpuMovement.find_or_initialize_by(code: movement["id"], procedure_id: @procedure.id) | |
next if spu_movement.persisted? | |
original_individual_id = @procedure.individual_id | |
progress = create_progress_with_virtual_assistant(@procedure) | |
spu_movement.assign_attributes( | |
action: movement["procedimento"], |
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
# available for which authentication methods. | |
# | |
# Database and user names containing spaces, commas, quotes and other | |
# special characters must be quoted. Quoting one of the keywords | |
# "all", "sameuser", "samerole" or "replication" makes the name lose | |
# its special character, and just match a database or username with | |
# that name. | |
# | |
# This file is read on server startup and when the server receives a | |
# SIGHUP signal. If you edit the file on a running system, you have to |
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
{ | |
"workbench.colorTheme": "Dracula", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.rulers": [120], | |
"editor.renderLineHighlight": "gutter", | |
"editor.tabSize": 2, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", |
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
# Lista de pacotes para instalação | |
sudo apt list |grep postgres| grep postgis |
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
feature/atividade_criar_oficio | |
feature/create_subprocess | |
apps | |
Robo 3T | |
Dbeaver | |
Insominia | |
SimpleScreenRecord | |
MongoDB compass |
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
#!/bin/bash | |
function unlock { sudo rm /var/lib/apt/lists/lock; } | |
function update_repositories { | |
echo "=======================[ Atualizando repositórios ]======================" | |
if ! sudo apt-get update | |
then | |
echo "Não foi possível atualizar os repositórios. Verifique seu arquivo /etc/apt/sources.list" |
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
Android Development with Kotlin | |
Machine Learning for OpenCV [eBook] | |
Understanding Software [eBook] | |
Linux Device Drivers Development [eBook] | |
Mastering Java 9 [eBook] | |
Perl 6 Deep Dive [eBook] | |
Scientific Computing with Python 3 [eBook] | |
Programming Microsoft Dynamics NAV - Fifth Edition [eBook] | |
Learning RxJava [eBook] | |
Continuous Delivery with Docker and Jenkins [eBook] |
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
def same_director | |
Movie.find_similar(1) | |
end |
NewerOlder