Skip to content

Instantly share code, notes, and snippets.

View KoenRijpstra's full-sized avatar
💭
Pushing Web3 Development To The Next Level 🚀

Koen Rijpstra KoenRijpstra

💭
Pushing Web3 Development To The Next Level 🚀
View GitHub Profile
@KoenRijpstra
KoenRijpstra / 1-million-airdrops-for-1-sol.txt
Created September 27, 2024 13:25
1 million airdrops for 1 sol proof
This file has been truncated, but you can view the full file.
5VYhbB1WSDYVZETiXzvi33BfGU6JonHS7cKEgeG86gwtbfYTTSqFHAW3UqGd6vwLwDsVUsgJEAR97XkP2WdmN4V1
42y5xwu1pxiBqwDj5Sc5uJy7uhpASqfu26ubjPZRgiV6TL4rSoKUkKuyUfAaskUESyehUzkYMZv9rBxeXZJsrS1X
59c97zRRvxxmPUQeuRXESXndweK9BFqA4yzhSQSKrKsbxrWeJTtNUJNWYmXEBfuC8jj1KyzHmn4fPAeqPD6m84jb
t7wX9BZboQa3FsNTGfmdbz5TXYTSpwPo6pGVeaz6cqG6LS3diVUgxogww2zedYaYn9gzL7h1ep1YikA4tyeHoBx
5daUYfdv9DiymNubEc2MxFbhAcF8c6JRBQrkyf54GFgxjHqZVRW3Vta3jNBcMQVxWMytGUCB4WMZCsg8bYSw93k5
4no4hUdMNcui49tBmpidWbZrVph6riQdxYiYURXuiVUABy2tCjmuQHSzsQXwgNDrqD9fuaKXj23CZsjCLhx5kjUg
3RLHTcZykERrsCHDBqRTAfctdtcpLQayfEEMCZWkYnqFTe8jeZ4Z9Sd7Wg1GGgWcZoeE42itJugfa53xhGei7sCV
3hjoFPuG6juFQXVZE7qZFUPkyvgBT4uT4JETkQgLaDdd6zteoEeNzvMFAZAuyYGhs2rQA4NkaW6B9cc7V7hT5t5v
3aBuNm4HefsYntbKcX4pPVQb2t537LLjCJAw1fsN6GjVCGsxuowKV6NSTBPwbWGmisx9Fz4aGGkJnWbzUxwAmnKr
4CxNmAUGT2ftWFqWUuMqfyLqGedAdzVsrm5ftkDk6xXTAsUFUYJdEEyTpp6Z2rT865TGqpt4SLSnCPddSAcgisxD
@KoenRijpstra
KoenRijpstra / get_token_info.js
Created March 13, 2024 09:54
Helius Get Token Info
const API_KEY = "YOUR_API_KEY";
const getTokenInfo = async (token) => {
const getAssetResponse = await fetch(`https://mainnet.helius-rpc.com/?api-key=${API_KEY}`, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
jsonrpc: "2.0",
@KoenRijpstra
KoenRijpstra / transaction-types.txt
Last active February 2, 2024 08:12
Helius Webhook Transaction Types
Any
NFT_BID
NFT_GLOBAL_BID
NFT_GLOBAL_BID_CANCELLED
NFT_BID_CANCELLED
NFT_LISTING
NFT_CANCEL_LISTING
NFT_SALE
NFT_MINT
NFT_AUCTION_CREATED
@KoenRijpstra
KoenRijpstra / laravel-forge-ngx-pagespeed.sh
Created January 31, 2018 19:01 — forked from CasperLaiTW/laravel-forge-ngx-pagespeed.sh
Laravel Forge Support NGX_PAGESPEED
PAGESPEED_VERSION=v1.12.34.2-stable
apt-get remove nginx nginx-full -y
apt-get install dpkg-dev build-essential zlib1g-dev libpcre3 libpcre3-dev -y
sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list.d/nginx-ubuntu-development-xenial.list
apt-get update
apt-get build-dep nginx -y
cd /tmp
apt-get source nginx
@KoenRijpstra
KoenRijpstra / gist:257bbee5fa2f38fe3680
Created June 9, 2015 09:06
Google Results to CSV
var list = document.querySelectorAll('h3.r a');
var output = "";
[].forEach.call(list, function(item) {
output += '"' + item.innerHTML + '","' + item.href + '"\n';
});
console.log(output);
@KoenRijpstra
KoenRijpstra / gist:55b6db2c4922216d7e64
Last active August 29, 2015 14:05
Copy Google results to clipboard
var results = document.querySelectorAll('#res li h3 a');
var results_body = '';
for(i=0;i < results.length;i++) {
results_body += '"' + results[i].innerHTML + '","' + results[i].href + '"\n';
}
copy(results_body);
@KoenRijpstra
KoenRijpstra / functions.php
Last active August 29, 2015 13:56
Disable pods_meta_handler
<?php
function my_pods_meta_handler() {
return false;
}
add_filter( 'pods_meta_handler', 'my_pods_meta_handler' );
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your
/**
* Enable unpublished pages in page lists and dropdowns
*
* @param array $args
* @return array $args
*/
function scl_list_pages_args( $args ) {
$args['post_status'] = array( 'publish', 'private' );
return $args;
}
@KoenRijpstra
KoenRijpstra / index.php
Created December 19, 2013 10:24
Added taxonomy filter
<?php
/**
* Plugin Name: Media Library Categories
* Plugin URI: http://wordpress.org/plugins/wp-media-library-categories/
* Description: Adds the ability to use categories in the media library.
* Version: 1.3
* Author: Jeffrey-WP
*/
/** register taxonomy for attachments */