Skip to content

Instantly share code, notes, and snippets.

@linucksrox
linucksrox / README.md
Created October 24, 2024 19:27
Talos Linux democratic-csi nfs and iscsi with Truenas Scale

How To Deploy

The .yaml file is actually a values file for the Helm chart democratic-csi/democratic-csi

  • Make sure TrueNAS has a dataset nvme2tb/k8s (or update the yaml file)
  • If you're using iSCSI, do the following in TrueNAS:
    • Create a dataset nvme2tb/k8s/iscsi
    • Make sure Block (iSCSI) Shares Targets is running, and click Configure
    • Save the defaults for Target Global Configuration
    • Add a portal on 0.0.0.0:3260
  • Add an Initiator Group, Allow all initiators, and name it something like k8s-talos
@Soapwood
Soapwood / unreal_tool_extractor.py
Last active January 16, 2025 09:22
Unreal Tool Extractor - Script to extract Editor dependencies for running Unreal Engine Programs in Standalone mode
import json
import os
import pathlib
import shutil
'''
UnrealToolExtractor
This script implements a simple solution for extracting binaries and engine dependencies required to run Unreal Engine
Programs as standalone applications. A lot of tools cannot normally be easily extracted from Engine/Binaries to run in
@numberwhun
numberwhun / 22 Hacking Sites To Practice Your Hacking Skills
Created July 14, 2016 00:36
22 Hacking Sites To Practice Your Hacking Skills
Taken from: https://hackerlists.com/hacking-sites/
22 Hacking Sites, CTFs and Wargames To Practice Your Hacking Skills
InfoSec skills are in such high demand right now. As the world continues to turn everything into an app and connect even the most basic devices to the internet, the demand is only going to grow, so it’s no surprise everyone wants to learn hacking these days.
However, almost every day I come across a forum post where someone is asking where they should begin to learn hacking or how to practice hacking. I’ve compiled this list of some of the best hacking sites to hopefully be a valuable resource for those wondering how they can build and practice their hacking skill set. I hope you find this list helpful, and if you know of any other quality hacking sites, please let me know in the comments, so I can add them to the list.
1. CTF365 https://ctf365.com/
@dvsingh9
dvsingh9 / spring.boot.90mb.Dockerfile
Created May 3, 2020 17:35
Spring boot ultra slim (less than 90 mb) docker build script
# (1) use Alpine Linux for build stage
FROM alpine:3.11.3 as build
# (2) install build dependencies
RUN apk --no-cache add openjdk11
RUN apk --no-cache add maven
# build JDK with less modules
RUN /usr/lib/jvm/default-jvm/bin/jlink \
--compress=2 \
--module-path /usr/lib/jvm/default-jvm/jmods \
@cs96and
cs96and / FontSubstitution2.user.js
Created October 1, 2014 10:40
Greasemonkey script that substitutes arbitrary fonts on webpages (based on the original FontSub by Arithon Kelis)
// ==UserScript==
// @name Font Substitution v2
// @namespace FontSub2
// @description Substitutes arbitrary fonts on webpages (based on the original FontSub by Arithon Kelis)
// @include *
// @version 2.0.7
// @grant none
// @run-at document-start
// ==/UserScript==
@rushfrisby
rushfrisby / JsonSchemaToPocos.cs
Last active January 16, 2025 09:19
Converts a JSON schema to C# POCO classes
class Program
{
private const string Cyrillic = "Cyrillic";
private const string Nullable = "?";
static void Main()
{
string schemaText;
using (var r = new StreamReader("schema.txt"))
@R3M4G
R3M4G / CyberSoc_CTF_Sol.txt
Last active January 16, 2025 09:18
CyberSoc | Cyber Detective CTF Solutions
# Life Online
* voteforme
James tweets about Barack Obama who belongs to the "Democratic Party".
FLAG=Democratic Party
* growingup
James tweets about what3words and on his twitter bio he wrote his Birthplace and city using what3words
"///push.asking.barn" which is in "Yorkshire" according to Google Maps.
FLAG=Yorkshire
@codesbysagar
codesbysagar / direnv-for-windows.md
Created January 16, 2025 09:17
direnv setup guide for windows

Setting Up Direnv on Windows

This guide explains how to set up and use direnv on a Windows system, particularly with Git Bash, for managing project-specific environment variables. 🚀


Prerequisites

  • 🖥️ Windows operating system
  • 🛠️ Git Bash installed
@aspose-cells-gists
aspose-cells-gists / .gitignore
Last active January 16, 2025 09:16
Aspose.Cells for Python via Java
/.vs
@mhtsai1010
mhtsai1010 / promiscuous_mode.txt
Created August 29, 2016 02:46
Enable promiscuous mode of vmware on a Linux Host
Ref: https://bbs.archlinux.org/viewtopic.php?id=65508
1/ Method 1
# First, create a new Linux group which has permission to use promiscuous mode, and add yourself to the group.
$ groupadd promiscuous
$ usermod -a -G promiscuous <your_user_id>
# Update the group ownership and access permission of /dev/vmnet*
$ chgrp promiscuous /dev/vmnet*
$ chmod g+rw /dev/vmnet*