Skip to content

Instantly share code, notes, and snippets.

Rami Abraham ramiabraham

Block or report user

Report or block ramiabraham

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ramiabraham
ramiabraham / MatricomManual.md
Created Oct 27, 2018 — forked from sli/MatricomManual.md
Transcribed manual for Matricom GPad controllers.
View MatricomManual.md

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
View get_post_meat.php
<?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 Jan 3, 2017 — forked from anonymous/TinyTS_v11.ino
The Tiny-TS Touch Synthesizer
View TinyTS_v11.ino
// (*) 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
//
View breathes_there_the_man.md

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

View wp.4.7.haiku.build.min.js.md
🍂🍂🍁

🍂🍂🍂🍁

🍂🍂🍁


@ramiabraham
ramiabraham / hooks-paid-member-subscriptions.log
Created Oct 12, 2016
Hooks for Paid Member Subscriptions - v 1.3.0
View hooks-paid-member-subscriptions.log
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 Sep 12, 2016
Restore wp-admin menu and bar visibility on NF3+ screens.
View nf-display-tweak.js
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' );
View jyounin.js
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 Aug 23, 2016
Get AffiliateWP version
View affwp_v.sh
#!/bin/bash
# Plugin version checker.
#
# Requirements:
# - WP-CLI
__get_affwp_v() {
wp plugin list --name='affiliate-wp' --version --format=json --allow-root
}
@ramiabraham
ramiabraham / rcp_add_affwp_affiliate_at_rcp_sub.php
Last active Aug 18, 2016
Add AffiliateWP affiliate when RCP subscription occurs (requires specifying desired RCP action, and subscription).
View rcp_add_affwp_affiliate_at_rcp_sub.php
<?php
function rcp_add_affwp_affiliate_at_rcp_sub() {
$user_info = get_userdata();
$user_id = $user_info->user_id;
$member = new RCP_Member( $user_id );
$subscription_id = $member->get_pending_subscription_id();
You can’t perform that action at this time.