Skip to content

Instantly share code, notes, and snippets.

View apsamuel's full-sized avatar
🖖
Focusing

A. Samuel apsamuel

🖖
Focusing
View GitHub Profile
@ajgringo619
ajgringo619 / configuration.nix
Last active September 19, 2025 11:20
My NixOS config using Hyper-V
# NOTE: this config contains a fair amount of user-specific settings, but I
# left them in as they provide working examples (Samba, systemd services, etc.).
#
# This config is designed for the Budgie Desktop, but can easily be adapted to
# any DE. For Hyper-V to work, blacklisting the hyperv_fb module was critical.
#
# I am also using GRUB instead of the default systemd-boot.
{ config, pkgs, ... }:
@lambdafunc
lambdafunc / cisco-ios-image-for-gns3.md
Last active August 19, 2025 22:28 — forked from takyon12/cisco-ios-image-for-gns3.md
Cisco IOS Image for GNS3

Download FREE Cisco IOS image for GNS3

Hi dear all, that’s really a great to share my hard work with you , After a lots of hit in Google I finally found trick to search Cisco IOS in free of course. So without talking much here are the link where you can free download Cisco ios image and you can upload or use this ios to the router and as well as in GNS3.

Small Collection of IOS Images.

  • ftp://ftp.unikon-ua.net/pub/Cisco/IOS/

{Updated}Big Collection of IOS Images (Almost All Cisco IOS Images)

  • ftp://62.117.115.92/upload/ios/
@akella
akella / noise.glsl
Created June 19, 2022 07:43
noise.glsl
//
// GLSL textureless classic 3D noise "cnoise",
// with an RSL-style periodic variant "pnoise".
// Author: Stefan Gustavson (stefan.gustavson@liu.se)
// Version: 2011-10-11
//
// Many thanks to Ian McEwan of Ashima Arts for the
// ideas for permutation and gradient selection.
//
// Copyright (c) 2011 Stefan Gustavson. All rights reserved.
@dmadisetti
dmadisetti / generate-wildcard-certificate.sh
Last active August 4, 2025 10:19 — forked from PowerKiKi/generate-wildcard-certificate.sh
Generate self-signed wildcard SSL certificate for development environment
#!/usr/bin/env bash
# print usage
DOMAIN=$1
if [ -z "$1" ]; then
echo "USAGE: $0 tld"
echo ""
echo "This will generate a non-secure self-signed wildcard certificate for "
echo "a given development tld."
echo "This should only be used in a development environment."

UPDATE

Although below are methods to extract the contents of a macOS package without actually installing it, the best way might be to create a blank disk image and install the package to this disk image in order to inspect the package contents. To do so:

  • Open the Disk Utility app.
  • Choose "File > New Image > Blank Image". Alternatively, simply press CMD-N.
  • Set the parameters and click on "Save" to create the blank disk image.
  • After creation, it should be already mounted. If not, you can mount it by navigating to the directory that it is placed at and double clicking on the disk image file.
  • Run the package installer by double clicking on the package file.
  • Select this newly created blank disk image as the destination and install it.
  • If the script is preventing you from installing by saying, for example, "macOS isn't installed", you can:
@mattifestation
mattifestation / ExpandDefenderSig.ps1
Created March 28, 2019 20:17
Decompresses Windows Defender AV signatures for exploration purposes
filter Expand-DefenderAVSignatureDB {
<#
.SYNOPSIS
Decompresses a Windows Defender AV signature database (.VDM file).
.DESCRIPTION
Expand-DefenderAVSignatureDB extracts a Windows Defender AV signature database (.VDM file). This function was developed by reversing mpengine.dll and with the help of Tavis Ormandy and his LoadLibrary project (https://github.com/taviso/loadlibrary). Note: Currently, "scrambled" databases are not supported although, I have yet to encounter a scrambled database. Thus far, all databases I've encountered are zlib-compressed.
@jesugmz
jesugmz / git-tag-regex-validation-using-makefile .md
Last active June 26, 2025 14:39
Git tag regex validation using Makefile

Git tag regex validation using Makefile

This is a portion of a Makefile where I select a Git tag, validate its name using regular expresion and build a Docker image with it as tag.

# it is evaluated when is used (recursively expanded variable)
# https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_6.html#SEC59
git_tag = $(shell git describe --abbrev=0 --tags)
# Semantic versioning format https://semver.org/
tag_regex := ^v([0-9]{1,}\.){2}[0-9]{1,}$
@olihawkins
olihawkins / planets.py
Created February 10, 2019 15:18
Python module for downloading planetary data for More or Less
# -*- coding: utf-8 -*-
"""
This is the Python module I used for scraping planetary data for the BBC radio
programme More or Less. You can read more about it here:
http://olihawkins.com/2019/02/1
"""
@xiaolai
xiaolai / jupyter-as-a-desktop-app.md
Last active May 3, 2025 12:56
Run Jupterlab as an desktop app

How to run Jupyterlab as a desktop app on Mac OSX

In Sep, 2021, Jupyterlab Desktop App (electron) was released by Mehmet Bektas (github repo).

brew install --cask jupyterlab

jupyterlab-app-first-opened

@wiz4host
wiz4host / setup-users.groovy
Created November 6, 2018 17:25 — forked from johnbuhay/setup-users.groovy
jenkins init.groovy.d script for configuring users
import jenkins.*
import hudson.*
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import hudson.plugins.sshslaves.*;
import hudson.model.*
import jenkins.model.*
import hudson.security.*