Installing Apricity on a HP Spectre x360

  1. Boot into windows, resize (shrink) windows partition with disk management tool to create space for Apricity.
  2. Download Apricity and write to USB stick.
  3. Go into BIOS (Esc+F10 at boot). Disable trusted boot.
  4. Boot off USB Stick (F9 at boot). If you cannot choose “Install” from subsequent boot menu, specifically choose the EFI file.
  5. Select custom partitioning, create your / and swap partitions in the free space previously created. Remember to mount your first FAT32 partition as /boot/efi or the bootloader won’t install.
  6. When finished reboot into Apricity. Do a full update, ensure you are on kernel 4.5+.
  7. In /etc/default/grub set GRUB_DEFAULT=saved & uncomment GRUB_SAVEDEFAULT=”true” to remember previous OS.
  8. Add Windows to boot menu with
    su -c ‘os-prober && grub-mkconfig -o /boot/grub/grub.cfg’
  9. Reboot

Note: if you apply a large windows update (service pack size), you may find that the GRUB boot loader is broken and goes into Rescue Mode. You can fix this by temporarily changing the root partition that GRUB needs to find and then fixing it permanently by running sudo grub-install.

Posted in Linux | Tagged | 2 Comments

dual boot kodi & multi emulator system for raspberry pi

Follow Matt’s advice – this uses recalbox and NOOBS

 

 

Posted in Uncategorized | Leave a comment

A quick test from org2blog

Didn’t work until I whitelisted my IP address from the Bad Behaviour plugin however.

As I like to do everything in emacs, may as well blog from it too.

Posted in Uncategorized | Leave a comment

Apache Tika

Apache Tika – a content analysis toolkitThe Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful for search engine indexing, content analysis, translation, and much more. You can find the latest release on the download page. Please see the Getting Started page for more information on how to start using Tika.

Source: Apache Tika – Apache Tika

Posted in Uncategorized | Leave a comment

How to remove “search with” and “visit” in Firefox’s address bar

How to remove “search with” and “visit” in Firefox’s address bar – gHacks Tech News

Posted in Uncategorized | Leave a comment

Spotify on Android sluggishness

I was having performance issues with Spotify on Android, temporary lock ups, crashes, etc. This is on Android 5.0.1 (Marshmallow) on a Huawei Honor 7.

It seems to be due to the fact that my cache is on a Micro SD card… and I’d bought a “standard” (ie – slow) Kingston one. Copying my card to a new fast one (Samsung EVO+) and swapping them over *seems* to have fixed the issue.

Update: didn’t fix it, disabling nuplayer fixes it!

Posted in Uncategorized | Leave a comment

Hilarious question on stackexchange

How do I deal with hiring reservations when resume is affected by brainsizing?

I have letters after my name: a certificate from the Sorbonne in French, a math/CS master’s from UIUC, a theology master’s from Cambridge, and other things that do not correspond to letters after my name: being an accomplished author, and a decade’s experience in front end. Oh, and teaching myself Latin didn’t get me any letters after my name, or going beyond my coursework in Greek.

Of course you do.

Posted in Uncategorized | Leave a comment

Getting lcdproc to work with systemd

lcdproc was starting before /dev/ttyUSB0 was up

  1. cp /usr/lib/systemd/system/lcdd.service /etc/systemd/system/lcdd@.service
  2. Modify lcdd@.service to look like below:
    [Unit]
    Description=LCD display driver
    #After=syslog.target
    BindTo=dev-%i.device
    After=dev-%i.device syslog.target

    [Service]
    Type=forking
    ExecStart=/usr/bin/LCDd -c /etc/LCDd.conf
    #ControlGroup=cpu:/

    [Install]
    WantedBy=multi-user.target

  3. systemctl enable lcdd@ttyUSB0.service
Posted in Uncategorized | Tagged , , , | Leave a comment

TOMAHAWK – fantastic audio player

Source: TOMAHAWK

Posted in Uncategorized | Leave a comment

Migrating WordPress from apache 2.2 to apache 2.4

You might want to run apache 2.4 on a non-standard port while you are getting things working, WordPress will redirect the hit to the standard URL preventing testing.

So add something like this to the top of your wp-config.php:

// stay on new server
if ( $_SERVER['SERVER_PORT'] == 8999 ) {
define('WP_HOME','http://jamespo.org.uk:8999/wp');
define('WP_SITEURL','http://jamespo.org.uk:8999/wp');
}

Posted in Uncategorized | Tagged , , | Leave a comment