Skip to content

Instantly share code, notes, and snippets.

View ety001's full-sized avatar
🎯
Focusing

ety001 ety001

🎯
Focusing
View GitHub Profile
@mcfarhat
mcfarhat / create_and_claim_hf20.html
Last active April 25, 2021 08:32
Script which enables using the new HF20 claim and create discounted accounts operations available to any user with enough RCs
<html>
<head>
<script src="https://unpkg.com/[email protected]/dist/dsteem.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
//hook for action button
$('#create_claim').click(function(){
claimCreate();
@ety001
ety001 / docker_lnmp.sh
Last active November 10, 2018 13:43
部署lnmp docker环境常用命令
mkdir -p /data/wwwroot
mkdir -p /data/logs
mkdir -p /data/mysql
docker network create --gateway "172.20.0.1" --subnet "172.20.0.0/16" lnmp
# nginx
docker run -itd --name nginx nginx
docker cp nginx:/etc/nginx /etc
{
"limits": {
"blacklist_accounts": [
"non-steemit"
]
},
"upstreams": [
{
"name": "steemd",
"translate_to_appbase": true,
{
"limits": {
"blacklist_accounts": [
"non-steemit"
]
},
"upstreams": [
{
"name": "steemd",
"translate_to_appbase": true,
* * * * * docker ps -a -q -f status=exited | xargs --no-run-if-empty docker rm -v
* * * * * docker images -f "dangling=true" -q | xargs --no-run-if-empty docker rmi
* * * * * docker volume ls -qf dangling=true | xargs --no-run-if-empty docker volume rm
@h1code2
h1code2 / openwrt-lede.md
Last active June 7, 2024 14:03
[frp设置自动自动] 不同平台设置frp自动启动 #frp #openwrt

给你的OpenWRT/LEDE 添加frp开机服务

添加PROC服务文件:

vi /etc/init.d/frpc

配置文件内容:

#!/bin/sh /etc/rc.common