- Install Tampermonkey Chrome or Firefox
- Click on https://gist.github.com/dz0ny/d9c9923f6166fc56ddb80aa1ce742ff2/raw/usp.user.js
- Close browser, user scripts need to load in new browser context after installation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains pin mappings and reasonable defaults for Prusa i3 MK3S | |
# printers. It will work with MK3 (non-S) by selecting the alternative filament | |
# sensor. References to common community mods are included as well. | |
# | |
[include mainsail.cfg] | |
[skew_correction] | |
[force_move] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: UPN plačilni nalog | |
Plugin URI: https://woocart.com | |
Description: Doda UPN plačilni nalog s QR kodo v vašo WooCommerce trgovino. | |
Version: 1.1.0 | |
Author: WooCart | |
Author Email: info@woocart.com | |
License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('graphql_register_types', 'PostsWithPaginationConnection', 99); | |
function PostsWithPaginationConnection() | |
{ | |
$connection_args = array_merge(['offset' => [ | |
'type' => 'Int', | |
'description' => __('Offset for current results', 'wp-graphql'), | |
]], \WPGraphQL\Connection\PostObjects::get_connection_args()); | |
$config = [ | |
'fromType' => 'RootQuery', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WooCart Machine Objects Cache | |
Description: Cache for localization files. | |
Version: 1.5.0 | |
*/ | |
class TexDomainCache | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[input_source] | |
library=builtin | |
label=source | |
purpose=capture | |
disable=(not (equal? dsp_name "extmic_eq")) | |
output_0={in_src:0} | |
output_1={in_src:1} | |
[input_sink] | |
library=builtin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var_export(timezone_identifiers_list()); | |
array ( | |
0 => 'Africa/Abidjan', | |
1 => 'Africa/Accra', | |
2 => 'Africa/Addis_Ababa', | |
3 => 'Africa/Algiers', | |
4 => 'Africa/Asmara', | |
5 => 'Africa/Bamako', | |
6 => 'Africa/Bangui', | |
7 => 'Africa/Banjul', |
kubectl create serviceaccount manager@vpnui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
DIR=$PWD/work | |
mkdir -p ${DIR} | |
rm -f ${DIR}/*.tar.gz | |
LIBRESSL=libressl-2.4.5 | |
HAPROXY=haproxy-1.8.4 | |
PCRE=pcre-8.39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev="vpn-swan" | |
gw=$(ip a show $dev| grep "inet\b" | awk '{print $2}' | cut -d/ -f1) | |
ip rule del from 10.10.10.0/24 | |
ip rule add from 10.10.10.0/24 priority 10 table 100 | |
ip route add 10.10.10.0/24 dev $dev table 100 | |
ip route add default via $gw dev $dev table 100 | |
ip route flush cache | |
iptables -I FORWARD -o $dev -j ACCEPT | |
iptables -t nat -I POSTROUTING -o $dev -j MASQUERADE |