Skip to content

Instantly share code, notes, and snippets.

View ENDsoft233's full-sized avatar
💪
Studing

Ray ENDsoft233

💪
Studing
View GitHub Profile
@ENDsoft233
ENDsoft233 / 3500.txt
Created September 20, 2021 07:19
3500 english words for chinese high middle school students
a (an) /ə, eɪ(ən)/ art. 一(个、件……)
abandon /əˈbændən/ v.抛弃,舍弃,放弃
ability /əˈbɪlɪtɪ/ n. 能力;才能
able /ˈeɪb(ə)l/ a. 能够;有能力的
abnormal /æbˈnɔːm(ə)l/ a. 反常的,变态的
aboard /əˈbɔːd/ prep. 上(船,飞机,火车,汽车等)
abolish /əˈbɔlɪʃ/ v. 废除,废止
abortion /əˈbɔːʃ(ə)n/ v. 人工流产,堕胎
about /əˈbaʊt/ ad. 大约;到处;四处prep. 关于;在各处;四处
above /əˈbʌv/ prep. 在……上面a. 上面的ad. 在……之上
@ENDsoft233
ENDsoft233 / batch to commit steam profiles comments.js
Last active February 11, 2021 02:11
Steam 个人资料批量评论
// 前往 https://steamcommunity.com/my/friends
// 按下 F12 ,复制本代码并粘贴,然后按回车,接着在网页上操作。
ToggleManageFriends();
jQuery("#manage_friends").after('<br><div class="commentthread_entry"><div class="commentthread_entry_quotebox"><textarea rows="1" class="commentthread_textarea" id="comment_textarea" placeholder="键入留言内容.." style="overflow: hidden; height: 20px;"></textarea></div><div class="commentthread_entry_submitlink" style=""><a class="btn_grey_black btn_small_thin" href="javascript:CCommentThread.FormattingHelpPopup( \'Profile\' );"><span>格式帮助</span></a> <span class="emoticon_container"><span class="emoticon_button small" id="emoticonbtn"></span></span><span class="btn_green_white_innerfade btn_small" id="comment_submit"><span>开始留言</span></span></div></div><div id="log"><span id="log_head"></span><span id="log_body"></span></div>');
new CEmoticonPopup($J('#emoticonbtn'), $J('#commentthread_Profile_0_textarea'));
jQuery("#comment_submit").click(function () {
const total = jQuery(".selected").length;
const msg =
@ENDsoft233
ENDsoft233 / Get Bing Pic.php
Created February 7, 2021 12:04
return the latest bing pic
<?php
function getBingPic(){
$res = json_decode(file_get_contents("https://bing.com/HPImageArchive.aspx?format=js&idx=0&n=1"),true);
return $res["images"][0]["url"];
}
@ENDsoft233
ENDsoft233 / Get Bing Pic.js
Last active February 7, 2021 11:34
jump to the latest bing pic url
const express = require('express')
const app = express()
const bodyP = require('body-parser')
const axios = require('axios')
app.use(bodyP.json())
app.get('/', async (req, res) => {
// 直接读主页 let r = await axios({method: 'get',url: 'https://cn.bing.com/'});
//'https://cn.bing.com' + r.data.substring(r.data.indexOf(";background-image:url(/th?id=")+22,r.data.indexOf("); }.hp_sw_logo{float"))