Skip to content

Instantly share code, notes, and snippets.

View shinnida220's full-sized avatar
💭
caressing php, wooing android and eyeing angular

Emmanuel Ibikunle shinnida220

💭
caressing php, wooing android and eyeing angular
View GitHub Profile
@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active April 25, 2025 22:53
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@codeadamca
codeadamca / mamp-php-versions.md
Last active February 11, 2025 19:08
How to add new PHP versions to MAMP on a Mac

Adding Versions of PHP to MAMP on a Mac

If you're working on a project that requires a version of PHP higher than the versions that MAMP comes with, you can easily add additional verions.

My version of MAMP came installed with PHP 7.4.21 and 8.0.8. I'm attempting to use MAMP to host a Laravel application which requires at least PHP 8.1.

The version of PHP MAMP uses is often different than the version you have installed. I have installed PHP using Brew. I'm currently running PHP 8.1.8. If you want to check your installed version of PHP, use the terminal and run the following command:

php --version
@shinnida220
shinnida220 / install.sh
Last active July 22, 2022 23:27 — forked from mslinn/install.sh
Install AWS Cloud9 (with AWS CLI & Docker) on an Ubuntu 20.04 server external to AWS
# Log into your Ubuntu machine then follow these directions
# First allow Cloud9 to ssh to your machine using your account:
# https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment-ssh.html
# Install required dependencies
if [ -z `which virtualenv` ]; then
sudo pip install virtualenv
fi
if [ -z `apt -qq list libevent-dev 2> /dev/null | grep installed` ]; then
@mslinn
mslinn / install.sh
Last active July 15, 2022 19:36
Install AWS Cloud9 on an Ubuntu 20.04 server external to AWS
# Log into your Ubuntu machine then follow these directions
# First allow Cloud9 to ssh to your machine using your account:
# https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment-ssh.html
# Install required dependencies
if [ -z `which virtualenv` ]; then
sudo pip install virtualenv
fi
if [ -z `apt -qq list libevent-dev 2> /dev/null | grep installed` ]; then
@judavi
judavi / wallet.py
Created May 17, 2020 09:08
BTC seed guesser
from bitcoinlib.wallets import HDWallet
from bitcoinlib.wallets import HDWalletKey
from bitcoinlib.wallets import HDKey
from bitcoinlib.mnemonic import Mnemonic
# 11 word seed
seed = "please help hard puzzle will become crazy valid seed must sleep"
# here be gold
gold = "bc1qj7467e7r5pdfpypm03wyvguupdrld0ul2gcutg"
@gkhays
gkhays / Download File with Node.md
Created February 27, 2020 17:26
Download a file from a URL using Node.js

Download File from URL

Proof-of-concept to download a file from a URL and save it locally. For example, I may wish to retrieve a JAR file from Nexus.

Uses the http package, which does the basics with raw HTTP protocol support.

Possible update: use request, it is like the Python's requests library. There is a companion package called node-request-progress that tracks download progress. See request-progress on GitHub.

Note: The request package has been deprecated.

@kosyfrances
kosyfrances / site-to-site.md
Last active September 30, 2024 10:41
Steps to set up one tunnel IPSec Site to site VPN on AWS and a VM on another cloud provider (Packet) running Strongswan
@kenprice
kenprice / guess_seeds.py
Last active March 14, 2025 19:44
cryptogreetings r/Bitcoin puzzle - BIP49 seed word guessing util
from electrum import util, keystore, bitcoin
import argparse
import sys
import threading
MAX_THREADS=25
TARGET_ADDR="3CcxyPhyvyc3S9UuPfu42GNZLvVVV11Uk8"
# How many of the address indexes to try. Default to just /0.
# i.e. last digit in derivation path: m/49'/0'/0'/0/0
MAX_ADDR_IDX=1
@maorpolak
maorpolak / memcached-installation.txt
Last active February 13, 2025 21:22
Install Memcached for XAMPP on macOS
1. Install libmemcached with brew:
> brew install libmemcached
2. Install memcached with pecl:
- > sudo /Applications/XAMPP/xamppfiles/bin/pecl install memcached
- When prompted for the libmemcached directory, press 'Enter' and the installer will automatically find it.
3. Add the memcached extension to your php.ini file:
- > sudo vim /Applications/XAMPP/xamppfiles/etc/php.ini
- Add 'extension=memcached.so' to the file