Skip to content

Instantly share code, notes, and snippets.

View xemoe's full-sized avatar
🏠
Working from home

Teerapong Ladlee xemoe

🏠
Working from home
  • Bangkok, Thailand
View GitHub Profile
@xemoe
xemoe / main.sh
Last active December 20, 2021 11:48
Default setup
#!/bin/bash
#######################################################################
##
## START HEADER SCRIPT
##
#######################################################################
type realpath &>/dev/null
if [ $? -eq 1 ]; then
########################
## Software developer ##
## Teerapong ladlee   ##
########################

Teerapong ladlee

Experience & Responsibilities

@ankurk91
ankurk91 / github_gpg_key.md
Last active August 6, 2025 12:14
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@xemoe
xemoe / setup.md
Last active April 1, 2022 10:47
urd setup

setup dotfiles

sudo apt-get update
sudo apt-get install git
sudo locale-gen
sudo dpkg-reconfigure locales
git clone https://gist.github.com/675e0a9251a294537b9c.git dotfiles_setup
cd ./dotfiles_setup
./main.sh --pkg=common --user=srandev install
chsh -s /bin/zsh
@JustinByrne
JustinByrne / laravel-ci-cd-workflow.yml
Last active May 29, 2024 21:09
Github Action to test laravel and then compile the assets to a production branch
name: CI/CD workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
testing:
@dhh
dhh / linux-setup.sh
Last active September 7, 2025 22:38
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
@mennwebs
mennwebs / page.js
Last active August 18, 2025 00:56
Grist API with Next.js for Salary & Team Data
// Please check https://github.com/gristlabs/grist-api
import { GristDocAPI } from 'grist-api'
export default async function Page() {
const DOC_URL = process.env.GRIST_DOC_URL
const API_KEY = process.env.GRIST_API_KEY
const api = new GristDocAPI(DOC_URL, { apiKey: API_KEY })
const salary_data = await api.fetchTable('Salary')
const team_data = await api.fetchTable('Team')
const team = salary_data.map((person) => {
@pasqualevitiello
pasqualevitiello / sidebar.tsx
Last active July 2, 2025 09:19
Stripe-Style Collapse/Expand Toggle
"use client"
import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { cva, VariantProps } from "class-variance-authority"
import { PanelLeftIcon } from "lucide-react"
import { cn } from "@/lib/utils"
import { useIsMobile } from "@/hooks/use-mobile"
import { Button } from "@/components/ui/button"