All of the scripts for contracts in Bitburner.
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/bash | |
# sshws.sh - Bypass SSH protocol via WebSocket traffics | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/6f98d8c5f2d1850b91fbddb8ebf1ef23 | |
# Client: | |
# ssh -o ProxyCommand="wstunnel client -L stdio://%h:%p ws://example.com:2530" 127.0.0.1 | |
WSTUNNEL_DOWNLOAD="https://github.com/erebe/wstunnel/releases/download/v9.6.1/wstunnel_9.6.1_linux_amd64.tar.gz" | |
WSTUNNEL_TMP_PATH_PREFIX="/tmp/wstunnel" |
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
// ==UserScript== | |
// @name YouTube Commenter Names | |
// @version 1.6.7 | |
// @description Make YouTube display the names of commenters instead of their handles. | |
// @author Lumynous | |
// @license MIT | |
// @match https://www.youtube.com/* | |
// @match https://studio.youtube.com/* | |
// @noframes | |
// @downloadURL https://gist.github.com/lumynou5/74bcbab54cd9d8fcd3c873fffbac5d3d/raw/youtube-commenter-names.user.js |
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
@echo off | |
:: ------------------------------------------------------------------------------------------------------------ | |
:: Clean Up ASUS All | |
:: ------------------------------------------------------------------------------------------------------------ | |
:: The tool helps to clean up all ASUS software from system | |
:: ------------------------------------------------------------------------------------------------------------ | |
:: Before running the tools, | |
:: 1. Complete backup your system. | |
:: 2. Disable ASUS Apps from BIOS (MyASUS and Armoury) | |
:: 3. Run ASUS remove tools (Armoury Crate Uninstall Tool.exe, or geek_uninstall.exe). |
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
使用方法:Ctrl + F 直接輸入題目關鍵字搜尋即可 | |
請大家留言補充更多解答 或是修正答案,感謝各位的貢獻! | |
臺灣學術倫理教育資源中心 | |
https://ethics.moe.edu.tw/exam/ | |
其他資源: |
- IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
- 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)
- https://education.github.com/pack GitHub学生包,需用教育邮箱验证。各种福利,可从DigitalOcean上手
- https://github.com/ripienaar/free-for-dev 本文尽量不与此项目重复
- https://free.zhelper.net/
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
const linkEl = document.createElement('link'); | |
linkEl.rel = 'prefetch'; | |
linkEl.href = urlWithYourPreciousData; | |
document.head.appendChild(linkEl); |
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
if ('NodeList' in window && !NodeList.prototype.forEach) { | |
console.info('polyfill for IE11'); | |
NodeList.prototype.forEach = function (callback, thisArg) { | |
thisArg = thisArg || window; | |
for (var i = 0; i < this.length; i++) { | |
callback.call(thisArg, this[i], i, this); | |
} | |
}; | |
} |
We want to upload file to a server with POST HTTP request. We will use curl functions.
// data fields for POST request
$fields = array("f1"=>"value1", "another_field2"=>"anothervalue");
// files to upload
$filenames = array("/tmp/1.jpg", "/tmp/2.png");
NewerOlder