Skip to content

Instantly share code, notes, and snippets.

View danimbrogno's full-sized avatar

Dan Imbrogno danimbrogno

View GitHub Profile
@danimbrogno
danimbrogno / gist:27a9aac91d5af3c8775a4345d7c45ae5
Created April 11, 2024 01:22
Farcaster frame unsupported transaction returned json
{
"chainId": "eip155:11155111",
"method": "eth_sendTransaction",
"params": {
"abi": [
{
"type": "function",
"name": "mint",
"inputs": [
{
@danimbrogno
danimbrogno / monitor.sh
Last active March 5, 2024 14:03
Quilibrium Convenience Scripts
#! /bin/bash
# Launch node monitoring.
# Remember to `chmod u+x` then run ./monitor.sh
sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat
@danimbrogno
danimbrogno / gist:4ebf4f5c22eef8a935a3
Created February 19, 2015 20:12
Output Buffering Example
public static function displaySvg($handle){
$svg_path = sprintf('images/svg/%s.svg',$handle);
ob_start();
include(Theme::getResourcePath($svg_path));
$svg = ob_get_contents();
@danimbrogno
danimbrogno / gist:f58c195f2385329a7d4b
Created February 19, 2015 20:06
OutputSocialMediaMenuFunction
$links = array();
foreach(Theme::getSocialMediaChannels() as $handle => $name)
{
$url = get_theme_mod($handle);
if($url!='http://' && $url!='')
{