This file contains hidden or 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 'package:flutter/material.dart'; | |
import 'package:gistaff/page/song_list.dart'; | |
class StartPage extends StatefulWidget { | |
final List<PageConfig> pages; | |
const StartPage({Key? key, required this.pages}) : super(key: key); | |
@override | |
_StartPageState createState() => _StartPageState(); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
<?php | |
/** | |
* install timezonedb | |
* | |
* 1. apt-get install php7.0-dev | |
* 2. pecl install timezonedb | |
* 3. You should add "extension=timezonedb.so" to php.ini | |
* | |
*/ |
This file contains hidden or 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
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> |
This file contains hidden or 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
#!/bin/bash | |
#Shell Command For Backup MySQL Database Everyday Automatically By Crontab | |
USER=root | |
PASSWORD="password" | |
HOSTNAME="10.70.49.47" | |
KEEPDATE="15" | |
BACKUP_DIR=/root/dbbackup/db/ #备份文件存储路径 | |
LOGFILE=${BACKUP_DIR}test.log #日记文件路径 |
This file contains hidden or 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
#!/bin/bash | |
for file in * | |
do | |
if test -f $file | |
then | |
/opt/couchbase/bin/cbdocloader -u admin -p 123456 -n 127.0.0.1:8091 -b G | |
center -s 1000 $file | |
rm -rf $file | |
fi | |
done |
This file contains hidden or 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
location ~* ^/api/base { | |
default_type 'application/json'; | |
content_by_lua_file lua/api_base.lua; | |
break; | |
} | |
location /real/api/base { | |
proxy_pass http://127.0.0.1:81/api/base; | |
} | |
This file contains hidden or 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
-- nginx lua 模块缓存 | |
cjson = require "cjson" | |
redis = require "resty.redis" | |
if ngx.req.get_headers()['PARAMS'] == nil then | |
ngx.say('params error') | |
return | |
end |
This file contains hidden or 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
#!/bin/sh | |
apt-get install -y libreadline-dev libncurses5-dev libpcre3-dev \ | |
libssl-dev perl make build-essential | |
# Script to compile nginx on ubuntu with lua support. | |
NGX_VERSION='1.8.0' | |
LUAJIT_VERSION='2.0.4' | |
LUAJIT_MAJOR_VERSION='2.0' |