<?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 Kimberly Luu on Medium]]></title>
        <description><![CDATA[Stories by Kimberly Luu on Medium]]></description>
        <link>https://medium.com/@kimcodeashian?source=rss-ac604a403978------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YXWiN5LsSieJ_i5GwMfarw.jpeg</url>
            <title>Stories by Kimberly Luu on Medium</title>
            <link>https://medium.com/@kimcodeashian?source=rss-ac604a403978------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 09:57:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kimcodeashian/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[Create an Aion dApp — Pet Roulette!]]></title>
            <link>https://medium.com/@kimcodeashian/aion-demo-dapp-roulette-884ade64ce2d?source=rss-ac604a403978------2</link>
            <guid isPermaLink="false">https://medium.com/p/884ade64ce2d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[aion]]></category>
            <category><![CDATA[decentralized-apps]]></category>
            <category><![CDATA[dapps-tutorial]]></category>
            <category><![CDATA[aion-network]]></category>
            <dc:creator><![CDATA[Kimberly Luu]]></dc:creator>
            <pubDate>Thu, 31 Jan 2019 20:53:29 GMT</pubDate>
            <atom:updated>2019-01-31T22:50:53.641Z</atom:updated>
            <content:encoded><![CDATA[<h3>Create an Aion dApp — Pet Roulette!</h3><p><strong>Want to learn how to re-create this dApp?</strong></p><p>Head over to my <a href="https://learn.aion.network/v1.0/docs/create-dapp-on-aion-tutorial">tutorial</a> and I’ll tell ya all about it!</p><p><a href="https://learn.aion.network/v1.0/docs/create-dapp-on-aion-tutorial">[Guide] Create your first dApp on Aion!</a></p><p>Recently, the developer success team 👩🏻‍💻 🏆 hosted a dApp day, where we threw together an application in 24 hours. We thought this would be a great way of testing the Aion infrastructure and workflows, while also putting ourselves into the shoes of dApp developers 👟! Here’s how we did it.</p><p>Rules of the day were:</p><ol><li>Create a decentralized application on the Aion testnet.</li><li>Build the dApp using existing Aion tools <em>(listed below)</em></li><li>Deliver something by the end of the day.</li></ol><p>Since we had limited time, we thought it was best to migrate an existing dApp on Ethereum over to Aion. After a little bit of sifting through GitHub repos and Medium posts, we found <a href="https://medium.com/u/674fa3ff833d">Merunas Grincalaitis</a>’ <a href="https://medium.com/ethereum-developers/the-ultimate-end-to-end-tutorial-to-create-and-deploy-a-fully-descentralized-dapp-in-ethereum-18f0cf6d7e0e">guide</a> on creating a casino-like application on Ethereum.</p><h4>Voila!</h4><p>After a hilariously exhausting 24 hours, we produced <strong>Aion Pet Roulette</strong>! Front-end was a bit of an afterthought, as we didn’t have a huge amount of time to make things looks pretty.</p><p>Check it out: <a href="https://aion-roulette.netlify.com/">https://aion-roulette.netlify.com/</a></p><p><strong>Game Basics:</strong></p><ul><li>7 accounts choose an animal to win the round</li><li>Each account can place one bet per round</li><li>Bets must be within 1 and 100 AION</li></ul><p>Try your luck &amp; place your bets!! 😉💸🐘</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GBVbbX19rWRm5WBwm6VoLg.png" /><figcaption><a href="https://aion-roulette.netlify.com/">https://aion-roulette.netlify.com/</a></figcaption></figure><h4>Tools Used</h4><ul><li><a href="https://nodesmith.io/">Nodesmith</a></li><li><a href="https://titan-suite.com/">Titan Suite</a></li><li><a href="http://getaiwa.com/">AIWA</a></li></ul><p>Here’s a brief explanation of all the tools used to build this dApp.</p><p><strong>Nodesmith</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BZgDm5nOSuQ5u7PgIQsViQ.jpeg" /></figure><p><a href="https://nodesmith.io/">Nodesmith</a> is a new <em>Software as a Service</em> company making access to decentralized networks faster and easier. It’s a free service and they provide an API that securely connects you to a fully up-to-date blockchain networks — such as Aion!</p><p>Nodesmith aims to take the headache out of running and hosting decentralized network nodes yourself by providing compatible APIs which connect you securely to fully up-to-date blockchain networks.</p><p><strong>Titan Suite</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hauYQM3R1-hYDjiPeNht8w.png" /><figcaption><a href="https://ide.titan-suite.com/">https://ide.titan-suite.com</a></figcaption></figure><p><a href="https://titan-suite.com/">Titan Suite</a> is a one stop shop for all your smart contract needs. Whether you want to edit, compile, or deploy your contract onto the Aion Network, it can do it all! A tool that makes building a dApp a simple and secure experience! Use it with your Nodesmith endpoint and you’re all set 👍</p><p><strong>AIWA — Aion Wallet</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5en5wnrWd5nwQ4twqK8Jrw.png" /></figure><p><a href="https://getaiwa.com/">AIWA</a> is a browser wallet for Aion that allows you to store &amp; interact with your AION. It allows users to interact with distributed apps on Aion directly in their browser!</p><p>DApps can be authorized to perform transactions without being exposed to your private keys or seed words.</p><p>Of course there are guides on how to get started with all the tools I listed above in our <a href="https://learn.aion.network/">Aion University Docs</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=884ade64ce2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple CSS Solutions: How to resize images with different dimensions (without cropping)]]></title>
            <link>https://medium.com/@kimcodeashian/simple-css-solutions-how-to-resize-images-with-different-dimensions-without-cropping-eb744e93246d?source=rss-ac604a403978------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb744e93246d</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Kimberly Luu]]></dc:creator>
            <pubDate>Mon, 01 May 2017 03:53:41 GMT</pubDate>
            <atom:updated>2017-05-08T15:10:52.619Z</atom:updated>
            <content:encoded><![CDATA[<h3>Simple CSS Solutions: How to fit images with different dimensions in set containers</h3><p>Have you had a project where the assets and images were not consistent with the design layout? Were you on the verge of pulling out your hair when attempting to fit different sized images into a set container or grid? Did you come up with some diabolical scheme on assassinating the designer who set you on mission: <em>impossible</em>?</p><p>Today I reveal to you 3 simple solutions on how to fit images without cropping (because our purpose is to write code &amp; not worry about pictures).</p><h3>1. Hold the designer hostage until they agree to resize the images to pixel perfect</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*a3Pmm_E83VeVA6CzsqNH8w.jpeg" /></figure><p>Eliminate the source at the problem. Easy. As. That.</p><p>I’m just kidding — you can always contact them and politely ask that they make your life a little less miserable by sizing the images to fit their respective containers.</p><h3>2. Using the background-image property instead of &lt;img&gt;</h3><p>By using the background-image property directly into your container, this will allow you to position and scale your images easily with CSS!</p><pre><strong>CSS</strong><br>&lt;style&gt;<br>  .img {<br>     width: 500px;<br>     height: 500px;<br>     background-position: 50% 50%;<br>     background-repeat: no-repeat;<br>     background-size: cover;<br>  }<br> &lt;/style&gt;</pre><pre><strong>MARKUP</strong><br>&lt;div class=&quot;grid&quot;&gt;<br>   &lt;div class=&quot;img&quot; style=&quot;background-image:<br>   url(https://medium.com/&#39;%3Ca%20href=%22/service/https://unsplash.it/400/500&#39;%22%3Ehttps://unsplash.it/400/500&#39;%3C/a%3E)&quot;&gt;&lt;/div&gt;</pre><pre>    &lt;div class=&quot;img&quot; style=&quot;background-image:<br>    url(https://medium.com/&#39;%3Ca%20href=%22/service/https://unsplash.it/400/500&#39;%22%3Ehttps://unsplash.it/500/400&#39;%3C/a%3E)&quot;&gt;&lt;/div&gt;<br>&lt;/div&gt;</pre><p>In the example I provided, I created two divs and nested a background-image in each. Next, I styled it by setting the dimensions of my choosing — I chose a square here, but you can use whatever dimensions and adjust the positioning to your liking. You can find more information on how to use background-position <a href="https://www.w3schools.com/cssref/pr_background-position.asp">here</a>.</p><h3>3. Overflow:Hidden; and 2D Positioning</h3><pre><strong>CSS</strong><br>&lt;style&gt;<br>  .square {<br>     position: relative;<br>     width: 300px;     <br>     height: 300px;<br>     overflow: hidden;<br>  }<br>  img {<br>     position: absolute;<br>     max-width: 100%;<br>     width: 100%;<br>     height: auto;<br>     top: 50%;     <br>     left: 50%;<br>     transform: translate( -50%, -50%);<br> }<br>  img.landscape {<br>    height: 100%;<br>    width: auto;<br>}<br>&lt;/style&gt;</pre><pre><strong>MARKUP</strong><br>&lt;div class=&quot;square&quot;&gt;<br>   &lt;img src=&quot;<a href="https://unsplash.it/400/500&#39;">https://unsplash.it/400/500</a>&quot; alt=&quot;Image&quot; /&gt; <br>&lt;/div&gt;</pre><pre>&lt;div class=&quot;square&quot;&gt;<br>   &lt;img src=&quot;<a href="https://unsplash.it/400/500&#39;">https://unsplash.it/500/400</a>&quot; class=&quot;<strong>landscape</strong>&quot; alt=&quot;Image&quot; /&gt; <br>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/0*EPYBPF6dVduFEMTJ.png" /><figcaption><a href="http://jonathannicol.com/cms/wp-content/uploads/2014/06/cropped-thumbnails.png">http://jonathannicol.com/cms/wp-content/uploads/2014/06/cropped-thumbnails.png</a></figcaption></figure><p>How this works is we are positioning the image first by making the top left corner the center of its container. Then with 2D positioning, we slide the image up and left by half of its dimensions.</p><p>For the landscape image, we can add a class of ‘landscape’ and style it accordingly to fit its respective container.</p><p>It is important to note that the percentage values used in the translate method are relative to the element itself and not the container. You can find more interesting ways to use 2D transformations <a href="https://www.w3schools.com/css/css3_2dtransforms.asp">here</a>.</p><p>And there we have it.</p><h4>3 easy ways to resize images with the help of CSS and death threats!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb744e93246d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>