Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Z-Index Example</title>
<style>
html, body { background-color: #00787F; }
.container {
position: relative;
@sebjvidal
sebjvidal / ViewController.swift
Created April 30, 2024 15:50
Apple Journal Calendar UI Demo
//
// ViewController.swift
// Journal-Calendar-Demo
//
// Created by Seb Vidal on 30/04/2024.
//
import UIKit
class ViewController: UIViewController {
@Klerith
Klerith / index.ts
Last active April 30, 2024 18:27
Vuex + TypeScript - Store Structure Strongly Typed
import { createStore } from 'vuex';
// My custom modules
import exampleModule from './module-template';
import { ExampleStateInterface } from './module-template/state';
export interface StateInterface {
// Define your own store structure, using submodules if needed
// example: ExampleStateInterface;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Z-Index Example</title>
<style>
.container {
position: relative;
}
@RobChiocchio
RobChiocchio / install-flatpak-betterdiscord.sh
Last active April 30, 2024 18:23
Install BetterDiscord for the Flatpak version of Discord on Linux
#!/bin/bash
# This script installs BetterDiscord for the Flatpak version of Discord on Linux.
# Written by Rob Chiocchio on 04/30/2024
### Variables ###
# Color variables
NO_COLOR="\033[0m"
COLOR="\033[0;36m" # Cyan
# Flatpak Discord AppID and download URL for latest BetterDiscord Linux AppImage release
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Z-Index Example</title>
<style>
.container {
position: relative;
}
@cedrickchee
cedrickchee / google_colab_t4_gpu.md
Last active April 30, 2024 18:22
NVIDIA Tesla T4 GPU available in Google Colab

nvidia-smi and CPU check

nvidia-smi and CPU check

Show info about the deep learning software stack

fastai lib show_install

@brooksvb
brooksvb / Uptime-Kuma-Status-Page-Dark-Mode-High-Density-Tweaks.css
Last active April 30, 2024 18:22
These CSS tweaks are for higher density display for Uptime Kuma status pages in dark mode.
:root {
--min-item-width: 28ch;
--max-item-width: .5fr;
--grid-spacing: .25rem;
--item-padding: .25rem;
}
/* Let items expand on small screens */
@media (max-width: 600px) {
:root {
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active April 30, 2024 18:21
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Z-Index Example</title>
<style>
.container {
position: relative;
}