Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
- gcc
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
<?php | |
use Symfony\Component\Console\Helper\ProgressBar; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
class DoSomething extends Migration | |
{ | |
public function up() | |
{ | |
$output = new ConsoleOutput(); |
<?php | |
add_filter( 'user_has_cap', 'cci_check_view_order_capability', 10, 3 ); | |
function cci_check_view_order_capability( $allcaps, $caps, $args ) { | |
if ( isset( $caps[0] ) ) { | |
switch ( $caps[0] ) { | |
case 'view_order' : | |
// Check that the current user billing_company and order billing company match. | |
$current_user = wp_get_current_user(); | |
$current_user_billing_company = get_user_meta( $current_user->ID, 'billing_company', true ); | |
$order = wc_get_order( $args[2] ); |
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.