Skip to content

Instantly share code, notes, and snippets.

View elusive's full-sized avatar
💭
Migrating from ng to react!

John Gilliland elusive

💭
Migrating from ng to react!
View GitHub Profile
@skrymets
skrymets / Cornell's Notes Template.md
Last active November 8, 2024 22:17
Cornell Note Template for Obsidian
cssclass
cornell-note
Cues

Notes

The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.

@thomaspoignant
thomaspoignant / Makefile
Last active November 3, 2024 18:20
My ultimate Makefile for Golang Projects
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true
GREEN := $(shell tput -Txterm setaf 2)
@LanceMcCarthy
LanceMcCarthy / UltimateListIds.md
Last active October 17, 2024 00:57
List of Package Ids
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac
@sts10
sts10 / kitty.conf
Created January 16, 2020 20:24
My config file for Kitty Terminal Emulator
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
font_family JetBrains Mono Medium
bold_font JetBrains Mono Bold
@tianvan
tianvan / DialogHostRegionAdapter.cs
Last active September 12, 2024 06:50
Prism combine with Material Design Toolkit Dialog
namespace Core.Services.Dialog
{
public class DialogHostRegionAdapter : RegionAdapterBase<DialogHost>
{
public DialogHostRegionAdapter(IRegionBehaviorFactory regionBehaviorFactory) : base(regionBehaviorFactory)
{
}
protected override void Adapt(IRegion region, DialogHost regionTarget)
@youhide
youhide / build.yml
Created October 25, 2019 18:45
GitHub Actions - Build for Windows, MacOS, Linux and release on tag.
name: Node CI
on:
push:
tags:
- 'v*'
jobs:
upload-release:
@GeorgeLyon
GeorgeLyon / Git Worktree Overview.md
Last active September 25, 2024 15:08
Git Worktree Overview

git worktree

What is it?

Git worktree it a git feature which allows you to checkout a single repository into multiple locations on your filesystem. It has a few rough edges, but if you follow a few simple rules it can be make context switching much easier than git's other mechanisms, such as stashing or switching branches. My folder structure will usually look something like this:

MyRepo/ master/ ← The original checkout, using something like git clone <repo url> master

@siklodi-mariusz
siklodi-mariusz / Dockerfile
Created January 30, 2018 19:40
Dockerfile example for Ruby on Rails running on Alpine Linux
FROM ruby:2.4-alpine3.7
# Install dependencies:
# - build-base: To ensure certain gems can be compiled
# - nodejs: Compile assets
# - postgresql-dev postgresql-client: Communicate with postgres through the postgres gem
# - libxslt-dev libxml2-dev: Nokogiri native dependencies
# - imagemagick: for image processing
RUN apk --update add build-base nodejs tzdata postgresql-dev postgresql-client libxslt-dev libxml2-dev imagemagick
@tterb
tterb / README-badges.md
Last active November 11, 2024 03:35
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@henkealg
henkealg / setup-bare-repo.md
Last active August 22, 2024 12:21
Quick step by step guide to remote git bare repo setup

Quick step by step guide to remote git bare repo setup

For controlled delivery/deployment of your project to custom remote git repositories.

Remote server setup

Replace %%repo-name%% with your custom name for the remote bare repo you are creating. I prefer using /var/git as the recipient folder but this can be any folder for witch the user has read/write access.

On the remote/recipient server Create and navigate to the target folder