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
/** | |
* 大屏幕值守太蛋疼了 | |
*/ | |
setTimeout(function () { | |
console.log('自动发微博的小苦逼...'); | |
var elems = document.getElementById('box_audit'); | |
if (elems) { | |
elems = elems.getElementsByTagName('a'); | |
for (var i = 0, j = elems.length; i < j; i++) { | |
var target = elems[i].onclick; |
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
## 北京 || 杭州 | |
岗位描述: | |
1.参与产品的前端开发,与后端工程师协作,高质高效完成产品的数据交互、动态信息展现; | |
2.提升产品的用户体验、前端性能以及团队的开发效率; | |
3.研究和探索创新的开发思路和前沿的前端技术,应用到团队与产品中。 | |
岗位要求: |
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
/** | |
* Simple Example For Web Page Performance | |
* | |
* @date 2018.05.19 | |
* @author soulteary | |
*/ | |
const {resolve, relative, join} = require('path'); | |
const {readdirSync, existsSync, mkdirSync} = require('fs'); | |
const {execSync} = require('child_process'); |
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
#!/bin/sh | |
# Gitea data restore script (docker) | |
# Usage: ./restore.sh gitea-dump-1617385736.zip DockerIdOrDockerName | |
BACKUP_FILE=$1 | |
CONTAINER_NAME=$2 | |
if [ -f "$BACKUP_FILE" ]; then | |
if [ ! -z "$CONTAINER_NAME" -a "$CONTAINER_NAME" != " " ]; then | |
docker cp $BACKUP_FILE $CONTAINER_NAME:/tmp |