新款的树莓派3B功能之丰富,性能之强悍,让我垂涎。考虑到家里的网件 WNDR3700v2 也服役四年有余了。还是败了一个树莓派3B回来打造成新的路由。
WARNING 本文所有指令均仅供参考,切勿无脑复制粘贴!
〇 安装系统
| WeekStr = "2,3,4,5,6"'Monday, Tuesday, Wednesday, Thursday, Friday | |
| someTime = #9:19:01 AM# | |
| NameStr = "WeChat Friend Name or WeChat Group Name" | |
| TextStr = "36.1" | |
| Function Istime(I_dayofweek,Times)'Scheduled Execution | |
| userHour=Hour(Times) | |
| userMinute=Minute(Times) | |
| userSecond=Second(Times) |
| /** | |
| * @param sel - the selector you want to wait for | |
| * @param action - the callback that will be executed when element/s matching the given selector are found, it is passed the array of found elements | |
| * @param stopLooking - if true the function will stop looking for more elements after the first match | |
| */ | |
| function waitForElems(sel, action, stopLooking) { | |
| var tick; | |
| var id = 'fke' + Math.floor(Math.random() * 12345); | |
| var type = window.MutationObserver ? 'M' : 'S'; | |
| var lastMutation = Date.now(); |
| #!/bin/bash | |
| # Creator: Phil Cook | |
| # Modified: Andy Miller | |
| # | |
| # >>> IMPORTANT: Moved to: https://github.com/rhukster/sphp.sh | |
| # >>> Kept here for legacy purposes | |
| # | |
| osx_major_version=$(sw_vers -productVersion | cut -d. -f1) | |
| osx_minor_version=$(sw_vers -productVersion | cut -d. -f2) | |
| osx_patch_version=$(sw_vers -productVersion | cut -d. -f3) |
| ----- BEGIN LICENSE ----- | |
| eldon | |
| Single User License | |
| EA7E-1122628 | |
| C0360740 20724B8A 30420C09 6D7E046F | |
| 3F5D5FBB 17EF95DA 2BA7BB27 CCB14947 | |
| 27A316BE 8BCF4BC0 252FB8FF FD97DF71 | |
| B11A1DA9 F7119CA0 31984BB9 7D71700C | |
| 2C728BF8 B952E5F5 B941FF64 6D7979DA | |
| B8EB32F8 8D415F8E F16FE657 A35381CC |
| ## Sublime Text 3 Serial key build is 3103 | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
| B085E65E 2F5F5360 8489D422 FB8FC1AA |
| #!/bin/env python | |
| #coding:utf-8 | |
| # | |
| import getopt,sys | |
| def usage(): | |
| """ | |
| The output configuration file contents. | |
新款的树莓派3B功能之丰富,性能之强悍,让我垂涎。考虑到家里的网件 WNDR3700v2 也服役四年有余了。还是败了一个树莓派3B回来打造成新的路由。
WARNING 本文所有指令均仅供参考,切勿无脑复制粘贴!
〇 安装系统
| /*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
| that detects and handles AJAXed content. | |
| Usage example: | |
| waitForKeyElements ( | |
| "div.comments" | |
| , commentCallbackFunction | |
| ); |
| # | |
| # Auth filter /etc/fail2ban/filter.d/nginx-auth.conf: | |
| # | |
| # Blocks IPs that makes too much accesses to the server | |
| # | |
| [Definition] | |
| failregex = ^<HOST> -.*"(GET|POST).*HTTP.*" | |
| ignoreregex = |
| # Define Variables + Casper Initialization | |
| fakeReferer = 'https://google.com/' | |
| targetUrl = 'https://facebook.com/' | |
| casper = require('casper').create() | |
| # Fake the referer | |
| casper.start fakeReferer, -> |