Zimbra 8 will not fetch automatically external POP3 or IMAP account. Use the following command to enable it! (every 5 minutes)
zmprov mc default zimbraDataSourcePollingInterval 5m
import requests | |
import time | |
# J.CRS Credentials | |
username = '' | |
password = '' | |
# Export interval | |
date_from = '01-09-2020' | |
date_to = '17-10-2020' | |
# Downloaded file name: {association_id}{location_id}.zip |
#!/bin/bash -e | |
# Move inside a tmpfs directory | |
cd /dev/shm | |
# Grab a snapshot of the RTSP source and save on current folder | |
# rtsp_transport tcp to avoid packet loss (truncated image) | |
# qscale:v to adjust jpeg quality (2 is best, 31 worst) | |
ffmpeg -loglevel panic -y -rtsp_transport tcp -i rtsp://192.168.199.91 -vframes 1 -qscale:v 4 snapshot.jpg |
ruby_block "check-restart-dynatrace" do | |
block do | |
headers = {:Authorization => "Api-Token #{provider['api_key']}"} | |
client = Chef::HTTP.new(provider['url']) | |
processes = JSON.parse(client.get('/processes?includeDetails=true', headers)) | |
hosts = JSON.parse(client.get('/hosts?includeDetails=true', headers)) | |
host_found = hosts.select { |host| host['discoveredName'] == node['hostname'] }.first | |
if host_found | |
host_id = host_found['entityId'] | |
processes.select { |process| process['fromRelationships']['isProcessOf'].include?(host_id) } |
#!/bin/bash | |
DOMAINARRAY=`cat /mnt/samba/winnt/system32/dns/domainlist` | |
for domainname in $DOMAINARRAY | |
do | |
echo " " | |
echo "$domainname being imported" | |
zone2sql --zone=$domainname.dns --gmysql --zone-name=$domainname | mysql -h | |
10.10.1.1 -D pdns -u pdns | |
echo "$domainname done!" |
#!/usr/bin/perl -w | |
# | |
# pfdel - deletes message containing specified address from | |
# Postfix queue. Matches either sender or recipient address. | |
# | |
# Usage: pfdel <email_address> | |
# | |
use strict; |
#!/usr/bin/env ruby | |
# NOTICE: GCE and OpenStack providers only. | |
require 'json' | |
require 'erb' | |
def get_template() | |
%{ | |
<% hosts.each do |key, entry| %> | |
Host <%= key %> |
I have a TP-Link TD-W8980 v1 router, two Huawei P8 Lite devices and another bunch of devices working pretty well.
I was testing on https://fast.com, both p8 remain like 10 seconds on the page with 0 Kbps speed, and then reach awful speed (below 1 MB).
Turning bluetooth off fixed the issue, but after renabling it is still working.
Ref: http://forum.xda-developers.com/showpost.php?p=43489456&postcount=1
Download and unpack: http://bayfiles.net/file/SwU3/x09m9g/adb_bundle.zip
On first terminal:
./adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" > /dev/null
root@router:~# cat /etc/config/wireless | |
config wifi-device 'radio0' | |
option type 'mac80211' | |
option hwmode '11g' | |
option path 'platform/qca955x_wmac' | |
option htmode 'HT40-' | |
option noscan '1' | |
option channel '7' |