Skip to content

Instantly share code, notes, and snippets.

@christianparpart
christianparpart / terminal-synchronized-output.md
Last active May 4, 2024 01:00
Terminal Spec: Synchronized Output

Synchronized Output

Synchronized output is merely implementing the feature as inspired by iTerm2 synchronized output, except that it's not using the rare DCS but rather the well known SM ? and RM ?. iTerm2 has now also adopted to use the new syntax instead of using DCS.

Semantics

When rendering the screen of the terminal, the Emulator usually iterates through each visible grid cell and renders its current state. With applications updating the screen a at higher frequency this can cause tearing.

This mode attempts to mitigate that.

@NathanWalker
NathanWalker / ns-if.directive.ts
Last active May 4, 2024 01:00
nsIf - Specialized NativeScript directive for Angular to optimize view show/hide with change detection under mobile constraints
import {
Directive,
ElementRef,
EmbeddedViewRef,
Input,
OnDestroy,
OnInit,
Optional,
TemplateRef,
ViewContainerRef,
@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: