Skip to content

Instantly share code, notes, and snippets.

View ramiabraham's full-sized avatar

Rami Abraham ramiabraham

View GitHub Profile
@ramiabraham
ramiabraham / console.loog.js
Created January 24, 2024 20:28
console.loog.js
let loog =
console.loog = function(){
Array.prototype.unshift.call(
arguments, loog );
console.log.apply( console, arguments );
};
@ramiabraham
ramiabraham / MatricomManual.md
Created October 27, 2018 05:56 — forked from sli/MatricomManual.md
Transcribed manual for Matricom GPad controllers.

Matricom Gamepad

For your enjoyment and safety, we recommend that you read this manual thoroughly before using this product and keep this manual handy for reference if needed.

Characteristics:

  1. Compatible with Android and PC
  2. Wireless
  3. D-Pad and 12 buttons
  4. Dual analog joysticks
@ramiabraham
ramiabraham / get_post_meat.php
Created January 4, 2017 22:45
get_post_meat
<?php
/**
* Wrapper for get_post_meta
* @see get_post_meta
*/
function get_post_meat( int $post_id, $key = '', bool $single ) {
return get_post_meta( $post_id, $key, $single );
}
@ramiabraham
ramiabraham / TinyTS_v11.ino
Created January 3, 2017 18:10
The Tiny-TS Touch Synthesizer
// (*) All in the spirit of open-source and open-hardware
// Janost 2016 Sweden
 
// The Tiny-TS Touch Synthesizer
// https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/
 
// Copyright 2016 DSP Synthesizers Sweden.
//
// Author: Jan Ostman
//
@ramiabraham
ramiabraham / breathes_there_the_man.md
Created November 17, 2016 20:56
Breathes There the Man

Breathes there the man with soul so dead,

Who never to himself hath said,

This is my own, my native land!

Whose heart hath ne'er within him burn'd,

As home his footsteps he hath turn'd

@ramiabraham
ramiabraham / wp.4.7.haiku.build.min.js.md
Last active November 21, 2016 23:06
WordPress 4.7 haiku
五 🍂🍂🍁

七 🍂🍂🍂🍁

五 🍂🍂🍁


@ramiabraham
ramiabraham / hooks-paid-member-subscriptions.log
Created October 12, 2016 14:12
Hooks for Paid Member Subscriptions - v 1.3.0
Hooks for wp-content/plugins//paid-member-subscriptions, generated on 2016-10-12.
Actions:
------------------
do_action( 'pms_register_form_bottom' );
do_action( 'pms_member_subscription_list_table_extra_tablenav', $which, $this->member, $this->existing_subscription_plan_ids );
do_action( 'pms_submenu_page_members_before_' . $action, $this->request_data );
@ramiabraham
ramiabraham / nf-display-tweak.js
Last active September 12, 2016 21:07
Restore wp-admin menu and bar visibility on NF3+ screens.
jQuery( document ).ready( function( $ ) {
// Container
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'position', 'relative' );
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'top', '32px' );
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'left', '100px' );
// Restore menus
$( '.wp-admin.ninja-forms-app #nf-builder' ).css( 'z-index', '1' );
$( '.wp-admin.ninja-forms-app #nf-builder' ).css( 'top', '32px' );
@ramiabraham
ramiabraham / jyounin.js
Created September 10, 2016 01:26
jyounin
jQuery( document ).ready( function( $ ) {
// Container
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'position', 'relative' );
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'top', '32px' );
$( '.wp-admin.ninja-forms-app #nf-pre-builder' ).css( 'left', '100px' );
// Restore menus
$( '.wp-admin.ninja-forms-app #nf-builder' ).css( 'z-index', '1' );
$( '.wp-admin.ninja-forms-app #nf-builder' ).css( 'top', '32px' );
@ramiabraham
ramiabraham / affwp_v.sh
Last active August 23, 2016 20:41
Get AffiliateWP version
#!/bin/bash
# Plugin version checker.
#
# Requirements:
# - WP-CLI
__get_affwp_v() {
wp plugin list --name='affiliate-wp' --version --format=json --allow-root
}