<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Snips</title>
    <link>https://ianbashford.net/</link>
    <description>Recent content on Snips</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>snips...</copyright>
    <lastBuildDate>Sun, 17 Oct 2021 15:45:53 +0000</lastBuildDate>
    
	<atom:link href="https://ianbashford.net/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>SetupCloudFlareWarpLinuxArch_Update</title>
      <link>https://ianbashford.net/post/setupcloudflarewarplinuxarch_update/</link>
      <pubDate>Sun, 17 Oct 2021 15:45:53 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/setupcloudflarewarplinuxarch_update/</guid>
      <description>This is a more recent update from setupcloudflarewarplinuxarch Warp&amp;rsquo;s a free VPN offered by Cloudflare &amp;ndash; see Cloudflare Clients are currently available for Android, IOS, OSX, Windows and now Linux Warp
Here&amp;rsquo;s how to set it up on linux from the command line
Scripted Solution 1 2 3 4 5 6 7 8 9  #! /bin/bash yay -S cloudflare-warp-bin sudo systemctl start warp-svc sleep 5 warp-cli register warp-cli status warp-cli connect sleep 5 curl https://www.</description>
    </item>
    
    <item>
      <title>Setup CloudFlare Warp on Linux (Arch)</title>
      <link>https://ianbashford.net/post/setupcloudflarewarplinuxarch/</link>
      <pubDate>Sat, 15 Aug 2020 14:02:43 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/setupcloudflarewarplinuxarch/</guid>
      <description>Update Available There&amp;rsquo;s an updated version of this post SetupCloudFlareWarpLinuxArch_Update
Original Content Warp&amp;rsquo;s a free VPN offered by Cloudflare &amp;ndash; see Cloudflare Clients are currently available for Android and IOS, with OSX and Windows in beta Warp Beta
Here&amp;rsquo;s how to set it up on linux from the command line
Setup Wireguard and the Cloudflare configuration tool If you don&amp;rsquo;t use arch linux, go to wireguard installation
1 2  sudo pacman -S wireguard-tools yay -S wgcf   You&amp;rsquo;ll need to keep the wireguard-tools installed, but wgcf is a onetime use</description>
    </item>
    
    <item>
      <title>Macbookblueblackscreen</title>
      <link>https://ianbashford.net/post/macbookblueblackscreen/</link>
      <pubDate>Sat, 15 Feb 2020 16:50:01 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/macbookblueblackscreen/</guid>
      <description>Symptom: Macbook (2011) won&amp;rsquo;t boot. Blue screen with lines instead of black. Stuck in a fail to boot loop
Solution (tested High Sierra Update 6)
Boot into Single User Mode - CMD-S held down on boot. When you see the terminal, hit enter a couple of times to get the prompt. Then run:
1 2  sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00 reboot   Boot into Recovery Mode - CMD-R held down on boot.</description>
    </item>
    
    <item>
      <title>Use Network NameSpace to create two different networks   Linux</title>
      <link>https://ianbashford.net/post/use_network_namespace_to_create_two_different_networks_-_linux/</link>
      <pubDate>Sun, 27 Oct 2019 18:24:59 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/use_network_namespace_to_create_two_different_networks_-_linux/</guid>
      <description>Intro Here&amp;rsquo;s the setup: you have two different gateways, one accessing the internet via a VPN, and one straight out of your home router. You&amp;rsquo;d like some processes to only use the VPN gateway, and some to just access the internet via your standard router. Solution: create a new network namespace with a default gateway that uses the VPN. Start any processes that should use the VPN in that network namespace.</description>
    </item>
    
    <item>
      <title>Intellij in a docker container - Wayland Sway</title>
      <link>https://ianbashford.net/post/intellij_inside_docker_wayland_sway/</link>
      <pubDate>Sun, 27 Oct 2019 14:18:47 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/intellij_inside_docker_wayland_sway/</guid>
      <description>Intro This combines a couple of tricks; running a java gui inside a docker container, in wayland sway.
Dockerfile Most of this came from github, with a few tweaks&amp;hellip;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  # Alpine 3.</description>
    </item>
    
    <item>
      <title>Docker in IPV4 and IPV6 on Digital Ocean with a floating IP address</title>
      <link>https://ianbashford.net/post/digital_ocean_docker_ipv6_floating_ip/</link>
      <pubDate>Tue, 21 Aug 2018 21:53:52 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/digital_ocean_docker_ipv6_floating_ip/</guid>
      <description>Intro With a floating IPV4 address, the traffic comes into the droplet via the anchor ip address. This is a private IP address in the 10.0.0.0 network. Docker options setup IPV4 and IPV6 neatly, then the default route needs adjusting, otherwise traffic is routed out via the droplets IP address
Docker configuration Depending on your linux variant, you&amp;rsquo;ll need to set some DOCKER_OPTS options.
1. Determine the anchor IP address 2.</description>
    </item>
    
    <item>
      <title>dnscrypt-proxy, running in a u-root initramfs, xen vm</title>
      <link>https://ianbashford.net/post/dnscrypt-proxy_u-root_xen/</link>
      <pubDate>Mon, 02 Apr 2018 18:24:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/dnscrypt-proxy_u-root_xen/</guid>
      <description>Setup Docker build area 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  FROM base/archlinux RUN pacman -Sy &amp;amp;&amp;amp; \  pacman -S go \  sudo \  vim \  ca-certificates \  libcap \  git --noconfirm RUN useradd -m -G wheel -s /bin/bash build &amp;amp;&amp;amp; \  echo &amp;#34;%wheel ALL=(ALL) NOPASSWD: ALL&amp;#34; &amp;gt;&amp;gt; /etc/sudoers USER build CMD [&amp;#34;/bin/bash&amp;#34;]   Build and run&amp;hellip;</description>
    </item>
    
    <item>
      <title>IPFire - Timed Access Enforcer</title>
      <link>https://ianbashford.net/post/ipfire_timed_access_enforcer/</link>
      <pubDate>Tue, 06 Feb 2018 20:46:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/ipfire_timed_access_enforcer/</guid>
      <description>IPFire - enforcing timed access Timed Access Issues The IPTables rules in IP Fire have one limitation for enforcing timed access. &amp;gt;ATTENTION: Rules which have Time constraints configured are only for new connections. Example: if you are blocking Internet connections from 20:00 to 6:00, and you already have a connection established at 19:57, this connection will be allowed until it is closed. Any new connection after 20:00 will be dropped.</description>
    </item>
    
    <item>
      <title>Vim and Python in Conda</title>
      <link>https://ianbashford.net/post/vimandpython/</link>
      <pubDate>Tue, 10 Oct 2017 21:24:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/vimandpython/</guid>
      <description>vim and conda conda 1  wget -S https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh    and run but DON&amp;rsquo;T allow it to add miniconda to the PATH (yet) note you&amp;rsquo;ll replace /dev/shm with your choice location
1 2 3  alias sa=&amp;#39;source /dev/shm/miniconda3/bin/activate&amp;#39; alias sd=&amp;#39;source /dev/shm/miniconda3/bin/deactivate&amp;#39; alias conda=&amp;#39;/dev/shm/miniconda3/bin/conda&amp;#39;   compile vim note you&amp;rsquo;ll replace /dev/shm with your choice location
1 2 3 4  git clone https://github.com/vim/vim.git make uninstall &amp;amp;&amp;amp; make clean &amp;amp;&amp;amp; make distclean &amp;amp;&amp;amp; \ .</description>
    </item>
    
    <item>
      <title>Arch Linux - rootfs in ram / boot to ram</title>
      <link>https://ianbashford.net/post/archlinuxrootfsinram/</link>
      <pubDate>Sat, 19 Aug 2017 11:24:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/archlinuxrootfsinram/</guid>
      <description>Arch Linux - rootfs in ram / boot to ram Arch comes with some simple scripts for booting root fs into ram. liveroot takes only some simple configuration
First, install the package
1  yaourt -S liveroot   This puts the required hooks into /usr/lib/initcpio
An example mkinitcpio.conf is placed into /usr/share/liveroot I modified the MODULES line as follows
1  MODULES=&amp;#34;zram ext2 btrfs overlay&amp;#34;   And to the HOOKS line I added encrypt and oroot - mine ends up looking like this</description>
    </item>
    
    <item>
      <title>Arch Linux - Quick nice fonts in Google Chrome</title>
      <link>https://ianbashford.net/post/archquicknicefontschrome/</link>
      <pubDate>Sun, 13 Aug 2017 09:24:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/archquicknicefontschrome/</guid>
      <description> Get rid of standard jaggy fonts Edit /etc/fonts/local.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32  &amp;lt;fontconfig&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit mode=&amp;#34;assign&amp;#34; name=&amp;#34;rgba&amp;#34;&amp;gt; &amp;lt;const&amp;gt;rgb&amp;lt;/const&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit mode=&amp;#34;assign&amp;#34; name=&amp;#34;hinting&amp;#34;&amp;gt; &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit mode=&amp;#34;assign&amp;#34; name=&amp;#34;hintstyle&amp;#34;&amp;gt; &amp;lt;const&amp;gt;hintslight&amp;lt;/const&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit mode=&amp;#34;assign&amp;#34; name=&amp;#34;antialias&amp;#34;&amp;gt; &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit mode=&amp;#34;assign&amp;#34; name=&amp;#34;lcdfilter&amp;#34;&amp;gt; &amp;lt;const&amp;gt;lcddefault&amp;lt;/const&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;match target=&amp;#34;font&amp;#34;&amp;gt; &amp;lt;edit name=&amp;#34;embeddedbitmap&amp;#34; mode=&amp;#34;assign&amp;#34;&amp;gt; &amp;lt;bool&amp;gt;false&amp;lt;/bool&amp;gt; &amp;lt;/edit&amp;gt; &amp;lt;/match&amp;gt; &amp;lt;/fontconfig&amp;gt;  </description>
    </item>
    
    <item>
      <title>Arch Install - UEFI Boot with BTRFS root filesystem</title>
      <link>https://ianbashford.net/post/archinstalluefibootbtrfsroot/</link>
      <pubDate>Fri, 11 Aug 2017 09:24:33 +0000</pubDate>
      
      <guid>https://ianbashford.net/post/archinstalluefibootbtrfsroot/</guid>
      <description>Disk Formatting Three partitions for this example - EFI, swap and then a single BTRFS for everything else
One consequence is that you can&amp;rsquo;t snapshot /boot (as it&amp;rsquo;s formatted to FAT32)&amp;hellip;
1 2 3 4  Create GPT Partition Table disk EFI partition, FAT32 format, 512M (will mount on /boot ) e.g. /dev/sda1 swap e.g. /dev/sda2 BTRFS filesystem for root,var,home etc e.g. /dev/sda3   Install Arch mkswapfs / swapon etc</description>
    </item>
    
  </channel>
</rss>