-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "peru/windows-10-enterprise-x64-eval" | |
config.vm.synced_folder "data", "/vagrant_data" | |
config.vm.provider "virtualbox" do |vb| | |
# Display the VirtualBox GUI when booting the machine | |
vb.gui = true | |
# Customize the amount of memory on the VM: |
#################################################### | |
# | |
# PowerShell CSV to SQL Import Script | |
# | |
#################################################### | |
# Database variables | |
$database = "SIRAT" | |
#$server = "localhost\SQLEXPRESS"; | |
$server = "localhost"; |
# -*- coding: utf-8 -*- | |
import pandas as pd | |
from datetime import date | |
from datetime import timedelta | |
def get_df_extrato(): | |
# pega o arquivo do último ano disponível no site da CVM | |
today = date.today() | |
current_year = today.strftime('%Y') |
FROM debian:stretch-slim | |
ARG USER_PUID=1000 | |
ARG USER_PGID=1000 | |
ARG USER_NAME=php | |
RUN groupadd --gid $USER_PGID $USER_NAME \ | |
&& useradd --uid $USER_PUID --gid $USER_NAME -m $USER_NAME | |
ENV PHPIZE_DEPS \ |
---- BEGIN SSH2 PUBLIC KEY ---- | |
Comment: "rsa-key-20171104" | |
AAAAB3NzaC1yc2EAAAABJQAAAQEAv1VYytlM6yYkosoMRI5M5sQMY3dnckqn1T7q | |
dmgqZMNuPgATYDBp3L4vaJ1M3bWqGPcSGeEBUCN1G4+gcBXSrp2oK7+hisd5TWiO | |
BHt8uh/fiy56htQLLCz8JgYZsa1YgRT1Cvb+Ib1diUUJKk6m4zl8jvPV6uvVnLjU | |
OWc5ysBHrinZqJ7NYBLxlEnaICcApOrWI6owly/w/yoF3WAbvkjK+Qsj5M7ABtvM | |
ngtE66ylO1T9nRJgw7Y7+Jb+fxUACPdpCR7toUAvc+5SYjjl5mQXELeYOjKN+csc | |
K0xcGcmR41kBedBK27+dzwYdQouIgBCa8sQAyFDM7lazXw+MaQ== | |
---- END SSH2 PUBLIC KEY ---- |
#!/usr/bin/python3 | |
####################################################### | |
# Python rsync Backup script | |
# Sebastian Kraft, 24.06.2013 | |
# | |
####################################################### | |
#----------------------------------------------------- | |
# Config |
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
choco install filezilla -y | |
choco install putty -y | |
choco install 7zip -y | |
choco install XmlNotepad -y | |
choco install githubforwindows -y | |
choco install pdfcreator -y | |
choco install FoxitReader -y | |
choco install jdk8 -y | |
choco install python3 -y |