Skip to content

Instantly share code, notes, and snippets.

@cheton
cheton / theme-preset.js
Last active December 27, 2019 10:42
(Draft) Trend Micro Frontend Theme
const breakpoints = [
'320px',
'640px',
'1024px',
'1280px',
'1680px',
];
// @media screen and (min-width: 320px)
// @media screen and (min-width: 640px)
// @media screen and (min-width: 1024px)
@remarkablemark
remarkablemark / Dockerfile
Last active March 18, 2025 01:08
Install node and npm with nvm using Docker.
# set the base image to Debian
# https://hub.docker.com/_/debian/
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \
@lopspower
lopspower / README.md
Last active April 29, 2025 07:43
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store