Reputation
3,300
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
11 31
Newest
 Nice Answer
Impact
~279k people reached

Apr
12
comment Ignore JOINS/PARTS/QUITS unless the user has recently talked in the channel
If you do not mind manually cleaning up the chat, use /scrollback levelclear -level quits,parts,join (found at permalink.gmane.org/gmane.network.irc.irssi.user/992).
Apr
7
comment Why would the Wi-Fi connection on my smartphone perform better than the same connection on my laptop?
@Yorik Correct. Initially only 11n_disable=1 was supported (as boolean), but later more states were needed. The full description from modprobe -p iwlwifi is: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
Apr
5
comment Complete location bar URL with https if the scheme is omitted
HTTPS Everywhere seems to work with a whitelist, but it does not avoid having me to type https:// for new domains. I have HSTS enabled for my own domains, but it does not help with other sites. Thanks for the suggestion though!
Dec
17
comment Converting bandwidth: Bps-Bytes/s MBit-MB
@Zabba fixed, the given example was correct though.
Nov
27
comment How is PNG lossless given that it has a compression parameter?
+1 did not know that ffmpeg could handle pngs.
Oct
3
comment How to manually trim an SSD in Windows 7?
The source code is unfortunately lost, but it appears that the tool writes <DRIVELETTER>:\_TRIM_, invokes TRIM on that and then removes it again.
Sep
14
comment browse a library of iso without mounting each iso
@Ƭᴇcʜιᴇ007 Not exactly a duplicate as the OP mentions tar -t which is not a Windows command. My guess is that OP is using Linux, but (s)he needs to clarify that.
Jul
1
comment What's the difference between --param=“value” and “--param=value”?
And the shell-script equivalent: printargs(){ local arg; for arg; do echo "$arg"; done; }
Jun
21
comment Why Firefox alert me about HTTPs “Untrusted” Connection on Positivessl - Comodo certificate?
You should not include the root CA. It is no use (it does not help in building a trust path) and enlarges the initial handshake size. Please test your setup with the ssllabs tool I linked above.
Jun
20
comment chmod 700 -R ~ - is it safe?
This GNU coreutils command has the same effect: chmod -R ~ go-rwx,u+rwX. It first removes group and world permissions, then adds read and write to the user and execute to directories. Warning: some files are expected to have an execute bit (like those in ~/bin/ or node_modules/bin/).
Jun
14
comment Why Firefox alert me about HTTPs “Untrusted” Connection on Positivessl - Comodo certificate?
@lito If I'm not mistaken, you should key + cert or pfx, not both. If you have a single file (for pfx) with keys and certs concatenated, you should append the CA bundle to that file. Otherwise, append the file to the cert. I suggest to keep the keys and certs separate anyway so you can set very tigh permissions on the keys.
Jun
9
comment Can I fork a copy command on ReadyNAS SSH?
If rsync gets interrupted, you will still be left with a temporary file. It just helps you by not having to copy existing files over. What you actually need for persistent sessions is GNU screen as poste by Jake.
Jun
8
comment Can I fork a copy command on ReadyNAS SSH?
What do you mean by "fork a cp or mv process"? Usually shell already forks and executes those programs. What is your goal? Resuming copies? See rsync.
May
20
comment USB backlit keyboard power consumption
Note: this information is reported by the device and may be incorrect and does not reflect the actual usage.
May
11
comment Openvpn to stream media to Android
@JB0x2D1 Install a server (nginx for example), change its configuration to listen on at least the OpenVPN tun/tap interface (or all addresses). After that, you can access your media via the webservice listening on the OpenVPN server's private IP address. Do not forget to configure permissions appropriately, i.e., the nginx user must be able to read files and descend directories.
Apr
14
comment Captured packets with tcpdump vs. tcpdump > file
SSH is only detected and provided as a hint to Wireshark GTK/QT, not tshark.
Apr
6
comment I accidentally typed password into bash command line
@TNW I got used to typing HISTFILE= instead of unset HISTFILE (which is also a tiny bit longer). There is no specific reason for doing it this way.
Apr
3
comment I accidentally typed password into bash command line
Setting HISTFILE= is enough. From bash(1): If unset, the command history is not saved when a shell exits.
Mar
22
comment sshfs mount without compression or encryption
By default, socat TCP-LISTEN listens on all interfaces. To limit to one specific network interface (e.g., localhost), use the ,bind=127.0.0.1 option. To allow multiple connections to the server, add the ,fork option. Making a read-only server? Add -R to the EXEC command. In the end, it will look like this: socat TCP-LISTEN:7777,fork,bind=127.0.0.1 EXEC:'/usr/lib/sftp-server -R' (on Arch Linux, I had to use /usr/lib/ssh/sftp-server instead).
Feb
16
comment Looking for a tool to inspect HTTP data between a mobile phone and AV receiver
If your phone is rooted, I suggest to run tcpdump on it via ssh/adb. Then use wireshark to open the pcap file with the filter http (this assumes that the communication happens over HTTP, not HTTPS or some other protocol).