Skip to content

Instantly share code, notes, and snippets.

@adowning
adowning / index.html
Created June 11, 2024 15:51
SomaFM Music Player
<!-- app root container -->
<div class="app-wrap" id="app" v-cloak>
<!-- app player container -->
<main class="player-wrap fx fx-fade-in" ref="playerWrap" style="opacity: 0">
<!-- bg absolute elements -->
<figure class="player-bg" ref="playerBg"></figure>
<canvas class="player-canvas" ref="playerCanvas"></canvas>
@adowning
adowning / install.sh
Last active November 4, 2023 11:11 — forked from hebertcisco/install.sh
Ubuntu Installation Automation
#!/bin/bash
## By Hebert F. Barros 2019
## Removing any apt ## crashes
sudo rm /var/lib/dpkg/lock-frontend ; sudo rm /var/cache/apt/archives/lock ;
sudo apt-get update
echo 'installing curl'
sudo apt install curl -y
@adowning
adowning / index.html
Created September 24, 2023 22:59
XWedzMq
<!-- Slider main container -->
<h1> Curved Carousel </h1>
<div class="carousel-wrapper">
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide"><img src="https://images.pexels.com/photos/5137664/pexels-photo-5137664.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" /></div>
<div class="swiper-slide">
{
"port": "8080/",
"host": "localhost:8080",
"prefix": "http://",
"host_ws": "localhost",
"prefix_ws": "ws://",
"ssl": false
}
{"v":"5.7.7","fr":30,"ip":0,"op":240,"w":1242,"h":720,"nm":"Comp 1","ddd":0,"assets":[{"id":"image_0","w":754,"h":743,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvIAAALnCAYAAADrgKNkAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nOy9Xc8kyXXndyKrekwPBLY800MvpPZiZvjilixdmAYscOCLgQAB1CeRV+Tow0zPSOhPIsECFrwwKMiAacBamASHPT1LU8Ka/QJRILjanqoMX2RF5omIExHnxEtmVj1xgMJTlRkRGRlVlfmr//OPEwp69OjRo8cq8eTpq/tfHs5fN6+1hq8OMHzFvFZKKXUa/4tb76T0vxyH44u1+qmG8U39pf437vbxoN7Ar7WGMwzjy3n/l8Mv/+Kbb/9ijT726NGjRw8AtXUHevTo0eOa4/GzF4+U0m+q0/AVOMBXzfbhrF8DrA/hewn8Y2Ac1BEUDAAAI4z/qhT8CwDA999950db9rFHjx49rj06yPfo0aNHID7+7OXD4d74NaycD2f9elTD62FQXXmuFKfx9OCo1VcN8BulX2v1m4/ee/CTrfvXo0ePHnuNDvI9evS40/HJF8+/jdX04axft1bRT0rd5LX3qLVu0a5R9w3oG1X/3vnw9M++/tavWhyzR48ePa4hbvJm0qNHjx44jLKu9PA140NX99R/0uPwm1rHKIHzg7rOa/FZQxG4VwP/8/l9499XWv3TWY2vu5Lfo0ePuxBXefPo0aNHDyrmyaTj8LZScBjO+jUcDp+XtiuB9FpQfnq9r+vz8Y0yaDchgf9S0B9H/RCUfhMUDFqNv+yTcXv06HFrsasbRY8ePXpw4/GzF4+Gs3oLDvDV4axflyjsXFCX
{
"short_name": "Weather",
"name": "Weather: Do I need an umbrella?",
"icons": [
{
"src": "/images/icons-vector.svg",
"type": "image/svg+xml",
"sizes": "512x512"
},
{
{
"items": [
{
"row_number": 1,
"accountID": "f39fb33a-630a-11e6-9598-c5b97840c6be",
"accountName": "1ST CHRISTAN CHURCH",
"accountType": "Customer",
"address1": "4202 S Broadway Ave",
"alert": false,
"city": "Tyler",
#!/bin/bash
METADATA_URL="http://metadata.google.internal/computeMetadata/v1/instance"
TOPIC="revive-preempt"
zone
set -u
export PATH="/usr/local/bin:/sbin:/usr/sbin:$PATH"
instance_name=$(curl -sSfL -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/name)
zone_info=$(curl -sSfL -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/zone)
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--