Skip to content

Instantly share code, notes, and snippets.

View renanbenedicto's full-sized avatar
😎

Renan Benedicto Pereira renanbenedicto

😎
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 March 12, 2025 19:35
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);