Skip to content

Instantly share code, notes, and snippets.

🐱
Give a star for the project of short-night please...

花生PeA pea3nut

🐱
Give a star for the project of short-night please...
Block or report user

Report or block pea3nut

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pea3nut
pea3nut / change.diff
Created Sep 22, 2019
submit for 150R
View change.diff
diff --git "a/../../works/\345\206\231\347\273\231\345\211\215\347\253\257\347\232\204Docker\345\256\236\346\210\230\346\225\231\347\250\213.md" "b/../../works/\344\273\216\345\260\217\347\231\275\345\210\260\345\205\250\347\253\231 Docker \345\214\226.md"
index ae268af..ff8ff22 100644
--- "a/../../works/\345\206\231\347\273\231\345\211\215\347\253\257\347\232\204Docker\345\256\236\346\210\230\346\225\231\347\250\213.md"
+++ "b/../../works/\344\273\216\345\260\217\347\231\275\345\210\260\345\205\250\347\253\231 Docker \345\214\226.md"
@@ -1,17 +1,15 @@
-# 写给前端的Docker实战教程
+# 从小白到全站 Docker 化
-> 全文超过一万字,阅读此文章,你可能需要一杯咖啡☕️~
->
View directive-based.js
(async function(){
const pxer = new PxerEngine();
pxer.exec('fetch_bookmarks', {id:2888, r18:false}, function(worksList){
// 被调用多次
});
}());
@pea3nut
pea3nut / 补过的番 & 排名.md
Last active Feb 8, 2019
补过的番 & 排名
View 补过的番 & 排名.md

按花生心中排名排序

纯主观排序。

  1. 我的青春恋爱物语果然有问题
  2. Angel Beats
  3. 吹响!上低音号
  4. 比宇宙更远的地方
  5. 电波女与青春男
  6. GJ部
@pea3nut
pea3nut / tsconfig.json
Last active Feb 12, 2018
tsconfig.json
View tsconfig.json
{
"compilerOptions": {
"baseUrl":"./",
"module": "es2015",
"moduleResolution": "node",
"noUnusedLocals":true,
"noUnusedParameters":true,
"pretty":true,
"sourceMap":true,
"strict": true
@pea3nut
pea3nut / u-guardian.bat
Last active Dec 25, 2017
virus defense for USB flash disk
View u-guardian.bat
@echo off
for /f "delims=" %%i in ('dir /ad/b "%dir%"') do (
attrib +S +H %%i
)
type nul> _
type nul> WindowsServices
mkdir autorun.inf
@pea3nut
pea3nut / CETracking.bg.js
Created Sep 22, 2017
mozilla-online coba ce-tracking server
View CETracking.bg.js
class CETracking{
/**
* @param {Array} appIdList - an array of be allowed extension ID
* @param {*|Function} allow - response value, if is a function, argument passed same as browser.runtime.onMessageExternal.addListener
* */
constructor(appIdList,allow=true){
if(CETracking.used){
console.warn('you has been instantiation CETracking.')
};
CETracking.used =true;
@pea3nut
pea3nut / 360-star-2017-pea3nut.md
Last active Apr 28, 2019
360前端星计划体验报告
View 360-star-2017-pea3nut.md

360前端星计划体验报告

笔者是某普通高校大三学生,在2017年有幸参与了360前端星计划。

观察了一下,貌似网上没有参与后体验什么的可以供其他人参考,所以开坑写一篇。

无利益相关,笔者最后没有拿到360的Offer,本篇文章就是简单的不黑不吹的说下客观情况。

由于时间有些久,记忆可能会有些偏差。

@pea3nut
pea3nut / PxerEvent.class.js
Last active Sep 20, 2016
自定义的事件接口,作为其他类的父类使用,API接口与jQ很像
View PxerEvent.class.js
class PxerEvent{
constructor(eventList=[]){
this.eventList =eventList;
this._event ={};
this._oneEvent ={};
return new Proxy(this ,{
get(target ,property){
You can’t perform that action at this time.