Skip to content

Instantly share code, notes, and snippets.

@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',
@rezamt
rezamt / gcloud-fiters.sh
Created December 2, 2018 00:53
GCloud Filter Examples
List all Google Compute Engine instance resources:
$ gcloud compute instances list
List Compute Engine instance resources that have machineType f1-micro:
$ gcloud compute instances list --filter="machineType:f1-micro"
List Compute Engine instance resources with zone prefix us and not
MachineType f1-micro:
@Meltwin
Meltwin / Noetic-Ubuntu22.04.md
Last active May 4, 2024 00:35
Installing ROS1 Noetic on Ubuntu 22.04

The process is pretty similar to the standard installation from source except for some fixes that you will have to make during the installation. I will keep the same header so you can keep a track on both guide at the same time (follow the official website for more explication, I will only write the steps to make).

1 - Prerequisites

1.1 - Installing bootstrap dependencies

To install bootstrap dependencies