Skip to content

Instantly share code, notes, and snippets.

View zxdong262's full-sized avatar

ZHAO Xudong zxdong262

View GitHub Profile
@tylerlong
tylerlong / README.md
Last active January 19, 2022 16:05
Why is SubX more developer-friendly than Redux & MobX?

Why is SubX more developer-friendly than Redux & MobX?

First of all, what is SubX?

SubX, Subject X, Reactive Subject. Pronunciation: [Sub X]

SubX is next generation state container. It could replace Redux and MobX in our React apps.

Features of SubX

@alexislefebvre
alexislefebvre / .travis.yml
Last active February 2, 2021 05:10
Skip builds on Travis CI with "[skip travis]"
sudo: false
language: php
git:
depth: 5
php:
- 7.0
@nrollr
nrollr / nginx.conf
Last active June 17, 2025 07:18
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@JoeKeikun
JoeKeikun / input_cursor_color
Last active June 7, 2022 12:08
How to change <input> input cursor color by css (webkit)
When I developed an app for ios by phonegap, I had a trouble in changing the <input> input cursor color.
but now, there is a solution for it:
---------------
<style>
input {
color: rgb(60, 0, 248); /* change [input cursor color] by this*/
text-shadow: 0px 0px 0px #D60B0B; /* change [input font] by this*/
-webkit-text-fill-color: transparent;