Skip to content

Instantly share code, notes, and snippets.

@jstnlvns
jstnlvns / git: gitignore.md
Created November 16, 2018 19:42
a gitignore cheatsheet

Git sees every file in your working copy as one of three things:

  1. tracked - a file which has been previously staged or committed;
  2. untracked - a file which has not been staged or committed; or
  3. ignored - a file which Git has been explicitly told to ignore.

Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:

  • dependency caches, such as the contents of /node_modules or /packages
  • compiled code, such as .o, .pyc, and .class files
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active May 4, 2024 00:53
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@thesamesam
thesamesam / xz-backdoor.md
Last active May 4, 2024 00:52
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@echo off
NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE >nul
GOTO ADMINTASKS
:ELEVATE
CD /d %~dp0 >nul
MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();" >nul
EXIT
@1A3Dev
1A3Dev / lc_v50.md
Last active May 4, 2024 00:51
Lethal Company - v50 Unofficial Full Changelog
  • Added a new intro cutscene
    • This occurs the first time the game is loaded as long as your previous game version is lower than v50.
    • If your previous version is already v50 or higher (which can happen when using certain mods) it will occur on the 7th time the game is loaded.
    • You can manually re-trigger this by loading into v49 (using the previous branch) then switching back to v50.
  • Added 3 new moons
    • Adamance
      • Min Scrap: 19 ($38)
      • Max Scrap: 23 ($3,670)
      • Max Enemy Power (Inside): 13
  • Max Enemy Power (Outside): 13
@joaovictorino
joaovictorino / Arquitetura do Linux e Docker.md
Created October 23, 2023 21:36
Arquitetura do Linux e Docker

Arquitetura do Linux e Docker

Vamos entender na prática a arquitetura do Docker e do Linux.
Abra o terminal e rode um contêiner "Ubuntu" conforme abaixo

docker run -it ubuntu bash

Agora execute o comando abaixo, validando que seu sistema operacional é realmente o Ubuntu

@rxaviers
rxaviers / gist:7360908
Last active May 4, 2024 00:48
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@dhh
dhh / linux-setup.sh
Last active May 4, 2024 00:45
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils
@KristofferRisa
KristofferRisa / choco-install-apps.ps1
Last active May 4, 2024 00:39
Choco install scripts
# Install script for Kristoffer
# Created 06.08.2015
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation
#choco install visualstudiocode
choco install notepadplusplus
@trulymittal
trulymittal / tailwind-colors.js
Last active May 4, 2024 00:38
List of all default Tailwind CSS colors from the default theme
export const colors = {
black: '#000',
white: '#fff',
rose: {
'50': '#fff1f2',
'100': '#ffe4e6',
'200': '#fecdd3',
'300': '#fda4af',
'400': '#fb7185',
'500': '#f43f5e',