Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| class custom_sub_walker extends Walker_Nav_Menu { | |
| public function start_lvl( &$output, $depth = 0, $args = array() ) { | |
| $indent = str_repeat( "\t", $depth ); | |
| $output .= "\n$indent<ul role=\"menu\" class=\" dropdown-menu\">\n"; | |
| } | |
| public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { | |
| $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
This guide/log is based off my experience attempting to build and install LibreOffice Online and it's dependencies on my system.
The end goal is to get LibreOffice Online integrated with Karoshi Server.
LibreOffice Online is still in development (17/06/16).
| { cert ? "", key ? "" }: { | |
| server = { config, pkgs, ... }: { | |
| services.openssh.enable = true; | |
| services.panamax.enable = false; | |
| }; | |
| hidden = { config, lib, pkgs, ... }: with lib; { | |
| options = { | |
| owncloudHost = lib.mkOption { | |
| default = ""; |
| $wp_customize->add_setting( 'themeslug_url_setting_id', array( | |
| 'capability' => 'edit_theme_options', | |
| 'sanitize_callback' => 'themeslug_sanitize_url', | |
| ) ); | |
| $wp_customize->add_control( 'themeslug_url_setting_id', array( | |
| 'type' => 'url', | |
| 'section' => 'custom_section', // Add a default or your own section | |
| 'label' => __( 'Custom URL' ), | |
| 'description' => __( 'This is a custom url input.' ), |
| to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
| stun: | |
| stun.l.google.com:19302, | |
| stun1.l.google.com:19302, | |
| stun2.l.google.com:19302, | |
| stun3.l.google.com:19302, | |
| stun4.l.google.com:19302, | |
| stun.ekiga.net, | |
| stun.ideasip.com, |
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream
| #!/usr/bin/env python3 | |
| from reportlab.lib.pagesizes import A4 | |
| from reportlab.graphics.shapes import Drawing, String | |
| from reportlab.graphics.barcode.eanbc import Ean13BarcodeWidget | |
| from reportlab.graphics import renderPDF | |
| from reportlab.pdfgen.canvas import Canvas | |
| """ | |
| Adjust pagesize, number of labels, barcode size and |
| import os | |
| import re | |
| def zsh_to_fish(cmd): | |
| return (cmd.replace('&&', '; and ') | |
| .replace('||', '; or ')) | |
| def is_valid_fish(cmd): |
| # Debian default gateway /etc/network/interfaces | |
| up route add default gw 62.210.123.1 | |
| # Force interface eth0 to 10 Gbit speed | |
| ethtool -s <device> speed 10000 duplex full autoneg off | |
| # For the setting to be persistent across reboots | |
| # edit "/etc/udev/rules.d/71-ethtool.rules"ff and | |
| # add "SUBSYSTEM=="net", ACTION=="add", NAME=="<device>", RUN+="/sbin/ethtool <device> -s speed 100 duplex full autoneg off" |