Skip to content

Instantly share code, notes, and snippets.

@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@thedevsaddam
thedevsaddam / Restapi.go Secret
Last active May 9, 2019 20:16
Simple golang REST api implementation using gin-gonic framework with gorm ORM
package main
import (
"net/http"
"strconv"
"github.com/gin-gonic/gin"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/mysql"
)
@shurshur
shurshur / Build_instructions.md
Created October 21, 2026 20:05
Build remi-php 8.2.35 for CentOS 7 (el7)

Build remi-php 8.2.35 for CentOS 7 (el7)

DiSCLAIMER! No warranty! Use at your own risk! Remi officially doesn't support el7 distributions now!

  1. Get source RPM:
wget https://rpms.remirepo.net/SRPMS/php82-php-8.2.35-1.remi.src.rpm
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created January 10, 2026 08:30
squirreldisk v0.3.4 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-4010432545-2485811193-966787038-1000</user>
<keys>
<key installerType="Msi" displayName="SquirrelDisk" displayVersion="0.3.4">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B9875F98-0F9E-42DB-9A57-279AA8A90CC1}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\SquirrelDisk\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{B9875F98-0F9E-42DB-9A57-279AA8A90CC1}]]></UninstallString>

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@4lxprime
4lxprime / github-desktop-ubutnu.sh
Last active October 13, 2026 16:52
download github desktop on ubuntu
### How to install github desktop on ubuntu:
## download .deb file:
sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.2.0-linux1/GitHubDesktop-linux-3.2.0-linux1.deb
## gdebi:
# sudo apt install gdebi-core -y
# sudo gdebi GitHubDesktop-linux-3.2.0-linux1.deb
## dpkg:
sudo dpkg -i GitHubDesktop-linux-3.2.0-linux1.deb
@iamnewton
iamnewton / bash-colors.md
Last active October 10, 2026 22:15
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@HelgeSverre
HelgeSverre / coop-norway-api.openapi.json
Last active October 22, 2026 18:17
Norwegian Grocery Store APIs — Reverse-engineered API documentation for Rema 1000, Coop Norway, and Trumf (extracted from Android APKs)
{
"openapi": "3.1.0",
"info": {
"title": "Coop Norway Medlem API",
"version": "4.17.3",
"description": "Reverse-engineered API specification for the Coop Norway \"Coop medlem\" Android app (no.coop.members v4.17.3). Extracted via static analysis of the compiled Dart binary (libapp.so) from the Flutter APK.\n\nThis API powers Norway's Coop loyalty program including purchase history, digital receipts, coupons, Coopay mobile payment, shopping lists, and Shop Express.\n\n**Authentication:** OpenID Connect via Auth0 at https://login.coop.no/\n**Strong Customer Auth (Coopay):** Aera SDK at https://api.aerahost.com/\n\n⚠️ Unofficial, reverse-engineered spec. Use responsibly for personal data access only.",
"contact": { "name": "Helge Sverre", "url": "https://helgesver.re" },
"license": { "name": "MIT" }
},
"servers": [
@abdullahnettoor
abdullahnettoor / flutter-ci.yml
Created March 11, 2022 14:42
Flutter - Build APK through GitHub Actions
name: Flutter CI
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
@bijij
bijij / viewimage.user.js
Last active August 13, 2026 19:55
Userscript version of the View Image chrome extension
// ==UserScript==
// @name View Image
// @namespace https://github.com/bijij/ViewImage
// @version 4.1.1
// @description This userscript re-implements the "View Image" and "Search by image" buttons into google images.
// @author Joshua B
// @run-at document-end
// @include http*://*.google.tld/search*tbm=isch*
// @include http*://*.google.tld/imgres*
// @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js