<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: pixman92</title>
    <description>The latest articles on Forem by pixman92 (@pixman92).</description>
    <link>https://forem.com/pixman92</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F130590%2Fd1236daf-c12f-4c10-ba6d-5ce687053205.png</url>
      <title>Forem: pixman92</title>
      <link>https://forem.com/pixman92</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/pixman92"/>
    <language>en</language>
    <item>
      <title>Changing CSS By Device Screen Size - Javascript</title>
      <dc:creator>pixman92</dc:creator>
      <pubDate>Fri, 02 Apr 2021 21:28:46 +0000</pubDate>
      <link>https://forem.com/pixman92/changing-css-by-device-screen-size-javascript-be</link>
      <guid>https://forem.com/pixman92/changing-css-by-device-screen-size-javascript-be</guid>
      <description>&lt;p&gt;Wrote a simple JS file that pre-defines Screen Media sizes (for mobile, for tablet and beyhond) by just the change of a paramater.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/pixman92/961887a7ab28877d1529d43616a18899"&gt;https://gist.github.com/pixman92/961887a7ab28877d1529d43616a18899&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Breakdown:&lt;br&gt;
CSSChange(query, property, newValue) - changes a CSS element&lt;br&gt;
changingBasedOnScreenSize(dynamicVar, classOfDevice, elem, attribute, newValue) &lt;/p&gt;

&lt;p&gt;changingBasedOnScreenSize() _ parameters defined&lt;br&gt;
dynamicVar - makes a Dynamic Variable&lt;br&gt;
classOfDevice - grabs a preset value and matches that to  logic&lt;br&gt;
elem - querySelector a DOM element&lt;br&gt;
attribute - what CSS element to change&lt;br&gt;
newValue - what attribute of the CSS to change &lt;/p&gt;

</description>
    </item>
    <item>
      <title>A Localhost Tunneling - CLI</title>
      <dc:creator>pixman92</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:03:07 +0000</pubDate>
      <link>https://forem.com/pixman92/a-localhost-tunneling-cli-1k18</link>
      <guid>https://forem.com/pixman92/a-localhost-tunneling-cli-1k18</guid>
      <description>&lt;p&gt;I have spent the better part of the last 2 days trying, like a wild Google search-er, to get a development environment that pushes localhost to the network &amp;amp; internet. That will update and allow for rapid development.&lt;/p&gt;

&lt;p&gt;Here's my findings!&lt;/p&gt;

&lt;p&gt;To lay it simply - I went with Python.&lt;/p&gt;

&lt;p&gt;===&lt;br&gt;
1st Module - LiveReload&lt;br&gt;
&lt;a href="https://pypi.org/project/livereload/"&gt;https://pypi.org/project/livereload/&lt;/a&gt;&lt;br&gt;
This module allows for a localhost environment, one that refreshes after each Save.&lt;/p&gt;

&lt;p&gt;This CLI is:&lt;br&gt;
livereload -p 80&lt;/p&gt;

&lt;p&gt;===&lt;br&gt;
2nd Module - pyngrok &lt;br&gt;
&lt;a href="https://alexdlaird.medium.com/pyngrok-a-python-wrapper-for-ngrok-ceb2f25229fd"&gt;https://alexdlaird.medium.com/pyngrok-a-python-wrapper-for-ngrok-ceb2f25229fd&lt;/a&gt;&lt;br&gt;
This module is a ngrok wrapper. Allowing for quick pushing of a localhost session, mentioned above.&lt;/p&gt;

&lt;p&gt;This CLI is:&lt;br&gt;
ngrok http 80&lt;/p&gt;

&lt;p&gt;===&lt;br&gt;
Running&lt;br&gt;
To get up and going, run the LiveReload command, then the pyngrok command. (Within the directory of your project)&lt;/p&gt;

&lt;p&gt;That's pretty much it!&lt;/p&gt;

&lt;p&gt;For a bonus tip:&lt;br&gt;
I use 'Pushbullet' (a Chrome extension) - to send my unique URLs to my phone or tablet!&lt;/p&gt;

</description>
      <category>localhost</category>
      <category>tunneling</category>
      <category>cli</category>
    </item>
    <item>
      <title>Adding a New Feature</title>
      <dc:creator>pixman92</dc:creator>
      <pubDate>Mon, 21 Jan 2019 04:05:35 +0000</pubDate>
      <link>https://forem.com/pixman92/adding-a-new-feature-265e</link>
      <guid>https://forem.com/pixman92/adding-a-new-feature-265e</guid>
      <description>&lt;p&gt;(I'm new to this community, but I thought I'd dive right in.) &lt;/p&gt;

&lt;p&gt;I love to code but when you have a project that spans many functions across multiple files, I have a hard time isolating what I need to code up a new feature. &lt;/p&gt;

&lt;p&gt;The way I do it now is to make a new file, determine the input I'm getting and the output I want.&lt;/p&gt;

&lt;p&gt;Once I have the code that I want I cut/paste the function back into into my codebase. &lt;/p&gt;

&lt;p&gt;I want to build something that will automate this process. Maybe an extension for a code editor?? &lt;/p&gt;

&lt;p&gt;I'm not sure where to even start. So I'm asking for help, or even just suggestions.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>idea</category>
      <category>coding</category>
      <category>helpful</category>
    </item>
  </channel>
</rss>
