home page
Message Board
About us
Friendly Links
Search
one
Using idle mobile phones to build a local WEB environment+ngrok intranet penetration to achieve external network access
48563 Reading
two
Xiaomi 8 installs Google Play service suite
31582 Reading
three
The single player landlords' non networked green version is suitable for the elderly
24355 Reading
four
Chinese and English names of 224 countries in the world
21894 Reading
five
Emlog, wordpress, typecho articles, whether Baidu has included detection codes
16797 Reading
Default classification
Source code tutorial
Life essay
Code Notes
Sign in
Search
Tag Search
SSL
vps
CentOS
AppNode
Intranet penetration
Node.js
Hairpin
GitHub
python
Google Voice
Local environment
Linux panel
Google Play
MarkDown
Vue
yarn
Small shop
Applet
Remote Desktop
frp
www.9ywk.com
Accumulated writing
seventy-four
Articles
Accumulated receipt
sixty-four
Comments
home page
column
Default classification
Source code tutorial
Life essay
Code Notes
page
Message Board
About us
Friendly Links
Search to
sixty-two
Article and
Results for
2020-10-30
Simple and beautiful directory program: files.photo.gallery
Profile files.photo.gallery is a simple and beautiful directory program, which can be used by uploading index.php directly.
Support online preview of music, pictures, videos, text codes, etc.
It is suitable for picture display, directory index and other needs.
Official website:
https://files.photo.gallery/
demonstration:
https://files.photo.gallery/demo/
Download and install
https://cdn.jsdelivr.net/npm/files.photo.gallery/index.php
Yes, just one index.phpPHP extension installation: GD, mbstring, fileinfo, exif (GD and mbstring extensions are installed by default in pagoda). Some configurations are about 18 lines: root directory configuration 'root'=>'',//leave blank by default//root directory configuration
'root' => '', // root path relative to script.
'start_
path' => false, // start path relative to script.
If empty, root is start path About 21 lines: authorized login//authorized login
'username' => '',
'password'=>'',//fill in the parameter to enable, leave blank to close about 62 lines: exclude files or directories//exclude files or directories
'files_
exclude' => '', // '/\.
(png | jpe? G) $/i '/explanation: exclude the suffix png.jpeg.jpg
'dirs_
Exclude '=>' ',//'//MI8 | /doc | /222 (/| $)/i '/Release: exclude directory MI8.doc.222
'allow_
Symlinks'=>true,//allow symlinks For more settings, see the official website description:
https://forum.photo.gallery
As for authorized open source source code, the function is completely free and unlimited.
An authorization window will pop up every time you open it without authorization. Of course, you can also support the author to purchase genuine copies if you have the ability.
Share a happy link:
https://cdn.jsdelivr.net/gh/yyingc/js
@V2.0/files. jsindex.php Localize js at the bottom to<script src="<? Php echo config:: $assets?>js/files. js"></script>
October 30, 2020
3565 Reading
3 Comments
0 likes
2020-10-29
Mastercard wood physical card application
About TreeCard The green search engine Ecosia, which recently planted 100 million trees, announced today that it has purchased 20% of the shares of TreeCard, a wooden debit card.
Ecosia said that 80% of the profits earned by TreeCard would be reinvested in Ecosia's global afforestation business.
According to Ecosia, every TreeCard is unique because it is made of FSC cherry wood that can be purchased sustainably.
If you think it's strange that a tree planting company uses wood to make cards, but actually a tree can make 300000 cards.
By using wood, TreeCard and Ecosia do not need to use plastic because it takes a long time for plastic to decompose.
Users do not need to pay any cost to use this debit card. On the contrary, TreeCard makes money from handling fees, which are the fees that businesses must pay in each transaction.
Ecosia will spend 80% of the commission income on planting trees. At present, it is preliminarily estimated that customers will spend 60 dollars to fund a new tree.
TreeCard account is a full function deposit account, which can accept direct deposit and ACH transfer.
The debit card is connected to the MasterCard network and linked to the user's account, which can be managed through the application on the smart phone.
The deposit will be insured by TreeCard's bank partners for up to $250000. They can also link to Apple Pay, Google Pay and Samsung Pay to complete the payment. That is, if you don't spend much in the store, you can also use this card to shop online.
The registration of TreeCard is now open. Ecosia said in the announcement that if you register before December 1, you can ensure that the first batch will be obtained.
Application link
https://vrlps.co/PID6kFc/cp
The link has my promotion. If you don't like it, you can delete the promotion code behind the link, but if you can follow my link, you can try to follow it, so that I can receive the card more quickly, which has no impact on your application requirements and precautions. Except when you are 18 years old, there seems to be no big requirements. There are few materials to fill in,
And card receiving address. If you don't know how to fill in the receiving address, you can translate your receiving address into English. Anyway, this is what I did. Then there is the date of birth. The format is month/day/year. For example, if I was born on May 20, 1992, the format is 05/20/1992 Reference: Good man D
arkhttps://ii.do/20.html
October 29, 2020
1734 Reading
0 Comments
0 likes
2020-10-14
Self built remote desktop through frp
The Windows computer at home cannot be managed directly through the remote desktop when people are outside because there is no independent IP.
Through the use of frp and a vps with public network ip, intranet penetration can be achieved, and computers can be managed directly anywhere.
For server side configuration, click here to download the latest frp software from github. Pay attention to selecting hardware and software versions that conform to vps.
Modify the configuration file in frps.ini as follows: (7000 is the communication port between the server and client of frp) [common]
bind_
Port=7000 Use the following command to run the frp server in the background. Pay attention to the file path (for example, put the frps in the/home/frp/folder): nohup/home/frp/frps - c/home/frp/frps. ini.
Modify the configuration file in frpc.ini as follows: [common]
server_
Addr=ip # This is the ip of vps
server_
Port=7000 # is consistent with the server
[rdp]
type = tcp
local_
ip = 127.0.0.1
local_
port = 3389
remote_
Port=5200 In the cmd or powershell, first cd to the folder of the frp, and then run the following command: frpc - c frpc.ini Connect to the remote desktop Use the ip and port 5200 of vps to achieve intranet penetration and remote desktop connection.
The effect of remote desktop connection here depends on the network quality of vps, local and remote computers.
The frp client starts automatically when it is powered on (provided by the lob of the hostloc) 1. Create a script with the vbs suffix (change it according to the storage directory of frpc) set ws=WScript. CreateObject ("WScript. Shell")
Ws. Run "c: frp frpc.exe - c c: frp frpc.ini", 02. Put this script in C: ProgramData Microsoft Windows Start Menu Programs StartUp to add boot up.
If the above directory cannot be found, you can find it through "Run" – "shell: startup".
This article is from:
https://pa.ci/77.html
October 14, 2020
2193 Reading
4 Comments
0 likes
2020-10-02
MinDoc document management system for pagoda installation
MinDoc is looking for an open source document management system recently. In my impression, I built a document system once in 2016, but I can't remember the name. I'm still impressed with the UI. After repeated searches, I finally found the SmartWiki document system on Google. Yes, it has been used for 16 years, but it is no longer maintained
MinDoc is a simple and easy-to-use document management system developed for IT teams.
His predecessor was the SmartWiki document system I was looking for.
Demo site:
http://doc.iminho.me
Official documents:
https://www.iminho.me/wiki/docs/mindoc/mindoc-summary.md
Default user name and password: admin/123456 A brief installation of MinDoc requires a Golang environment, and most people may not know about Golang.
We will use the compiled version to install 1
Create website (MySQL database code utf8mb4), compiled source code
https://github.com/lifei6671/mindoc/releases2
.
Pagoda release 8181 port 3
Add environment variables, open the/etc/profile file, and add export PATH=$PATH:/www/wwwroot/domain. com/lib/time/zoneinfo. zip 4 at the bottom. After adding, save and exit, and then execute the following command to make it effective source/etc/profile5
If there is no conf/app.conf file in the configuration database directory, rename app.conf.example to app.conf # MySQL and sqlite3 databases are supported. If sqlite3 databases are supported, db_
Database identifies the physical directory of the database
db_
adapter="${MINDOC_DB_ADAPTER||MySQL}"
db_
host="${MINDOC_DB_HOST||127.0.0.1}"
db_
port="${MINDOC_DB_PORT||3306}"
db_
database="${MINDOC_DB_DATABASE||name}"
db_
username="${MINDOC_DB_USERNAME||name}"
db_
Password="${MINDOC_DB_PASSWORD | | pwd}" Initialize the database cd/www/wwwroot/domain.com
./mindoc_
linux_
Amd64 install prompts Install Successfully!
It indicates that the installation is completed.
Start program # Modify executable permissions
chmod +x mindoc_
linux_
amd64
#Start program
./mindoc_
linux_
The background running of amd64 can exit the window method nohup/
mindoc_
linux_
Amd64 can now be accessed through IP: 8181. It is troublesome to set the reverse IP: port access.
Panel - Reverse proxy installation service/
mindoc_
linux_
Amd64 service install startup+startup automatically systemctl start mindocd
Systemctl enable mindocd management command # Database initialization command: install
./mindoc_
linux_
amd64 install
#Version view: version
./mindoc_
linux_
amd64 version
#Install the service (a service with mindocd 'as the service name will be created)
./mindoc_
linux_
amd64 service install
#Uninstall Service
./mindoc_
linux_
amd64 service remove
#Modify account password
./mindoc_
linux_
Amd64 password - account admin - password 123456 This article refers to:
https://www.wogaosuni.com/thread-583.htm
October 2, 2020
1828 Reading
1 Comments
0 likes
2020-09-16
Discovery Navigation Deployment Tutorial - GitHub Page
Recently, we found a good website navigation in GitHub, which is pure static, automatic deployment, and coexistence of beauty and simplicity. It is no longer the era of killing matt. More information can be found on GitHub. Here we record the detailed deployment process.
Nav.ka.mk - I built this
https://github.com/xjh22222228/nav
How to deploy?
It is recommended that you use the github pages service, so that you do not need to provide a server, and the project has its own automated deployment service.
1: First, one copy of Fork is in its own warehouse. Second, apply for Tokens. Check all the Tokens. Otherwise, you have no permission.
https://github.com/settings/tokens
3: [Setting] – [Secrets] - [New secret] Fill in the token just applied for, and the name must be filled in TOKEN in capital four: [Actions] – click [I understand my workflows, go ahead and enable them] to start!
GitHub Page In the settings, find GitHub Page, select the gh pages branch · folder root and save it. Now you can see the access address.
Later, it will be prompted that the domain name nav.xiejiahe.com is used, which is the author's. If you don't need to bind the domain name, you can delete the CNAME in the gh pages branch or change it to your own.
Submit Commit to edit the 'unimportant' file under the main branch master. For example, saving README.md can trigger Action!
The Action completes the construction and is now accessible.
Modify the description navigation data directory dataconfig/index.ts configuration file. The address in the 23 lines is the Git address in the upper right corner. It is recommended to keep the footersrc/view/app.component.html bottom footersrc/view/app.component.html top link on the mobile phone, logo address src/index.html website name, statistical code assets/icon/logo.pnglogo map. Node.js needs to be installed for local construction,
Please refer to this article to record Node.js/vue/yarn installation # Download source code
#Enter directory
C:\user>cd *\nav-master\nav-master
#Installation dependency
npm install
#Compile
npm run build
#Start
The prompt of npm start completion is opened,
http://localhost:port
Port
September 16, 2020
1741 Reading
0 Comments
0 likes
2020-08-31
AppNode builds a unique digital card
The Github document does not include the installation tutorial of appnode. I wrote an article to record that it is similar to the pagoda installation, with little difference.
Thank the author for the open source project:
https://github.com/assimon/dujiaoka
Create a website>Download the source code mandatory environment PHP+MySQL+Nginx+Redis+Supervisor Install the php extension fileinfo (installed by default) redis opcache (optional installation) Delete Disable php functions PHP security>Cancel anti cross site proc_
Open Delete apnnode is not disabled by default, if any, delete putenv and pcntl together_
signal,pcntl_
Alarm Other configurations Configure SSL running directory>public pseudo static try_
files $uri $uri/ /index.php$is_
args$query_
string;
Import the sql file. env.example and change it to. envcopy. env.example.env Open. env Configuration Database and other components Management php default command line>corresponding php version[
root@name
www]# php artisan dujiao install
=====Single angle digital card installation environment detection starts=====
Importing database
Import succeeded
Supervisor process hosting PHP path+website path+queue: work/opt/appnode/appnode php72/root/usr/bin/php/data/* */sites/domain. com/www/artisan queue: work precautions Supervisor processes mail services here. If you change the. env mail configuration, you need to restart the Supervisor's process service, or it will not take effect!
After the official launch, you must configure the APP in. env_
DEBUG is set to false, and the debug mode is turned off!
Finally, thank @ Jiawei for his guidance
August 31, 2020
2869 Reading
1 Comments
0 likes
2020-08-22
Free WeChat Store - applet
WeChat small store is a set of selling small programs launched by the small program team free of development fees. Users can enter the small store in the current scene of the small program, such as taskbar, conversation box, code scanning, search, sharing, etc.
Businesses that already have public accounts can embed their applets into public account articles, and at the same time, they can also promote them in combination with enterprise WeChat or through advertising.
In the future, small stores will also be more closely integrated with the WeChat ecological scene to provide businesses with more ways to connect users.
Apply for the entrance WeChat search the "small store assistant" applet, click on the free store application conditions to support individuals. The small stores for self-employed and enterprise WeChat payment are divided into more than 500 commodity categories, with a total of more than 2000 categories, including: pet life, kitchenware, household appliances, mobile communication, digital, computer&office, clothing and underwear, shoes and boots, personal care, mother and baby, beauty and skin care
Home textile, household daily use, furniture, household cleaning&paper products, home decoration building materials, industrial products, automotive supplies, toy musical instruments, outdoor sports, luggage and leather goods, alcohol, food and beverage, clocks, agricultural gardening, fresh, second-hand, life services, books, artwork, education and training.
Please click the link to view the detailed category opening scope of non individual subjects Free entry and free platform services for individual subject store categories, and the individual settlement rate is 0.6%
August 22, 2020
1715 Reading
1 Comments
0 likes
2020-08-20
Xiaomi's 10th Anniversary Thanksgiving Season, T-shirt with 1 yuan collar
On November 11, 2020, the activity continued, and the mobile conference hall received 98 yuan of coupons.
In the 10th Anniversary Thanksgiving Season of Xiaomi, the T-shirt will be paid for at 1 yuan. Time: 10:00-22:00 every day, every hour on the hour!
The voucher is valid for 24 hours. Place an order as soon as you get the voucher.
Step 1. Download/open the Xiaomi Mall APP. 2. After logging in, click the home page of the tenth anniversary Thanksgiving season 3.10:00-22:00 to rush to buy the order. Search for the app: T-shirt
Juneng 99 and 9.9 items can be purchased and paid for T-shirts
August 20, 2020
1692 Reading
0 Comments
0 likes
one
two
three
...
eight
//