Posts

RTL keyboard shortcut

CTRL + SHIFT + X Kept having  my text jump to the right side of the box and start typing right-to-left for no obvious reason. Happened mostly in Trello and especially when adding hyperlinks in markdown. Anyway, somehow I must've been hitting the above combo, as unlikely as that seems.

resolver

I recently had cause to make a complaint to a company I'd been a customer of. I've worked in call centres, and I've managed customer service teams. I know exactly how those environments work and all the things that happen to stop complaints being dealt with, whether they're mistakes by the customer, mistakes (or deliberate mishandling) by the company rep,  institutional failure... and so on. I could write an essay on all those things, but I want to get to the point, which is this: Even though I know how to approach these situations as a customer, it involves a lot of work for me. Dial the numbers, follow the IVR, get to the right department, take the rep's name, take a note of the time, explain your situation, leave your contact details, confirm your contact details, ask for a case reference, establish a timescale.... and that's just the initial call. Then I have to set a reminder for myself, call them back, complain about the lack of contact...

ghost

 Installling ghost locally . Warning recived during install: Upgrading Ghost involves replacing old files with the new files, and restarting the server. However, as the database, image uploads and custom themes are stored alongside Ghost in the content directory, care should be taken to only replace the necessary files as explained at http://support.ghost.org/how-to-upgrade/ . It is highly recommended that you make a backup of your data before upgrading. To backup all the data from your database, log into your Ghost install and go to /ghost/debug/. Press the export button to download a JSON file containing all of your data.

netctl issues? netctl-auto not working?

Throwing errors: could not create configuration file for wlp58s0 blah blah in journalctl -xe? sudo killall dhcpcp sudo ip link set wlp58s0 down systemctl start netctl-auto@[network]@wlp58s0

Disable touchpad

Today's mission has been to effectively disable the touchpa on the xps so I can take a more keyboard-driven approach and type in an uninhibited manner without weird annoying shit happening all the time. Long story short, the best way of doing this is with synclient: > synclient TouchpadOff=1 to disable the touchpad and, unsurprisingly > synclient TouchpadOff=0 to enable it again. Now, I can't rely on always being able to remember that stuff in however many month's time I need it again, so I've aliased the commands "ontouchpad" and "offtouchpad" to the relevent instructions. this equates to "on" and "off" when autocomplete is used via TAB. FURTHERmore, I have set Fn+F8 to synclient TouchpadOff=1 so I can quickly deactivate the pad in the heat of the moment. I tried a couple of scripts I found online to toggle the touchpad, but they didn't work for some reasons I didn't prioritise identifying. so, FYI...

Photos

In the process of backing up, de-duplicating and collating all the photos from my laptop, the external storage HDD etc. I used the following: $ du -sh Pictures/ du = disc usage -sh = summarise, human-readable Pictures/ = directory path $ find Pictures/ -type f | wc -l find = find Pictures/ = directory path -type f = specify type as file | wc -l = print newline counts (see wc --help for specifics) So it basically lists all the files in Pictures/ but instead of outputting to a txt file it pipes the results to wc, which reads stdout as if it was a txt file, and returns newlines (each of which corresponds to a file). I don't know whether directories are omitted or not. https://www.linux.com/learn/how-sort-and-remove-duplicate-photos-linux Now I skip down to the bit about FSlint, only I install rmlint instead, which seems to be the commandline equivalent recommended by Arch. $ rmlint On it's own looks for empty and duplicate files in the current directory. It ge...

rpi wifi

I followed the post here: http://weworkweplay.com/play/automatically-connect-a-raspberry-pi-to-a-wifi-network/ to get a rpi wirelessly connected via a dongle. I set it with a static IP (207), but for some reason it's on the network twice - as 207 and 217. Why? Don't fucking know, don't fucking care.