Skip to content

Instantly share code, notes, and snippets.

View cbueno's full-sized avatar

Cristóferson Bueno cbueno

  • Atlants Animes
  • Belo Horizonte, Brasil
  • X @cbueno
View GitHub Profile
@igorsgm
igorsgm / Criar novo Usuário e Schema.sql
Created August 13, 2018 16:53
#Criar novo Usuário e Schema no Banco de Dados Oracle
CREATE USER NOME_USUARIO_AQUI IDENTIFIED BY SENHA_USUARIO_AQUI DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;
GRANT CREATE SESSION TO NOME_USUARIO_AQUI;
GRANT CREATE TABLE TO NOME_USUARIO_AQUI;
ALTER USER NOME_USUARIO_AQUI QUOTA UNLIMITED ON USERS;
GRANT EXP_FULL_DATABASE TO NOME_USUARIO_AQUI;
GRANT CONNECT TO NOME_USUARIO_AQUI;
GRANT create session, alter session TO NOME_USUARIO_AQUI;
GRANT create procedure to NOME_USUARIO_AQUI;
GRANT execute any procedure to NOME_USUARIO_AQUI;
GRANT create table TO NOME_USUARIO_AQUI;
@krobertson
krobertson / parts.md
Last active March 8, 2023 05:43
Voron 2.4 Printed Parts List

Voron 2.4 Printed Parts List

Parts for: Electronics_Compartment/DIN_Brackets

  [ ] [ ]     duet_duex_bracket_x2.stl
  [ ]         lrs_psu_bracket_clip.stl
  [ ] [ ] [ ] pcb_din_clip_x3.stl
  [ ] [ ]     ramps_bracket_x2.stl
@noinarisak
noinarisak / Dockerfile
Last active March 12, 2025 01:53
VsCode devcontainer development setup for Java 8
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
FROM openjdk:8-jdk
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
# will be updated to match your local UID/GID (when using the dockerFile property).
@torresashjian
torresashjian / linux-ubuntu-install-wifi-drivers
Last active March 19, 2025 21:34
How to install Broadcom bcm43602 Drivers on Ubuntu Linux
sudo apt-get purge bcmwl-kernel-source
sudo apt update
sudo update-pciids
sudo apt install firmware-b43-installer
sudo reboot #note that this will restart your computer
sudo iwconfig wlp3s0 txpower 10dBm
#sudo iwconfig wlp2s0 txpower 10dBm
@koush
koush / .bash_profile
Last active February 23, 2022 23:54
Put this in your .bash_profile(s) to open VS Code on your local machine while SSH'd into a remote machine.
# this needs to be on the *remote* machine.
if [ ! -z "$SSH_CLIENT" ]
then
function code() {
local ssh_client_host=$(echo $SSH_CLIENT | cut -d ' ' -f1)
if [ -z "$1" ]
then
local argpath="."
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@montasaurus
montasaurus / llmc.sh
Last active April 1, 2025 18:40
AI Shell Command Generator
llmc() {
local system_prompt='Output a command that I can run in a ZSH terminal on macOS to accomplish the following task. Try to make the command self-documenting, using the long version of flags where possible. Output the command first enclosed in a "```zsh" codeblock followed by a concise explanation of how it accomplishes it.'
local temp_file=$(mktemp)
local capturing=true
local command_buffer=""
local first_line=true
local cleaned_up=false # Flag to indicate whether cleanup has been run
cleanup() {
# Only run cleanup if it hasn't been done yet
@bobbyflowstate
bobbyflowstate / postToInstagram.js
Last active March 25, 2025 21:33
Automated Instagram Poster — Node.js + Dropbox + instagram-private-api
/**
* 🤖 Automated Instagram Poster — Node.js + Dropbox + instagram-private-api
*
* This script:
* - Pulls a random image from your Dropbox `/Public` folder
* - Posts it to Instagram using instagram-private-api
* - Adds a random emoji-only caption
* - Deletes the file from Dropbox after posting
* - Runs daily with PM2 cron scheduling
*