docker run -t -i \
-p 10001:10001 \
-p 12001:12001 \
-p 8000:8000 \
-p 8080:8080 \
-p 8082:8082 \
-v /srv/seafile:/opt/seafile \
jenserat/seafile -- /bin/bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1, shrink-to-fit=no" | |
/> | |
<meta name="theme-color" content="#000000" /> | |
<!-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build environment | |
FROM node as builder | |
ARG REACT_APP_SHA | |
ENV REACT_APP_SHA=${REACT_APP_SHA} | |
RUN mkdir /usr/src/app | |
WORKDIR /usr/src/app | |
ENV PATH /usr/src/app/node_modules/.bin:$PATH | |
COPY package.json /usr/src/app/package.json | |
RUN npm install -g -s --no-progress yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
autoindex on; | |
root /usr/share/nginx/html; | |
index index.html; | |
try_files $uri $uri/ /index.html; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom"; | |
function createUID() { | |
// Char codes for 0123456789ABCDEF | |
var ALPHA_CHAR_CODES = [ | |
48, | |
49, | |
50, | |
51, |
参考地址:https://docs.gitlab.com/runner/install/linux-repository.html
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
# 安装
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "中国", | |
"children": [ | |
{ | |
"name": "北京", | |
"lat": "116.405285", | |
"lng": "39.904989", | |
"children": [ | |
{ | |
"name": "北京市", |
export http_proxy="10.82.14.52:10010"
export no_proxy="localhost,127.0.0.1,10.82..,bigdata"
unset http_proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Public Sub AllInternalPasswords() | |
' Breaks worksheet and workbook structure passwords. Bob McCormick | |
' probably originator of base code algorithm modified for coverage | |
' of workbook structure / windows passwords and for multiple passwords | |
' | |
' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1) | |
' Modified 2003-Apr-04 by JEM: All msgs to constants, and | |
' eliminate one Exit Sub (Version 1.1.1) | |
' Reveals hashed passwords NOT original passwords |
NewerOlder