Skip to content

Instantly share code, notes, and snippets.

View gabubellon's full-sized avatar
🏳️‍🌈

Gabriel (Gabu) Bellon gabubellon

🏳️‍🌈
View GitHub Profile
@gabubellon
gabubellon / umi_2022_scrap_videos_urls.rb
Last active August 3, 2022 01:26
umi_2022_scrap_videos_urls.rb
require 'capybara/dsl'
require 'pry'
require 'csv'
include Capybara::DSL
#register the chrome driver
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end

Keybase proof

I hereby claim:

  • I am gabubellon on github.
  • I am gabubellon (https://keybase.io/gabubellon) on keybase.
  • I have a public key ASAwS86Ydgq5SgUJ_WIu5BckgUyQj0iraOvPGnYVqEK6-Ao

To claim this, I am signing this object:

import boto3
## DELETANDO TODOS OS ENDPOINT
def get_all_endpoints(sagemaker_session, endpoint_names=[], next_token=""):
response = sagemaker_session.list_endpoints(MaxResults=10, NextToken=next_token)
response_endpoints = response.get("Endpoints")
response_next_token = response.get("NextToken")
@gabubellon
gabubellon / macos_zsh_powerline_vs.md
Last active January 31, 2022 14:36 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"