Skip to content

Instantly share code, notes, and snippets.

@ryankurte
ryankurte / whatever.service
Created June 16, 2019 03:41
Minimal systemd unit
# place in /etc/systemd/system/whatever.service and install with `systemd install whatever.service`
# note that if you change this file you will need to run `systemctl daemon-reload` to get systemd to notice
[Unit]
Description=A good service description
# After networking because we need that
After=network.target
[Service]
@ppoffice
ppoffice / README.md
Last active January 22, 2025 06:20
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@hackermondev
hackermondev / research.md
Last active January 22, 2025 06:19
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active January 22, 2025 06:18
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@Albert221
Albert221 / JetBrains-Mono.css
Last active January 22, 2025 06:18
CSS for using JetBrains Mono on the Web. Simply copy&paste it to your stylesheet.
@font-face {
font-family: 'JetBrains Mono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
@InvincibleFrog
InvincibleFrog / sky130A_setup.sh
Created October 5, 2024 14:36
Setup instructions for Magic VLSI integration with Google's SkyWater-PDK 130nm Technology
# This script has been tested on Ubuntu 24.04.1 running in VirtualBox on Windows 10.
# If you encounter any issues, try executing one step at a time.
echo "Installing pre-requisite packages"
sudo apt update
sudo apt install xterm nedit git clang bison flex gawk graphviz xdot gperf ufw gettext nemo swig
sudo apt install libreadline-dev tcl-dev tcl8.6-dev libffi-dev pkg-config libboost-system-dev libboost-filesystem-dev zlib1g-dev tk8.6 tk8.6-dev tk-dev device-tree-compiler libboost-all-dev libncurses-dev readline-common
sudo apt install python3-pip python3-dev python3-venv python3-virtualvenv python3-numpy python3-pandas libboost-python-dev
sudo apt install --upgrade pip
@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active January 22, 2025 06:12
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
@ayodejiayodele
ayodejiayodele / copilot-metrics-dashboard-instructions.md
Last active January 22, 2025 06:11
Setup Instructions for GitHub Copilot Metrics Power BI Dashboard

Copilot Metrics Dashboard (Power BI Version)

This guide provides step-by-step instructions for deploying the Copilot Metrics Dashboard in your environment.

Setup Instructions

To use this report, ensure you have Power BI Desktop installed or access to the Power BI online service.

This report supports Copilot Business and Copilot Enterprise products, utilizing the GitHub Copilot User Management and Metrics APIs. The Copilot Metrics API became generally available on October 30th, 2024. For more information, read here.