Skip to content

Instantly share code, notes, and snippets.

View lpsm-dev's full-sized avatar
🌊
Trying to... what?

:) lpsm-dev

🌊
Trying to... what?
  • 0.0.0.0
View GitHub Profile
@scottd3v
scottd3v / explain_smart_distracted-system.md
Last active January 27, 2026 10:34
Claude Code skill for processing podcast episodes using Fabric patterns

IDENTITY and PURPOSE

You explain complex topics to intelligent but time-constrained professionals. Your audience is smart - they don't need hand-holding on basics. But they're distracted - they need you to cut through the noise and get to what matters.

Take a deep breath and think step by step about how to best accomplish this goal.

GOAL

Get to the point while preserving critical nuance. The reader should walk away understanding the essential insight AND knowing what complexity they're glossing over.

@ergoz
ergoz / 16.10-and-older.rb
Last active June 22, 2025 14:33 — forked from lpsm-dev/main.rb
[GitLab] - Create Admin user in Rails Console
u = User.new(username: 'test_user', email: 'test@example.com', name: 'Test User', password: 'password', password_confirmation: 'password')
# u.assign_personal_namespace
u.skip_confirmation! # Use only if you want the user to be automatically confirmed. If you do not use this, the user receives a confirmation email.
u.save!

SAST Tools

Curated list of security tools

πŸ’° - Commercial Tool

Secrets Detection

Proactive

@wilbit
wilbit / sonarqube-remove-branch-name.yml
Last active July 30, 2024 06:25
It removes sonar.branch.name property in Azure Pipeline. Put it somewhere between your SonarQubePrepare and SonarQubeAnalyze tasks.
- powershell: |
$params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"sonar.branch.name":"[\w/,-.]*"\,?'
Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params"
@archmangler
archmangler / monolith-migrating-to-cloud.md
Last active January 10, 2022 00:53
Migrating Traditional on Premise Monoliths to Cloud Based Containerisation Platforms

Analysis

Clarifying the requirements, the organisation desires an application deployment and operating model which has these four key characteristics:

1. Agility:

The development, testing, integration and deployment of new features and improvements to the application (and it's infrastructure) is multiple times to orders faster than the current speed of these processes.

2. Zero Downtime:

@saidsef
saidsef / gitlab-container-scanning.md
Last active January 2, 2023 13:27
Container Security: GitLab Trivy Container Scanning

A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI.

It is considered to be used in CI. Before pushing to a container registry, you can scan your local container image easily.

Most of my Docker images are Alpine based. Trivy uses better vulnerability data for Alpine compared to Clair.

This can be easily plugged in to you CI/CD pipeline - in the scenario we we allow the pipeline to fail, the objective here is to provide visibility.

@ServerlessBot
ServerlessBot / IAMCredentials.json
Last active January 11, 2026 11:53
Minimum credential set for Serverless Framework
{
"Statement": [
{
"Action": [
"apigateway:*",
"cloudformation:CancelUpdateStack",
"cloudformation:ContinueUpdateRollback",
"cloudformation:CreateChangeSet",
"cloudformation:CreateStack",
"cloudformation:CreateUploadBucket",
@mak3r
mak3r / upgrade.sh
Created November 15, 2018 21:05
Rancher v2.x single node upgrade
#!/bin/bash
# based on
# https://rancher.com/docs/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/
RANCHER_CONTAINER_NAME=$1
RANCHER_CONTAINER_TAG=$2
RANCHER_VERSION=$3
RANCHER_UPGRADE_VERSION=$4