Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Start broadwayd broadwayd :5 & Start a GTK3 application (for example gtk3-demo) GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo Application can now be reached from http://hostname:8085.
-
For readers with Belgian or French keyboards.
-
I just spent a couple of hours troubleshooting what was for me an odd network connectivity issue.
-
My host is RHEL7 running Gnome.
-
If you need to self-hosted and lightweight Github or Gitlab alternative, I suggest you give Gogs a try.
-
Tested on High Sierra Create an alias: sudo ifconfig en0 alias 192.168.0.101 255.255.255.0 Remove the alias: sudo ifconfig en0 -alias 192.168.0.101
-
For the past two years, this site has been running with Wikitten, a PHP engine that renders Markdown pages to HTML.
-
Tested on a Moto G 1st gen XT1032 running Cyanogen 13 Enabling USB debug allowed me to get logcat working at boot.
-
I’ve been using iptables for more than 10 years and I don’t really like firewalld approach.
-
I talked about configuration management and cloud orchestration with Salt at Jeudis du libre this April 20.
-
Start mitmproxy: .
-
We entered the 21st century at work and got new workstations.
-
You read everywhere (and especially here) in Salt documentation that you need a profile file to create virtual machines in one of the supported clouds.
-
My old Linksys access-point was showing signs of weaknesses and I decided to change for something a bit more professionnal.
-
yum history list all yum history undo $ID –exclude=kernel* More info: https://access.redhat.com/solutions/29617
-
Some assumptions: master> = mysql commands on master slave> = mysql commands on slave root@master = bash commands on master root@slave = bash commands on slave /var/lib/mysql/master01-bin.* = name of the replication logs, depending on your config master>…
-
2016-06-18 Elasticsearch API is fully open by default and anyone can create (PUT method) or delete indices (DELETE method).
-
If for some reason you need to simulate latency, latency, loss, duplication or re-ordering on a linux machine, use netem (command tc) as root Adding a delay of 100ms on interface eth0: tc qdisc add dev eth0 root netem delay 100ms Changing the rule: tc qdi…
-
You get either “X11 connection uses different authentication protocol” or “X11 connection rejected because of wrong authentication”.
-
Netsed page Netsed is a network packet stream editor.
-
This one is weird but worked for me.
-
Get a channel notification token from the Hipchat control panel.
-
#!
-
I just published my two first Alfred workflows on Packal.
-
If you want to run a bash script as a CGI and get this message: [Sun Feb 07 19:51:59.424071 2016] [cgi:error] [pid 4265] [client x.x.x.x:50952] malformed header from script 'weather.sh': Bad header: Searching via name..
-
I’ve been using Prey for a couple of years now.
-
If you delete a file by mistake, there are several ways to recover it.
-
Imagine this file.xml containing: <vehicleinformation version="1.1" timestamp="1453323673"> <vehicle locationX="4.336531" locationY="50.835707">Be.NMBS.P8401</vehicle> <stops number="9"> <stop id="0" delay="16" canceled="0"> <station id="BE.NMBS.008814001…
-
So let’s say you want to redirect http://example.org?
-
This happened to me yesterday as I was trying to import a valid Global-sign wildcard certificate.
-
The following is a recommended setup for Firefox as of September 2015 by https://www.privacytools.io/#about_config and https://www.eff.org/deeplinks/2015/10/how-to-protect-yourself-from-nsa-attacks-1024-bit-DH http://kb.mozillazine.org/Network.IDN_show_pu…
-
If you want to redirect emails you can use the recipient_canonical_maps option.
-
I’m spending a lot of time at work automating processes (with Rundeck, Salt, Jenkins, Nexus, SVN, etc.).
-
Date: 2015-08-15 In the first half of this year, I migrated this site from Wordpress to Scriptogram.
-
Date: 2015-06-18 Use this command: openssl x509 -noout -in /etc/pki/tls/certs/client.crt -dates Output would be: notBefore=Feb 20 16:20:08 2015 GMT notAfter=Feb 20 16:20:08 2016 GMT
-
Originally published 2015-06-18 I have used Chrome (and Chromium, depending on the platform I’m working on, from now on I’ll refer to it as Chrome) pretty much since it went out of beta.
-
Date: 2015-04-29 Note: This has been tested on RHEL6 and Postfix 2.6.6 from RHEL repositories and version 2.10 from postfix.org.
-
Date: 2015-04-17 I bought a Synology DS214j a couple of months ago.
-
Date: 2015-02-25 Tested with Active Directory 2003 and RHEL 7.0 For RHEL 6.0 see here I consider that the server is correctly set up, its hostname should be set accordingly to the Active Directory domain.
-
Date: 2015-02-17 I just migrated this blog from Wordpress to Scriptogr.am.
-
Date: 2015-02-16 tags: Linux, Network This command will allow you to pipe trafic generated by tcpdump on a remote machine into Wireshark running on your local machine: ssh root@dest tcpdump -U -s0 -w - 'tcp port 389' | wireshark -k -i -
-
Date: 2015-02-16 Tags: linux, bash I use Terminator as my terminal app, and use the “watch for activity” feature a lot.
-
Date: 2015-02-16 tags: Android, Automagic This has been tested on DCS-930L and DCS-5020L <?
-
categories: Linux In legacy versions of rsyslog, if you want to use the option PreserveFQDN, you have to set the option before anything else, or it wouldn’t work.
-
Date: 2014-09-10 Tags: code, php This PHP page allows to retrieve configuration items to populate Rundeck inventory: <?
-
author: admin comments: false layout: post tags: bash, linux By default, if you pipe commands, the exit status reported will be the one of the last command.
-
categories: Postfix I recently had to set up an outbound Postfix server with SASL authentication against LDAP.
-
categories: Linux I can never seem to remember the correct command inotifywait -e modify -m -r /home/dir
-
Date: 2013-07-25 Tags: Bash, Linux Create this script, I’ll call it limits.sh: #!
-
Date: 2013-07-17 Tags: Linux Either: echo "- - -" > /sys/class/scsi_host/host0/scan Or (usually comes with sg3-utils): rescan-scsi-bus.sh If you want to hot extend a drive: echo 1 > /sys/class/scsi_device/device/rescan I discovered the extend trick here