Skip to content

Instantly share code, notes, and snippets.


Rogerio Prado de Jesus rogeriopradoj

View GitHub Profile
rogeriopradoj /
Last active Sep 30, 2020 — forked from tamsanh/
Generate and play a sound in Jupyter Notebook when then cell is run. Useful as notification when a long-running cell is done.
from IPython.lib.display import Audio
import numpy as np
framerate = 4410
play_time_seconds = 3
t = np.linspace(0, play_time_seconds, framerate*play_time_seconds)
audio_data = np.sin(2*np.pi*300*t) + np.sin(2*np.pi*240*t)
Audio(audio_data, rate=framerate, autoplay=True)
Microsoft office and Chrome not working on catalina patcher (Solution) (self.CatalinaPatcher)

submitted 4 months ago by jareza

Hi! mandatory introduction:

I have a mid 2009 Macbook Pro that has Catalina Installed using Dos dude patcher. Works Great

However trying to open Google Chrome gave me an error. That same error was given when trying to open microsoft office.
rogeriopradoj / PERSONAL.XLSB.bas
Last active Aug 14, 2020
Sub AutoFiltro()
' AutoFiltro Macro
' Atalho do teclado: Ctrl+Shift+F
End Sub
rogeriopradoj / launch.json
Created Apr 30, 2020
.vscode/launch.json - para configurar o xdebug do php no vscode - dica do zé!
View launch.json
"version": "0.2.0",
"configurations": [
"name": "PHP-XDEBUG",
"type": "php",
"request": "launch",
"port": 9000
rogeriopradoj / 1.sql
Created Nov 18, 2019 - This script will get the list of Linked server with its properties and its associated local/Remote login list. The properites listed are Server,Product , Provider , Catalog , RPC out Enabled and Data Access Enabled. Also this lists the local login and remote…
View 1.sql
SELECT ss.server_id
,'Server ' = Case ss.Server_id
when 0 then 'Current Server'
else 'Remote Server'
,'Local Login ' = case sl.uses_self_credential
rogeriopradoj /
Last active Mar 30, 2020
CRIA catálogo de objetos servidores de banco de dados - sql server
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config| = "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:
rogeriopradoj / Brewfile
Last active Jul 21, 2020 - Como atualizar Mac e trazer todas as configurações - rogeriopradoj homebrew macOS
View Brewfile
tap "buo/cask-upgrade"
tap "burntsushi/ripgrep", ""
tap "domt4/autoupdate"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/cask-eid"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/core"
View macbook_sleep
# script to change the sleep mode of an OS X machine
usage () {
echo "supported sleep modes:"
echo " sleep"
echo " safesleep"
echo " hibernate"
echo " secure"
echo " insecure"
You can’t perform that action at this time.