Skip to content

Instantly share code, notes, and snippets.

Avatar

Janos Papp jbpapp

  • Malta
View GitHub Profile
@jbpapp
jbpapp / shop_order_info_column.php
Last active May 29, 2020 — forked from passatgt/shop_order_info_column.php
Add order item details into the order manager table in WooCommerce
View shop_order_info_column.php
<?php
/*
Plugin Name: Shop Order Info Column
Plugin URI: https://example.com
Description: Add order details to the order listings.
Author: Your name
Version: 1.0
Author URI: https://example.com
*/
View packages.md

Installed packages

  • AdvancedNewFiles
  • All Autocomplete
  • AutoFileName
  • Better Coffescript
  • Color Highlighter
  • CTags
  • DocBlockr
  • EditorConfig
  • Emmet
@jbpapp
jbpapp / nginx-php5-fpm-settings
Last active Jul 25, 2016
Nginx & PHP5-FPM settings
View nginx-php5-fpm-settings
===================================
/etc/php5/fpm/pool.d/www.conf
===================================
[...]
request_terminate_timeout = 300
[...]
php_admin_value[post_max_size] = 100M
php_admin_value[upload_max_filesize] = 100M
php_admin_value[max_execution_time] = 300
View gist:e49a5ba2ad337c34eaf5
/** @test */
public function it_creates_a_new_partner_given_valid_parameters()
{
$this->getJson('api/v1/partners', 'POST', $this->getStub());
$this->assertResponseStatus(201);
}
// stub
@jbpapp
jbpapp / gist:8435576
Created Jan 15, 2014
Virtualbox Guest Additions
View gist:8435576
sudo apt-get install --no-install-recommends virtualbox-guest-utils && sudo apt-get install virtualbox-guest-dkms