Skip to content

Instantly share code, notes, and snippets.

@visionarylab
visionarylab / markmission.md
Created May 21, 2024 03:03 — forked from sfinktah/markmission.md
OpenAI's idea of how to create a PWA for offline/online submission of form data

Creating a Progressive Web App (PWA) to store contact details from a form and submit them when internet access is available involves a combination of technologies like HTML, CSS, JavaScript, and service workers. Below is a simplified example of how you can achieve this:

  1. HTML Form: Create an HTML form to collect contact details. You can create an index.html file.
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
Activate debug mode in Android
Connect to PC via USB
Open command prompt type: adb tcpip 5555
Disconnect your tablet or smartphone from pc
Open command prompt type: adb connect IPADDRESS (IPADDRESS is the DHCP/IP address of your tablet or smartphone, which you can find by Wi-Fi -> current connected network)
.css-selector {
    background: linear-gradient(128deg, #ff5500, #ff0000, #ff00e4);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 0s ease infinite;
    -moz-animation: AnimationName 0s ease infinite;
    -o-animation: AnimationName 0s ease infinite;
    animation: AnimationName 0s ease infinite;
}
@-webkit-keyframes AnimationName {
    0%{background-position:0% 46%}
Maintainers:
maxbrunet: automatic-timezoned, automatic-timezoned
x86_64-linux automatic-timezoned
aarch64-linux automatic-timezoned
@ozment
ozment / postgist.txt
Created May 21, 2024 03:01
Adding a GIST via API.
Adding a GIST via the API!!
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created May 21, 2024 03:01
Rimworld output log published using HugsLib
Log uploaded on Monday, May 20, 2024, 8:00:50 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
SRTS Expanded(smashphil.srtsexpanded)[mv:1.4.7]: 0Harmony(av:2.3.3,fv:2.2.2), SRTS(1.0.0)
Gestatable apocriton(Rainezean.GestateApocriton): (no assemblies)
@bintangmuh
bintangmuh / fixed table.css
Created May 21, 2024 03:00
Fixed first coloumn when table scroll horizontaly
/* source: https://dev.to/nicolaserny/table-with-a-fixed-first-column-2c5b */
/* work with bootstrap table css */
/* make the first coloumn of the (row head and body) sticky */
.table-sticky>tr>th:first-child,.table-sticky>tr>td:first-child {
position: sticky;
left: 0;
background-color: inherit;
}
U2FsdGVkX19OtC5p+uxM3LEWvUEbvdlofdt3hA6yr4qK7OO1tMgmIlGFGquHdMHOp+wu1bMwbFKlC2oPIgFJ7+FqSZbXXqI9RswLBG8E3MRPGphAJDlG9P9mI5JMJD2r8rTOOY5SN8cnC1co9zbsc47hKb1B2KrBYnuKF313aLHcEG1qmhje+t/HQsQvC3DEQ53BN/knLxBoOzvNSMkqLiATkIWxyzkyYH5L+bOd8B6bgHzky28/Sl6T0q598mCDLhCxp6SSpCT0fYMEW7EJWkbwQY+sV8n3Lz9gqOpKnPlFyJe4oDs9pf34IPQ1TKFCxlo6GNAK7i7mJEPMNTLUZ94bd0uMoj1DYhXIIqRx0HSfOt+WM5gS0lFKAI7aCaUvG/g5or9GAdgouIXCnYMMcBuC1VA/NYHjti83Iv4UxETujCS3aLLeRPQTYaUtUeJpenwP2rTrAKmEs+x1AsCLUFPX9wjwVbVE2aFrHFK7/zkT4ehYzwhDpok44Yz4zqK95+9DOKOGy++HpK6m4uqKHGk05A5gywMVPhYaqMBfM9DirI+SINT1JMwpo9fwOTHCQ2zX+R38HVjUW7w7h3mJxOMHU2W/kLpWmHfrhxQhh8EKm+GpBNHXYvrvGeOXw8V2dPZQ50cpi7X0KR7UjdhClojbp7TpBFeifuWtrSOp6Myz8EpafKYb0f5s88xyaq/ysU/F1dMOrqUq1Kreg3YUjlvc155Z2hd41gu8ggpQeZ3dL6LY/d4JmEibwENGDpdePpNjdp35TAb1s4OATXnsgb6wyyQze5BKWoZnnnX3/gETHImudGaJcQmaGZtafN8iTo9Li2YSScA4aIinmUfsg6Kg4IUoP04kMx14TQviGbQJ5XAOfJyV46HMkEy6upErPCZqY263UTPzdaj0EXAARz0oq0YVioribtpjDCFFX9tNPxX5bv541wkZacLTTnXtb/icKgOrYUcfPLR+WouCeJhVFkSn4EnQzqMHA+hANNHvMCb95RMjG8uc/1ojhqfb
Maintainers:
xrelkd: api-linter, api-linter, api-linter, api-linter