Skip to content

Instantly share code, notes, and snippets.

View horrorchix89's full-sized avatar

Liz S. horrorchix89

  • Little Rock, AR
View GitHub Profile
@pamelafox
pamelafox / country_capitals.json
Last active March 29, 2023 12:25
country_capitals.json
[{"id":"AD","country":"Andorra","capital":"Andorra la Vella","lat":42.5063174,"lng":1.5218355},
{"id":"AF","country":"Afghanistan","capital":"Kabul","lat":34.5553494,"lng":69.207486},
{"id":"AG","country":"Antigua and Barbuda","capital":"St. John's","lat":17.1274104,"lng":-61.846772},
{"id":"AL","country":"Albania","capital":"Tirana","lat":41.3275459,"lng":19.8186982},
{"id":"AM","country":"Armenia","capital":"Yerevan","lat":40.1872023,"lng":44.515209},
{"id":"AO","country":"Angola","capital":"Luanda","lat":-8.8146556,"lng":13.2301756},
{"id":"AR","country":"Argentina","capital":"Buenos Aires","lat":-34.6036844,"lng":-58.3815591},
{"id":"AT","country":"Austria","capital":"Vienna","lat":48.2081743,"lng":16.3738189},
{"id":"AU","country":"Australia","capital":"Canberra","lat":-35.2801903,"lng":149.1310038},
{"id":"AZ","country":"Azerbaijan","capital":"Baku","lat":40.4092617,"lng":49.8670924},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@loretoparisi
loretoparisi / github_colors.css
Created May 7, 2021 16:54
Github CSS Colors HEX scale
{
--color-scale-black: #010409;
--color-scale-white: #f0f6fc;
--color-scale-gray-0: #f0f6fc;
--color-scale-gray-1: #c9d1d9;
--color-scale-gray-2: #b1bac4;
--color-scale-gray-3: #8b949e;
--color-scale-gray-4: #6e7681;
--color-scale-gray-5: #484f58;
--color-scale-gray-6: #30363d;
$zero__x-color: rgb(48, 44, 44);
$aave-color: rgb(165, 55, 140);
$algorand-color: rgb(0, 0, 0);
$ankr-color: rgb(0, 109, 255);
$augur-color: rgb(85, 53, 128);
$balancer-color: rgb(29, 40, 42);
$bancor__network-color: rgb(0, 11, 32);
$band__protocol-color: rgb(81, 111, 250);
$basic__attention-color: rgb(255, 80, 0);
$binance-color: rgb(240, 185, 11);
[data-color-mode='dark'] {
--color-prettylights-syntax-comment: #8b949e;
--color-prettylights-syntax-constant: #79c0ff;
--color-prettylights-syntax-entity: #d2a8ff;
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
--color-prettylights-syntax-entity-tag: #7ee787;
--color-prettylights-syntax-keyword: #ff7b72;
--color-prettylights-syntax-string: #a5d6ff;
--color-prettylights-syntax-variable: #ffa657;
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
@prajapatipinky-3520
prajapatipinky-3520 / index.html
Created November 6, 2020 08:52
Job Search Platform UI
<div class="job">
<div class="header">
<div class="logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path xmlns="http://www.w3.org/2000/svg" d="M512 503.5H381.7a48 48 0 01-45.3-32.1L265 268.1l-9-25.5 2.7-124.6L338.2 8.5l23.5 67.1L512 503.5z" fill="#0473ff" data-original="#28b446" />
<path xmlns="http://www.w3.org/2000/svg" fill="#0473ff" data-original="#219b38" d="M361.7 75.6L265 268.1l-9-25.5 2.7-124.6L338.2 8.5z" />
<path xmlns="http://www.w3.org/2000/svg" d="M338.2 8.5l-82.2 234-80.4 228.9a48 48 0 01-45.3 32.1H0l173.8-495h164.4z" fill="#0473ff" data-original="#518ef8" />
</svg>
Milao
</div>
@datatypevoid
datatypevoid / getMoonPhase.ts
Last active September 11, 2022 15:42 — forked from endel/getMoonPhase.js
Get moon phase by Date, written in TypeScript. Accurate from year 1900 to 2199 inclusive.
export { EMoonPhase, EMoonPhaseName, MOON_PHASE_NAMES, moonPhase }
const { round, trunc: truncate } = Math
enum EMoonPhase {
New = 0,
WaxingCrescent,
@tdbe
tdbe / proper-js-color-conversion-algorithms.html
Last active May 11, 2021 00:41 — forked from mjackson/color-conversion-algorithms.js
rgbToHex, hexToRgb, hslToRgb, rgbToHsl, hslToRgb, rgbToHsv, hsvToRgb, hslToHex, hsvToHex, hexToHsv --- that's right you've finally found complete and proper color conversion algorithms in native JavaScript. Actually works as expected: in: 3 vals in browser format, out: array of 3 vals in browser format. Think of all the druggery I saved you :)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Color Picker</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
@flasozzi
flasozzi / greetingsweatherdatecountdownbattery.js
Last active June 12, 2021 06:15
Greetings, weather, date, countdown, battery (Frankenstein) widget for iOS using Scriptable.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: calendar-alt;
// CREDITS
// Greetings code Autumn Vibes by u/ben5292001
// Battery code by u/_Bisho_
// Weather stack code by u/coderjones
// Countdown code and assemble by u/flasozzi
@flasozzi
flasozzi / countdown.js
Created October 5, 2020 00:31
Simple countdown widget
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: calendar-alt;
// CREDITS
// Created by u/flasozzi
// Background image code by u/ben5292001
// READ THE INSTRUCTIONS BELOW