Skip to content

Instantly share code, notes, and snippets.

View renanbenedicto's full-sized avatar
📚
Studying a lot

Renan Benedicto Pereira renanbenedicto

📚
Studying a lot
View GitHub Profile
@brokeyourbike
brokeyourbike / cloud-functions-static-outbound-ip.md
Last active April 21, 2024 00:50
Cloud functions static outbound IP address

Cloud functions static outbound IP address

The guide inspired by Static outbound IP address for Cloud Run.

1. Find the name of your VPC network:

gcloud compute networks list
@jamalnasir
jamalnasir / camel_case.sql
Last active January 16, 2023 20:17
Get Camel Case of a String in MySQL
DELIMITER $$
CREATE FUNCTION `camel_case`(str varchar(128)) RETURNS varchar(128)
BEGIN
DECLARE n, pos INT DEFAULT 1;
DECLARE sub, proper VARCHAR(128) DEFAULT '';
if length(trim(str)) > 0 then
WHILE pos > 0 DO
set pos = locate(' ',trim(str),n);