Skip to content

Instantly share code, notes, and snippets.

View phpgao's full-sized avatar
🎯
Focusing

endoffight phpgao

🎯
Focusing
View GitHub Profile
@mcxiaoke
mcxiaoke / miui-system-apps.md
Created February 27, 2022 08:17
Xiaomi MIUI 13 System Apps (20220227)

MIUI 13 System Apps

标记说明

  • ★ 不能删,MIUI系统核心组件
  • ◉ 不能删,Android系统核心组件

Android系统组件

标记 应用 包名
@StevenACoffman
StevenACoffman / Docker Best Practices.md
Last active April 29, 2024 08:36
Docker Best Practices

Mistakes to Avoid: Docker Antipatterns

Whichever route you take to implementing containers, you’ll want to steer clear of common pitfalls that can undermine the efficiency of your Docker stack.

Don’t run too many processes inside a single container

The beauty of containers—and an advantage of containers over virtual machines—is that it is easy to make multiple containers interact with one another in order to compose a complete application. There is no need to run a full application inside a single container. Instead, break your application down as much as possible into discrete services, and distribute services across multiple containers. This maximizes flexibility and reliability.

Don’t install operating systems inside Docker containers

It is possible to install a complete Linux operating system inside a container. In most cases, however, this is not necessary. If your goal is to host just a single application or part of an application in the container, you need to install only the essential

@zhengkai
zhengkai / ssh-tutorial.md
Last active October 31, 2023 10:10
把 SSH 用起来

把 SSH 用起来

by 郑凯 zhengkai@gmail.com
2014.10.23

0. Chrome 插件

Secure Shell
by Google

@17
17 / init.bat
Last active August 23, 2022 03:36
Cmder explorer context menu integration
@echo off
SET CMDER_ROOT=%~dp0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Cmder" /ve /d "Cmder Here" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Cmder" /v "Icon" /d "\"%CMDER_ROOT%cmder.exe\"" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Cmder" /v "Extended" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Cmder\command" /ve /d "\"%CMDER_ROOT%cmder.exe\" \"%%V\"" /f
pause
@jamiesun
jamiesun / daemon.py
Created July 12, 2012 10:20
一个python守护进程的例子
#! /usr/bin/env python2.7
#encoding:utf-8
#@description:一个python守护进程的例子
#@tags:python,daemon
import sys
import os
import time
import atexit
from signal import SIGTERM