Skip to content

Instantly share code, notes, and snippets.

View chibaye's full-sized avatar

chibaye chibaye

View GitHub Profile
@chibaye
chibaye / google-maps-html-marker.markdown
Last active May 1, 2019 19:32
Google Maps html marker
@chibaye
chibaye / index.pug
Created April 27, 2019 15:18
React Image Preview & Upload
h3 React Image Preview & Upload Component
div#mainApp
div.centerText
span Checkout associated
a(href="http://www.hartzis.me/react-image-upload/" target="_blank") blog post
@chibaye
chibaye / diagonal-two-color-background.markdown
Created April 30, 2019 13:27
Diagonal Two Color Background
@chibaye
chibaye / google-maps-polygon-coordinates-tool.markdown
Created May 1, 2019 18:57
Google Maps Polygon Coordinates Tool

Google Maps Polygon Coordinates Tool

Outputs the coordinates (longitude, latitude) for Google Maps whenever the Polygon is moved or re-shaped. Recently added a 'Copy to Clipboard' button and had data output into a textarea for easier copying & pasting

I originally built this to build map outlines for neighborhoods, villages, districts and counties - specifically for real estate purposes.

A Pen by Jeremy Hawes on CodePen.

License.

@chibaye
chibaye / glowing-flashing-button.markdown
Last active May 1, 2019 19:21
glowing/flashing button
@chibaye
chibaye / index.html
Created May 1, 2019 19:30
SVG Marker for Google Maps API Example
<div id="map" style="width: 100%; height: 500px"></div>
@chibaye
chibaye / index.html
Created May 2, 2019 08:05
Loading… (with blinking dots)
<div class="loader">Loading<span class="loader__dot">.</span><span class="loader__dot">.</span><span class="loader__dot">.</span></div>
@chibaye
chibaye / index.html
Last active May 3, 2019 13:59
real-time-line-chart
<div id="js-app"></div>
@chibaye
chibaye / index.html
Created May 3, 2019 14:05
SVG Line Graph
<div id="wrapper">
<div class="explanation">
<h1>Svg Line Graph</h1>
<p>Make your own graph, type in atleast two numbers below, and the default graph will clear and it will generate one based on your input</p>
<p>Your values are...</p>
<p id="yourValues"></p>
<input type="input" id="value" name="value" placeholder="Value (number)"/>
<input type="button" value="add value" onclick="addValue()"/>
<input type="button" value="clear chart" onclick="clearChart()"/>
</div>