Skip to content

Instantly share code, notes, and snippets.

View abhinsharma's full-sized avatar

Abhin Sharma abhinsharma

  • AWS
  • Seattle
View GitHub Profile
@abhinsharma
abhinsharma / Codex sound notification
Created November 1, 2025 03:43
Script to notify when codex agent is done
#!/usr/bin/env python3
import json
import sys
def main() -> int:
if len(sys.argv) != 2:
return 1
payload = json.loads(sys.argv[1])
@abhinsharma
abhinsharma / sample.php
Created March 17, 2017 14:15
Adding Custom Styler
/**
* Supported properties -> typography , background , background-color , padding ,padding-left ,padding-right ,padding-top ,padding-bottom
margin , margin-left , margin-right, margin-bottom, font-size, opacity, color , border , border-left , border-top, border-right , border-bottom
*/
'styles' => array(
'format' => 'new', // this is important it should be there
esc_html__("Button Styling",'artlgnc_localize') => array(
"properties" => array('typography' , 'padding' ,'background', 'box-shadow', 'border' ),
<?php
/**
* The Function to display default hover for the theme
*
* @package WordPress
* @subpackage ASI Theme
* @since IOA Framework V 3.5
*/
global $ioa_meta_data,$ioa_portfolio_slug;
<?php
/**
* The Template for showing Head Units
*
* @package WordPress
* @subpackage ASI Theme
* @since IOA 3.5
*/
<?php
/**
* Cart Page
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.8
*/
if ( ! defined( 'ABSPATH' ) ) {
<?php
/**
* The Template for showing Head Units
*
* @package WordPress
* @subpackage ASI Theme
* @since IOA 3.5
*/
<?php
/**
* This template creates a RAD Section
* All Components are available in Templates -> rad folder
* @since IOA Framework V3
*/
global $ioa_meta_data;
<?php
/**
* The Template for displaying Pages.
*
* @package WordPress
* @subpackage ASI Theme
* @since IOA 3.5
*/
<?php
/**
* RAD Template for Pricing Tables View
*
* */
global $ioa_super_options , $ioa_meta_data , $radunits;