Skip to content

Instantly share code, notes, and snippets.

View kuwaitbinary's full-sized avatar
💭
Surviving sometimes I am free sometimes I am busy

Abdullah Al Mashmoum kuwaitbinary

💭
Surviving sometimes I am free sometimes I am busy
  • Kuwait
View GitHub Profile
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active July 10, 2024 13:27
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@taskylizard
taskylizard / fmhy.md
Last active July 17, 2024 11:57
/r/freemediaheckyeah, in one single file (view raw)
@r00t-3xp10it
r00t-3xp10it / DumpLsass.ps1
Last active March 27, 2024 21:51
Dump Lsass.exe process memory to retrieve credentials!
<#
.SYNOPSIS
Dump Lsass.exe process memory to retrieve credentials!
Author: @r00t-3xp10it
Mitre : T1003 (lolbas)
Tested Under: Windows 10 (19042) x64 bits
Required Dependencies: Admin privs, rundll32.exe, comsvcs.dll
Optional Dependencies: cmd, Invoke-WebRequest
PS cmdlet Dev version: v1.0.7
@vaygeth89
vaygeth89 / widget_wrapper.dart
Created July 3, 2021 13:29
Flutter Widget with AppBar Wrapper
class WidgetWithAppBarWrapper extends StatelessWidget {
final Widget Function(BuildContext) builder;
const WidgetWithAppBarWrapper({Key? key, required this.builder})
: super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Builder(builder: (context) => builder(context)),
bottomNavigationBar: PersistantBottomAppBar());
@SeanPesce
SeanPesce / https_server.py
Last active July 11, 2024 06:34
Simple Python 3 HTTPS Server (SSL/TLS)
#!/usr/bin/env python3
# Author: Sean Pesce
# References:
# https://stackoverflow.com/questions/19705785/python-3-simple-https-server
# https://docs.python.org/3/library/ssl.html
# https://docs.python.org/3/library/http.server.html
# Shell command to create a self-signed TLS certificate and private key:
# openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out cert.crt -keyout private.key
@gh640
gh640 / simple-https-server.py
Created March 7, 2021 01:43
Sample: A simple https server with Python for development (Python 3.9+).
"""Simple https server for development."""
import ssl
from http.server import HTTPServer, SimpleHTTPRequestHandler
CERTFILE = './localhost.pem'
def main():
https_server(certfile=CERTFILE)
"use strict";
const { has, prop, pick, concat } = require("lodash/fp");
const {
PUBLISHED_AT_ATTRIBUTE,
} = require("strapi-utils").contentTypes.constants;
const { getService } = require("strapi-plugin-content-manager/utils");
module.exports = {
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active July 17, 2024 06:55
Files for PlayStation BIOS Files NA-EU-JP
@lennardv2
lennardv2 / 1. Building PHP-MAMP on Apple Silicon M1.md
Last active February 29, 2024 07:57
Native PHP development / MAMP stack on Apple silicon M1

Building the MAMP stack (php, apache & mysql) on Apple Silicon ARM (native)

Update! This tutorial is outdated. Nowadays brew installes m1 binaries just fine. Also use valet: https://laravel.com/docs/9.x/valet. It's 10x easier.

In this tutorial, we'll build the the nescessary packages for ARM via homebrew. After that we'll configure apache2 for using virtual hosts. The native php is ofcourse way faster, see the results of this benchmark below.

TEST NAME SECONDS OP/SEC
@joedborg
joedborg / launch_vm.sh
Last active April 25, 2024 15:46
LXD Ubuntu VM launch and disk resize
#!/bin/env bash
set -e
readonly VM="banana"
readonly CPU="8"
readonly MEM="8GB"
readonly DSK="120GB"
lxc init images:ubuntu/focal ${VM} -p default -p vm --vm