Skip to content

Instantly share code, notes, and snippets.

View alissonmarcs's full-sized avatar

Alisson alissonmarcs

  • São Bernardo do Campo, São Paulo, Brasil
  • 15:13 (UTC -03:00)
  • LinkedIn in/alissonmarcs
View GitHub Profile
@devinschumacher
devinschumacher / tailwind-layouts.md
Last active August 13, 2025 13:53
Common Webpage Layouts With TailwindCSS Using CSS Grid & Flex box (w/ Code Examples)
title tags
Common Webpage Layouts With TailwindCSS Using CSS Grid & Flex box (w/ Code Examples)
css
frontend
tailwind
css grid
css flex box

Creating Common Webpage Layouts With TailwindCSS Using CSS Grid & CSS Flex box (w/ Code Examples)

  • CSS Grid: for the main page layout (header, main content, sidebar, footer)
  • CSS Flexbox: for smaller components within those grid areas (like navigation menus, lists of items, or aligning content within a section)
@irfanbaigse
irfanbaigse / HealthCheckController.java
Created January 23, 2024 11:28
Spring Boot Health Check Api Controller
package com.example.irfan.rest;
import org.springframework.boot.actuate.health.HealthEndpoint;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@EteimZ
EteimZ / index.js
Created November 6, 2023 21:33
Cookie based Authentication in vanilla node js
const http = require('http');
const fs = require('fs');
const url = require('url');
// Simulated user data
const users = [
{ id: 1, username: 'john_doe', password: 'password123' },
{ id: 2, username: 'jane_smith', password: 'example456' }
];
@sirkirby
sirkirby / ngrok-tcp-tunnel.sh
Created September 19, 2023 15:20
Start ngrok tcp tunnel
# proxy to vnc port
ngrok tcp --region=us --remote-addr=1.tcp.ngrok.io:99999 5900
# or via Docker. Tunnel ports are random and will be specific to your tunnel
docker run -it -e NGROK_AUTHTOKEN=1232121212 ngrok/ngrok tcp 5900 --region=us --remote-addr=7.tcp.ngrok.io:99999
@stokito
stokito / README.md
Last active June 29, 2025 14:58
CGI shell scripts samples

CGI samples

CGI Variables

Standard set of Common Gateway Interface environment variable are described in RFC3875. For example:

CONTENT_TYPE=application/x-www-form-urlencoded
GATEWAY_INTERFACE=CGI/1.1
REMOTE_ADDR=192.168.1.180
QUERY_STRING=Zbr=1234567&SrceMB=&ime=jhkjhlkh+klhlkjhlk+%A9%D0%C6%AE%C6%AE&prezime=&sektor=OP
REMOTE_PORT=2292
@boaglio
boaglio / spring-core5.md
Last active June 20, 2025 08:53
Anotações do Spring Core 5
@rafaelpontezup
rafaelpontezup / NewAuthorController.java
Last active August 13, 2025 11:53
Example of Spring Boot REST Controller using SpringDoc OpenAPI
package br.com.zup.edu.app10.samples.authors;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.headers.Header;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import org.slf4j.Logger;
@adojos
adojos / maven-commands-reference.md
Last active August 7, 2025 21:14
Maven: Common Maven Commands Reference #maven

Maven Commands Reference

Maven offers a good set of commands and CLI Options to carry out wide range of Dev tasks. Most of these commands are in fact Maven build life cycles, phases and goals.

Here is a list of common Maven commands along with explanation. But before we go through the Maven commands, it is good idea to understand the structure or syntax of Maven commands along with a brief about the Maven lifecycle, phases and goals.


Maven Commands Syntax

@pkenil96
pkenil96 / Spring Framework & Spring Boot.md
Last active August 13, 2025 18:00
Notes on spring concepts

Spring Framework

Servlets - Java technology that you use to handle incoming requests on a server. Its a java object that has special methods for handling incoming HTTP methods. doGet, doPost, doDelete, doPut

Spring Framework

Concepts:

  1. IOC Containers
  2. Dependency Injection
@ifindev
ifindev / README.md
Created March 21, 2021 15:49
Tailwind Kanban

Tailwind Kanban

A simple exploration to build a kanban board using css grid in Tailwind CSS. So it's about 187 lines for just the mockup. This is totally normal because I just use plain HTML. For the next update, I will use Vue component to recreate it since it will clean up the code and more reusable.

Anyway, the UI is already responsive. But since I am using grids, I haven't figure out how to apply a horizontal scroll bar for the overflow case just like a normal kanban boards. Also, open up Tailwind Play to try out this project.

The design is inpired from this image. Kanban