Skip to content

Instantly share code, notes, and snippets.

View SilasRodrigues19's full-sized avatar
🐒
Attempting to define the undefined in both code and reality

Silas Rodrigues SilasRodrigues19

🐒
Attempting to define the undefined in both code and reality
View GitHub Profile
@SilasRodrigues19
SilasRodrigues19 / README.md
Created August 26, 2022 01:46 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@SilasRodrigues19
SilasRodrigues19 / flexfroggy.css
Created September 5, 2022 14:39
Flexbox Froggy answers
.level1 {
display: flex;
justify-content: flex-end;
}
.level2 {
display: flex;
justify-content: center;
}
@SilasRodrigues19
SilasRodrigues19 / shorthands.css
Last active September 17, 2022 00:58
CSS Shorthands
https://app.clickup.com/31002239/v/dc/xj3kz-203/xj3kz-223
/* Font Shorthand */
.font {
/* Long */
font-style: italic;
font-weight: bold;
font-size: 1rem;
line-height: 1.5rem;
font-family: 'Source Sans Pro', sans-serif;
@SilasRodrigues19
SilasRodrigues19 / regex.js
Created September 23, 2022 04:10
URL RegEx
let urlRegex = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g
@SilasRodrigues19
SilasRodrigues19 / estacionamento.c
Last active October 23, 2022 05:07
Simples exemplo de estacionamento em C
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <string.h>
#include <locale.h>
typedef struct estacionamento ESTACIONAMENTO;
struct estacionamento
{
@SilasRodrigues19
SilasRodrigues19 / findurjob.database.sql
Last active April 18, 2023 19:29
FindUrJob Database Backup
CREATE TABLE jobs (
job_id INT(11) NOT NULL AUTO_INCREMENT,
job_title VARCHAR(255) NOT NULL,
job_requirements VARCHAR(255) NOT NULL,
job_link VARCHAR(255) NOT NULL,
job_level ENUM('Senior', 'Pleno', 'Junior', 'Trainee', 'Estágio', 'Não informado') NOT NULL DEFAULT 'Não informado',
job_salary VARCHAR(255) NOT NULL,
job_currency ENUM('Real', 'Dollar', 'Euro') NOT NULL DEFAULT 'Real',
job_mode ENUM('Remoto', 'Presencial', 'Híbrido', 'Não informado') NOT NULL DEFAULT 'Não informado',
job_contract ENUM('PJ', 'CLT', 'Não listado') NOT NULL DEFAULT 'Não listado',
-- --------------------------------------------------------
-- Servidor: 127.0.0.1
-- Versão do servidor: 10.4.25-MariaDB - mariadb.org binary distribution
-- OS do Servidor: Win64
-- HeidiSQL Versão: 12.1.0.6537
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <string.h>
#include <locale.h>
/*
olimpíada de natação eu quero cadastar os nomes ,com braçadas,metro e pontos dos participantes de cada país.
*/
@SilasRodrigues19
SilasRodrigues19 / STALuziaEcommerce.sql
Last active December 27, 2022 16:08
Queries com a relação de Notas Fiscais passadas pela Kely, o Mateus informou 132 mas na relação da Kely tem 134
SELECT id AS idpedido,
idcliente AS IDSTALuziaEcommerce,
numerocontrole AS NF,
chaveacesso,
status,
dataentrega
FROM pedidos
WHERE idcliente = '6f865a5c0c01b6f299b436dcb590fa45' -- STA Luzia Ecommerce
AND numerocontrole = '355392';
  • xxxxx
  • yyyyy