<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bianca L on Medium]]></title>
        <description><![CDATA[Stories by Bianca L on Medium]]></description>
        <link>https://medium.com/@biancalorenpadilla?source=rss-2bec38e9ba8a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jCXbhraHoy03c8Y0LVFxCg.jpeg</url>
            <title>Stories by Bianca L on Medium</title>
            <link>https://medium.com/@biancalorenpadilla?source=rss-2bec38e9ba8a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 13:28:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@biancalorenpadilla/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Wondering how to split a CSV file? Here’s how.]]></title>
            <link>https://medium.com/@biancalorenpadilla/is-your-csv-too-big-split-it-using-this-script-f1d714bd7deb?source=rss-2bec38e9ba8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d714bd7deb</guid>
            <category><![CDATA[csv]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[txt]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[script]]></category>
            <dc:creator><![CDATA[Bianca L]]></dc:creator>
            <pubDate>Fri, 28 Sep 2018 15:18:43 GMT</pubDate>
            <atom:updated>2019-05-15T01:25:10.079Z</atom:updated>
            <content:encoded><![CDATA[<p>I ran into a really annoying problem the other day attempting to upload a csv file of over 15k lines into Airtable. So I created a quick script to break the massive csv file into multiple, smaller csv’s with the same header in order to merge the data into the same table.</p><p><strong>If you need help using it, leave a comment below!</strong></p><p>Here it is:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/02b8f9308df1856b4c638a970046fccf/href">https://medium.com/media/02b8f9308df1856b4c638a970046fccf/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d714bd7deb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create a BigCommerce OmniAuth Rails app hosted on Heroku]]></title>
            <link>https://medium.com/@biancalorenpadilla/how-to-create-a-bigcommerce-omni-auth-rails-app-hosted-on-heroku-ee339b35eadd?source=rss-2bec38e9ba8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee339b35eadd</guid>
            <category><![CDATA[omniauth]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[bigcommerce]]></category>
            <dc:creator><![CDATA[Bianca L]]></dc:creator>
            <pubDate>Tue, 28 Aug 2018 21:31:49 GMT</pubDate>
            <atom:updated>2018-09-06T01:19:52.701Z</atom:updated>
            <content:encoded><![CDATA[<p>Here are the instructions for setting up a BigCommerce Application authenticated with OmniAuth using Rails 5 and Heroku.</p><p><strong>Disclaimer:</strong> This guide is simply a high-level overview for myself and others who want a quick how-to when creating a private app for BigCommerce. The steps or commands may not be 100% correct nor use Rails “best practices”.</p><p>If you have any feedback, comments or questions, please let me know!</p><h3>Rails App &amp; Heroku</h3><h4><strong>Create new Rails App:</strong></h4><pre>rails new <strong>[myapp]</strong> --database=postgresql</pre><h4><strong>Add Gems:</strong></h4><p>Add <strong>figaro</strong> for environment variables, add <strong>awesome_print</strong>, <strong>better_errors</strong>, and <strong>binding_of_caller</strong> for better errors and console.</p><pre># Gemfile</pre><pre><strong><em>gem </em>&#39;figaro&#39;</strong></pre><pre><em>group </em>:development <em>do<br></em><strong><em>  gem </em>&#39;awesome_print&#39;<br>  <em>gem </em>&#39;better_errors&#39;<br>  <em>gem </em>&#39;binding_of_caller&#39;</strong><br><em>end</em></pre><p>Run Rails bundle command.</p><h4><strong>Set up PostgreSQL Database:</strong></h4><pre>rails db:setup</pre><p><em>Trouble connecting? Try </em><em>rm /usr/local/var/postgres/postmaster.pid</em></p><p><a href="https://stackoverflow.com/questions/13410686/postgres-could-not-connect-to-server">Postgres could not connect to server</a></p><h4><strong>Set up Figaro:</strong></h4><p>Run the command to generate the config/application.yml and to append the file to the .gitignore file</p><pre>bundle exec figaro install</pre><h4><strong>Set Up Custom Logging:</strong></h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ee9f747935a750b759c8d70b635deb92/href">https://medium.com/media/ee9f747935a750b759c8d70b635deb92/href</a></iframe><h4><strong>Add Custom Log to RubyMine Config:</strong></h4><p>Run &gt; Edit Configurations</p><h4><strong>Upload to Heroku:</strong></h4><p><a href="https://devcenter.heroku.com/articles/getting-started-with-rails5#add-the-pg-gem">Getting Started on Heroku with Rails 5.x | Heroku Dev Center</a></p><p>Run the following commands to push to heroku!</p><pre>git init<br>git add .<br>git commit -m &quot;init&quot;<br>heroku create<br>git push heroku master<br>heroku run rails db:setup<br>heroku run rails db:migrate</pre><h3>Adding BigCommerce OmniAuth</h3><ul><li>Create a Welcome Controller with an Index View and root to welcome#index.</li><li>Add methods (and helpers) to Application Controller to access the :current_store and the :current_connection</li><li>Add routes for BigCommerce OmniAuth /auth/bigcommerce/callback, /uninstall, and /load GET requests.</li><li>Add methods to Omniauths Controller to handle OmniAuth omniauths#callback, omniauths#uninstall, and omniauths#load requests from BigCommerce.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2e893f047e3c50e3865ecfc5d246638a/href">https://medium.com/media/2e893f047e3c50e3865ecfc5d246638a/href</a></iframe><h4><strong>Set up Ngrok</strong></h4><p>If you need SSL to test your app but don’t want to keep pushing to Heroku, use: <a href="https://ngrok.com/"><strong>ngrok</strong></a>.</p><p>Setup ngrok in your local machine and start it. It will provide you one public URL which tunnels the packets to your localhost.</p><p>After setting up ngrok, run below command to start ngrok on your machine.</p><pre>ngrok http 3000</pre><p>Once it starts , you will get an SSL certified public link like give below. Here is an example: URL <a href="https://883c586f.ngrok.io/">https://c37a0a82.ngrok.io</a></p><h4><strong>Set up developer App for authentication with store</strong></h4><p>Create developer App on BigCommerce</p><p><a href="https://devtools.bigcommerce.com/my/apps">Log In - BigCommerce</a></p><p><strong>Save Client ID’s for Rails app Authentication</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uwVkj23fVCNZdodrBReNeg.png" /><figcaption>Client ID &amp; Edit App</figcaption></figure><ul><li>Add BC_CLIENT_ID and BC_CLIENT_SECRET to application.yml</li><li>Run figaro heroku:set -e production to add ENV variables to Heroku</li></ul><p><strong>Add the Callback URLs from Ngrok</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cENfQTgK6Lk3BLnCYu4TbQ.png" /></figure><h3>Special thanks to:</h3><p>@<a href="https://blog.botreetechnologies.com/@nishantupadhyay?source=post_header_lockup">Nishant Upadhyay</a> who wrote the post below:</p><p><a href="https://blog.botreetechnologies.com/ruby-on-rails-application-on-bigcommerce-platform-ba6e6068b783">Ruby on Rails meets BigCommerce</a></p><p>Qihuan Piao (Github: @kinopyo) for his Gist on the Ruby CustomLogger class</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee339b35eadd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set up your own (free!) SFTP server using Google Cloud Platform]]></title>
            <link>https://medium.com/@biancalorenpadilla/sftp-google-cloud-storage-d559fd16e074?source=rss-2bec38e9ba8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d559fd16e074</guid>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Bianca L]]></dc:creator>
            <pubDate>Fri, 05 Jan 2018 17:24:18 GMT</pubDate>
            <atom:updated>2018-08-29T01:04:12.958Z</atom:updated>
            <content:encoded><![CDATA[<p>Create your own quick and dirty server with SFTP capability with Google Cloud Compute Engine. <strong>This method isn’t the most secure</strong> since it allows users to authenticate to the server via password login rather than using secure keys.</p><p>We’ll start by setting up a cloud server using Google Cloud Platform (GCP). Then, we’ll set up a username and password to access our server. Last, we’ll connect to and test our server.</p><p><strong>What you’ll need:</strong></p><ul><li><a href="https://cloud.google.com/">Google Cloud Account</a></li><li><a href="https://cyberduck.io/?l=en">Cyberduck</a></li></ul><p>Similar to FTP,<strong> SFTP</strong> is SSH (secure shell) File Transfer Protocol. <em>SFTP is not a place where you store files</em>. Rather, it’s a <strong>separate</strong> <strong>protocol</strong> that allows secure files transfers and the ability to traverse the filesystem on a remote server. Learn more about SFTP <a href="https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server">here</a>.</p><h3>Step 1 — Set up a cloud server</h3><p>Create a VM instance on Google Cloud Platform <strong>Compute Engine &gt; VM Instances</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DDLBoDATWGiIgWHfgbm2AA.png" /><figcaption>Select “Compute Engine” from the menu, then “VM instances”.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDND-EzcuXyzGEcAt3p1Fw.png" /><figcaption>Select the “Create Instance” button.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3A6AJESTEmX0aDqdTvpwmg.png" /><figcaption>Select your Machine type to the whichever option suits your needs, then for Boot disk select “CentOS”.</figcaption></figure><blockquote><strong>Why CentOS?</strong></blockquote><blockquote>- The SSH server is <strong>installed</strong> and <strong>enabled</strong>.</blockquote><blockquote>- The SSH server configuration is set to <strong>disable</strong> password authentication, ServerAliveInterval and ClientAliveInterval are set to 7 minutes to prevent SSH disconnections, and root login is disabled via SSH.</blockquote><p>Since the SSH server is installed and enabled, all we have to do is set password authentication to <strong>enabled</strong>.</p><h3>Step 2 — Add a username and password for ssh login</h3><p>Select the SSH &gt; Open in Browser Window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SGNhif-vt4rEzDF96cAd7Q.png" /></figure><p>A terminal will appear, connected to your VM instance. Congrats!</p><p>Now, we’ll want to add a new user and password for logging into our server remotely. Follow these commands making sure to <em>fill in the bold with the appropriate information</em>:</p><p>This example creates a new user called “<strong>username</strong>”, but you should replace it with a user name that you like:</p><pre>[bianca@instance-1 ~] sudo adduser <strong>username</strong></pre><p>Next, assign a password to the new user (again, substitute “<strong>username</strong>” with the user that you just created):</p><pre>[bianca@instance-1 ~] sudo passwd <strong>username</strong></pre><p><strong>Enter a strong password</strong>, and repeat it again to verify it.</p><h3>Step 3 — Enable Password Authentication</h3><p>Great! Now we have a user and a password. All we have to do is enable password authentication in the ssh config file.</p><p>Edit the sshd_config file using the vi editor program, which is located in /etc/ssh/ folder, by typing:</p><pre>[bianca@instance-1 ~] sudo vi /etc/ssh/sshd_config</pre><p>To edit the file, type i (for insert). Then, comment out the <strong>PasswordAuthentication no</strong>, and uncomment the <strong>PasswordAuthentication yes</strong>. Your file changes should now look like this:</p><pre># To disable tunneled clear text passwords, change to no here!<br>PasswordAuthentication yes<br>#PermitEmptyPasswords no<br>#PasswordAuthentication no</pre><p>Next, save the file by hitting ESC, then typing: :wq (that’s a colon, the letter w and q, to overwrite/save file and quit), and hitting <strong>ENTER</strong>.</p><p>You can exit the terminal. Back on GCP, select stop. Now, start it back up again.</p><p>You’ll notice you have an <strong>External IP </strong>which we’ll user in the next step to connect to our server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfWcLTSljwbVf4f6j5g1oQ.png" /></figure><h3>Step 4 — Connect to and test your server with Cyberduck</h3><p>We’re ready to connect to our server via Cyberduck.</p><p>Click “Open Connection”, then from the dropdown list select “SFTP (SSH File Transfer Protocol).</p><p>For Server:, enter your External IP from GCP from the previous step. Then enter your username and password. Hit “Connect”. You’ll see a unknown fingerprint alert, you can check “Always”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZBb3ally_HDDxrsIEUovmw.png" /><figcaption>Create a new SFTP connection on Cyberduck</figcaption></figure><p>That’s it! You can now remotely access your server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nMfLUwqvsxj0wgGBkUKslw.png" /><figcaption>View, upload, or download files by dragging and dropping on Cyberduck</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d559fd16e074" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>