Skip to content

Instantly share code, notes, and snippets.

@neremin
neremin / winsxs_ntfs_compress.bat
Last active May 7, 2024 14:13
WinSxS folder compression script
@ECHO off
net session >nul 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
@GOTO ADMINTASKS
:ELEVATE
ECHO Elevated privileges are temporarily required to run script
cd /d %~dp0
mshta "javascript: var shell = new ActiveXObject('Shell.Application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1); close();"
@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active May 7, 2024 14:13
Front-end frameworks popularity (React, Vue, Angular and Svelte)
@ddelange
ddelange / Installing PyICU, libpostal, pypostal on Mac OS X 10.14+.md
Last active May 7, 2024 14:12
Installation instructions for libicu-dev, PyICU, libpostal, pypostal on Mac OS X 10.14+

Installing PyICU, libpostal, pypostal on Mac OS X 10.14+

libicu-dev (PyICU dependency)

brew uninstall --ignore-dependencies icu4c
brew install pkg-config icu4c  # keg-only
@yasirkula
yasirkula / CustomRectHandles.cs
Created August 7, 2021 15:15
Drawing Rect handles in Unity (similar to built-in Rect tool)
using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
public class CustomRectHandles : ScriptableObject
{
public class Rect3D
{
@Kurotaku-sama
Kurotaku-sama / Twitch hitsquadgodfather command buttons.user.js
Last active May 7, 2024 14:11
Adds buttons to send commands for the onstream games in the twitch chat
// ==UserScript==
// @name Twitch hitsquadgodfather command buttons
// @namespace kurotaku.de
// @version 1.5.3
// @description Adds buttons to send commands for the onstream games in the Twitch chat
// @author Kurotaku
// @license MIT
// @match https://www.twitch.tv/hitsquadgodfather*
// @match https://www.twitch.tv/hitsquadbrawlers*
// @match https://www.twitch.tv/hitsquadplays*
@yovko
yovko / ohmyzsh.md
Last active May 7, 2024 14:11
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.

@markerikson
markerikson / job-search-questions.md
Last active May 7, 2024 14:10
Assorted questions to ask companies in interviews

Questions

Company

  • company location / remote?
  • what project management method?
  • good and bad company culture?
  • performance reviews?
  • what's the path to profitability?
@jkesseler
jkesseler / job-search-questions.md
Created May 7, 2024 14:10 — forked from markerikson/job-search-questions.md
Assorted questions to ask companies in interviews

Questions

Company

  • company location / remote?
  • what project management method?
  • good and bad company culture?
  • performance reviews?
  • what's the path to profitability?
@AlexouQC
AlexouQC / hello.c
Last active May 7, 2024 14:09
mon hello word
int main()
{
printf("Hello world")
return 0;
}
@colemar
colemar / #wg-peer.md
Last active May 7, 2024 14:06
Manage Wireguard peers (IPv4 only)

Manage Wireguard peers (IPv4 only)

List, add or delete Wireguard peers. Also show client configuration for already added peers.

wg-peer [add|show <peer>|del <peer>|list]

where:

  • a[dd] add a new peer