<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Toby's Development Blog - Latest Comments</title><link>http://tosbourn.disqus.com/</link><description></description><atom:link href="https://tosbourn.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 28 May 2020 11:01:12 -0000</lastBuildDate><item><title>Re: Active Storage - resizing images on upload</title><link>https://tosbourn.com/active-storage-image-compression/#comment-4930868619</link><description>&lt;p&gt;Hey, Toby.&lt;/p&gt;&lt;p&gt;Thanks for your post regardless.&lt;br&gt;I've was looking for solution of simple image processing before upload throughout the whole internet for a long time and managed to find it only here.&lt;br&gt;Thanks for sharing your knowledge to general society!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivan</dc:creator><pubDate>Thu, 28 May 2020 11:01:12 -0000</pubDate></item><item><title>Re: Active Storage - resizing images on upload</title><link>https://tosbourn.com/active-storage-image-compression/#comment-4930600932</link><description>&lt;p&gt;Hey Ivan, thanks for your comments.&lt;/p&gt;&lt;p&gt;`fomat "png"` will rename the file, which essentially does a `mv file.jpg file.png` on the file system, I imagine this is what is throwing the permission denied.&lt;/p&gt;&lt;p&gt;I'm not sure of the best way to handle file changes during the upload, sorry.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Osbourn</dc:creator><pubDate>Thu, 28 May 2020 06:53:05 -0000</pubDate></item><item><title>Re: Active Storage - resizing images on upload</title><link>https://tosbourn.com/active-storage-image-compression/#comment-4930141656</link><description>&lt;p&gt;Actually, I got it handled.&lt;/p&gt;&lt;p&gt;&lt;code&gt;  &lt;br&gt;mini_image = MiniMagick::Image.new(params[:card][:image].tempfile.path)&lt;br&gt;mini_image.resize '100x100'&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;But if I try to convert the image to some format (like this: &lt;code&gt;mini_image.format "png"&lt;/code&gt;), I get the "Permission denied @ apply2files" error.&lt;br&gt;Do you know how I can handle this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivan</dc:creator><pubDate>Wed, 27 May 2020 20:08:09 -0000</pubDate></item><item><title>Re: Active Storage - resizing images on upload</title><link>https://tosbourn.com/active-storage-image-compression/#comment-4929930886</link><description>&lt;p&gt;What will this code look like if I have only one image?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivan</dc:creator><pubDate>Wed, 27 May 2020 16:44:34 -0000</pubDate></item><item><title>Re: The main reasons why we shouldn't use click here as link text</title><link>https://tosbourn.com/click-here/#comment-4911937908</link><description>&lt;p&gt;I agree with what you said here. I shall try and follow these tips. Thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shiv</dc:creator><pubDate>Wed, 13 May 2020 02:26:14 -0000</pubDate></item><item><title>Re: How to turn on invisible characters in Sublime Text 2</title><link>https://tosbourn.com/how-to-turn-on-invisible-characters-in-sublime-text-2/#comment-4900254578</link><description>&lt;p&gt;Thanks. Pretty silly that it's a global setting, not something you can quickly toggle on/off for a specific document, though.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh McCullough</dc:creator><pubDate>Sun, 03 May 2020 21:43:33 -0000</pubDate></item><item><title>Re: Fixing an issue with Sprockets and feature tests</title><link>https://tosbourn.com/fixing-an-issue-with-sprockets-and-feature-tests/#comment-4856102024</link><description>&lt;p&gt;Really, what Sunny says is totally true. You saved my day (and my deploys w/ Rails 6)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">João Netto</dc:creator><pubDate>Tue, 31 Mar 2020 23:32:52 -0000</pubDate></item><item><title>Re: Copy and Paste in Vim</title><link>https://tosbourn.com/copy-paste-vim/#comment-4835026140</link><description>&lt;p&gt;What happens when you type instead of copy and paste?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Osbourn</dc:creator><pubDate>Mon, 16 Mar 2020 09:18:14 -0000</pubDate></item><item><title>Re: Copy and Paste in Vim</title><link>https://tosbourn.com/copy-paste-vim/#comment-4831723012</link><description>&lt;p&gt;It says 'Nothing in Register' while I just copied a line from a webpage in broswer&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anas  Ansari</dc:creator><pubDate>Fri, 13 Mar 2020 13:16:37 -0000</pubDate></item><item><title>Re: Copy and Paste in Vim</title><link>https://tosbourn.com/copy-paste-vim/#comment-4831721593</link><description>&lt;p&gt;It says nothing in register&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anas  Ansari</dc:creator><pubDate>Fri, 13 Mar 2020 13:15:34 -0000</pubDate></item><item><title>Re: Fixing an issue with Sprockets and feature tests</title><link>https://tosbourn.com/fixing-an-issue-with-sprockets-and-feature-tests/#comment-4821269757</link><description>&lt;p&gt;You really saved my day. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sunny</dc:creator><pubDate>Thu, 05 Mar 2020 03:37:47 -0000</pubDate></item><item><title>Re: Git command to show files changed in a commit</title><link>https://tosbourn.com/git-command-to-show-files-changed-in-a-commit/#comment-4811859785</link><description>&lt;p&gt;how to get path of the file changed ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rvamsi</dc:creator><pubDate>Wed, 26 Feb 2020 20:31:32 -0000</pubDate></item><item><title>Re: The correct way to markup an image and caption in HTML</title><link>https://tosbourn.com/correct-way-markup-image-caption-html/#comment-4809051668</link><description>&lt;p&gt;Thanks, worked for me&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daramola Enitan</dc:creator><pubDate>Tue, 25 Feb 2020 09:12:34 -0000</pubDate></item><item><title>Re: Custom Startup Messages on Slack</title><link>https://tosbourn.com/slack-custom-startup-message/#comment-4802962682</link><description>&lt;p&gt;Are you an admin of the slack group you're trying to customise?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Osbourn</dc:creator><pubDate>Thu, 20 Feb 2020 08:55:58 -0000</pubDate></item><item><title>Re: Custom Startup Messages on Slack</title><link>https://tosbourn.com/slack-custom-startup-message/#comment-4802901167</link><description>&lt;p&gt;I am missing them...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bonnie Vlášková</dc:creator><pubDate>Thu, 20 Feb 2020 07:50:52 -0000</pubDate></item><item><title>Re: Gender Neutral Swear Words</title><link>https://tosbourn.com/gender-neutral-swear-words/#comment-4802350046</link><description>&lt;p&gt;Technically by modern terms that is called "slut-shaming": shaming people (usually women) for enjoyying sexual pleasure in the way they wish, and not conforming to traditional behaviours.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cow</dc:creator><pubDate>Wed, 19 Feb 2020 18:32:47 -0000</pubDate></item><item><title>Re: Changing upload permissions in vsftpd</title><link>https://tosbourn.com/changing-upload-permissions-in-vsftpd/#comment-4766393826</link><description>&lt;p&gt;Exactly what I needed to know, thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Doug Lowman</dc:creator><pubDate>Wed, 22 Jan 2020 06:48:08 -0000</pubDate></item><item><title>Re: Posting to Slack with PHP</title><link>https://tosbourn.com/posting-to-slack-with-php/#comment-4762450460</link><description>&lt;p&gt;Thank you - this was a very simple explanation on how to make this work!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew</dc:creator><pubDate>Sat, 18 Jan 2020 18:54:45 -0000</pubDate></item><item><title>Re: Copy and Paste in Vim</title><link>https://tosbourn.com/copy-paste-vim/#comment-4732704266</link><description>&lt;p&gt;This is so awesome, the simplest description ever.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vipin</dc:creator><pubDate>Sun, 22 Dec 2019 11:31:58 -0000</pubDate></item><item><title>Re: An open letter to EUKHost</title><link>https://tosbourn.com/an-open-letter-to-eukhost/#comment-4730265024</link><description>&lt;p&gt;Shocked to hear this also we have found euk to be reputable and good on support maybe things have moved on?&lt;/p&gt;&lt;p&gt;Try &lt;a href="https://www.365hosts.com" rel="nofollow noopener" target="_blank" title="https://www.365hosts.com"&gt;365hosts.com&lt;/a&gt; if you need a solid UK based host.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter G</dc:creator><pubDate>Thu, 19 Dec 2019 17:35:14 -0000</pubDate></item><item><title>Re: Setting Reminders on Slack</title><link>https://tosbourn.com/how-to-set-reminders-on-slack/#comment-4670988861</link><description>&lt;p&gt;Hey thanks @Edd Clarke  &lt;br&gt;This is the only way I can do after searching on google&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hương Nguyễn</dc:creator><pubDate>Wed, 30 Oct 2019 02:41:57 -0000</pubDate></item><item><title>Re: I get very ill if I mix Citalopram and Green Tea</title><link>https://tosbourn.com/get-ill-mix-citalopram-green-tea/#comment-4667328014</link><description>&lt;p&gt;I'm glad this was helpful! I haven't been on Citalopram for a while but still am very dubious of green tea. It was a horrible feeling!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Osbourn</dc:creator><pubDate>Sun, 27 Oct 2019 05:27:33 -0000</pubDate></item><item><title>Re: I get very ill if I mix Citalopram and Green Tea</title><link>https://tosbourn.com/get-ill-mix-citalopram-green-tea/#comment-4666335001</link><description>&lt;p&gt;This post is so helpful. I have had two severe episodes of sickness and huge temperature spikes and dips after drinking green tea on citalopram. I have never felt so ill and weird. It's definitely a toxic combination.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ceecey</dc:creator><pubDate>Sat, 26 Oct 2019 04:15:21 -0000</pubDate></item><item><title>Re: Syntax Highlighting on Slack</title><link>https://tosbourn.com/slack-syntax-highlighting/#comment-4664176995</link><description>&lt;p&gt;discord too&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Developer</dc:creator><pubDate>Thu, 24 Oct 2019 10:38:51 -0000</pubDate></item><item><title>Re: Git branches seem to be case insensitive</title><link>https://tosbourn.com/git-branches-seem-to-be-case-insensitive/#comment-4654057823</link><description>&lt;p&gt;fatal: A branch named 'xxx' already exists.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ben</dc:creator><pubDate>Wed, 16 Oct 2019 00:52:04 -0000</pubDate></item></channel></rss>