Skip to content

Instantly share code, notes, and snippets.

@andupotorac
andupotorac / styles.css
Created May 21, 2024 16:01 — forked from siliconjungle/styles.css
goopy text
path {
fill: none;
stroke: rgba(52, 53, 60, 1);
stroke-width: 4;
stroke-linecap: round;
}
svg > text {
font-family: 'Geist', sans-serif !important;
fill: rgb(201, 213, 229);
@zbalkan
zbalkan / Wazuh pain points.md
Last active May 21, 2024 16:01
After I started to use Wazuh, around June 2022, I came across many pain points. Here, I recorded and grouped some of them together. There is no specific order, neither alphabetical nor by importance.
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active May 21, 2024 15:59
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 21, 2024 15:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@fragmuffin
fragmuffin / .gitignore
Last active May 21, 2024 15:59
python unittest skip by label
__pycache__
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active May 21, 2024 15:56
Make Firefox fast again
@financial-python
financial-python / ema_crossover.py
Last active May 21, 2024 15:54
How to code an EMA crossover in Python
#import the necessary packages
import yfinance as yf
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
#download the historical stock data
aapl_df = yf.download("AAPL", start="2018-03-24", end="2023-03-24")
@fatbobman
fatbobman / keyboardAvoiding.swift
Created May 13, 2024 03:49
keyboardAvoiding for List
// by klaytonb
// https://forums.developer.apple.com/forums/thread/699111?answerId=740437022#740437022
import Combine
import SwiftUI
public extension Publishers {
static var keyboardHeight: AnyPublisher<CGFloat, Never> {
let willShow = NotificationCenter.default.publisher(for: UIApplication.keyboardWillShowNotification)
.map { $0.keyboardHeight }
let willHide = NotificationCenter.default.publisher(for: UIApplication.keyboardWillHideNotification)
@micr0-dev
micr0-dev / README.md
Last active May 21, 2024 15:49 — forked from Gordin/README.md
Script that remaps Keys in Cyberpunk 2077 from qwertz to colemak. That's it :>
  1. Have python installed
  2. Download remap.py (from below) and put it next to the config file inputUserMappings.xml (Should be in ...\Cyberpunk 2077\r6\config)
  3. Open a terminal, cd into the directory with the script, and run python remap.py
  4. It should create a new file called inputUserMappings2.xml
  5. Now rename inputUserMappings.xml to something else, and rename inputUserMappings2.xml to inputUserMappings.xml
@WalkingCat
WalkingCat / UnpEax.cs
Last active May 21, 2024 15:47
UnpEax, for extracting (but not decrypting) EAppX/EAppXBundle/EMsiX/EMsiXBundle files
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.IO.MemoryMappedFiles;
using System.Xml;
namespace UnpEax
{
class Program