Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Step 16/17 : RUN DATABASE_URL=postgresql://postgres@db/scinote_production PAPERCLIP_HASH_SECRET=dummy SECRET_KEY_BASE=dummy DEFACE_ENABLED=true bash -c "rake assets:precompile && rake deface:precompile"
---> Running in 4d852c8d99e2
DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <top (required)> at /usr/src/app/config/application.rb:7)
Not connected to database, skipping additional Azure AD configuration
An enum element in Repository uses the prefix 'not_'. This will cause a conflict with auto generated negative scopes.
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: Invalid bin field for "compression-webpack-plugin".
info [email protected]: The platform "linux" is incompatible with this module.
@syanle
syanle / ss.sh
Created December 22, 2020 05:24
shadowsocks+kcptun
#!/bin/bash
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qy shadowsocks-libev
cat>/etc/systemd/system/shadowsocks-server.service<<EOF
[Unit]
Description=Shadowsocks Server
wdata = read_excel("w.xlsx")
fit <- hclust(dist(model$x[,1:3]), method="complete") # 1:3 -> based on 3 components
groups <- cutree(fit, k=5)
library(rgl)
plotPCA <- function(x, nGroup) {
n <- ncol(x)
if(!(n %in% c(2,3))) { # check if 2d or 3d
stop("x must have either 2 or 3 columns")
}
def valid_file(param):
base, ext = os.path.splitext(param)
if ext.lower() not in ('.tsv', '.tab'):
raise argparse.ArgumentTypeError('File must have a tsv or tab extension')
return param
{
"server":"::",
"server_ipv6":"::",
"port_password":{
"968":"interesting!",
"3051":"jiah0me1!",
"5011":"qinshi",
"3958":"qinshi~",
"5948":"qinshi!",
"6305":"qinshi?",

[TOC]

#《森林资源经营与管理》课程知识大纲

##第1章 绪论

###一、基本概念

  • 森林资源经营管理 森林资源经营管理(FRM,Forest resource management),也可称为森林经理(FM,Forest management),它是为达到森林经营管理的目的,以森林可持续经营为原则,对森林资源进行区划、调查、分析、评价、规划、决策、信息管理等一系列工作的总称。
  • 森林永续利用
@syanle
syanle / CalcArea.py
Created November 14, 2015 03:40
Arcgis_mianji
"""
Tool Name: Calculate Areas
Source Name: CalculateAreas.py
Version: ArcGIS 10.1
Author: ESRI
This script will add or overwrite a field to the input
feature class and populate that field with feature areas.
"""
@syanle
syanle / gist:548a6132e9153a2e6ebd
Last active October 3, 2015 06:57
Reversed nginx proxy
server {
listen 80;
server_name bossye.ml;
access_log off;
resolver 8.8.8.8;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {