国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
| #!/bin/bash | |
| pulls="repo1 repo2 repo3" | |
| fetchs="repo4 repo5" | |
| branch="yourBranch" | |
| remote="yourRemoteGitName" | |
| for i in $pulls | |
| do | |
| echo ">>>>>>>>$i" | |
| cd $i | |
| git remote -v |
| from base64 import b64encode, b64decode | |
| from hashlib import md5 | |
| from phpserialize import namespace, serialize | |
| from requests import session | |
| ses = session() | |
| ''' | |
| Arbitrary file write on think php 5.0.24 | |
| implemented by Frank |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
If your Mac is out-of-order or you otherwise cannot download macOS from the App Store, you can still create a bootable OS X recovery USB, and you can use that to create an Installer USB.
The downloads used in this process are legal and freely avaliable - including disk images directly from Apple's IT support pages, and open source utilities for extracting and converting pkg, dmg, and HFS+.
| #!/usr/bin/bash | |
| # 为 win 设置 wsl host | |
| # 将文件copy到/etc/profile.d/下即可实现登录自动加载 | |
| # win hosts 文件路径 | |
| win_hosts_path="/mnt/c/Windows/System32/drivers/etc/hosts" | |
| # 为 wsl2 设置的域名 | |
| wsl_domain="wsl.test" | |
| # 获取 wsl2 的 ip | |
| wsl_ip=$(ifconfig eth0 | grep -w inet | awk '{print $2}') | |
| # 判断是否已存在 wsl2 的域名,如果存在则修改,否则追加 |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| use Illuminate\Routing\ResourceRegistrar; | |
| use Illuminate\Support\Str; | |
| class AppResourceRegistrar extends ResourceRegistrar | |
| { | |
| // add data to the array | |
| /** | |
| * The default actions for a resourceful controller. | |
| * |
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
(android studio gradle 插件无法下载)[https://blog.csdn.net/nicepainkiller/article/details/85003106]