Command | WinDbg | LLDB |
---|---|---|
Start | windbg {executable} [{args}] |
lldb {executable} [--args] |
Attach | windbg -p {pid} |
lldb --attach-pid {pid} |
Command | WinDbg | LLDB |
---|---|---|
(Re)load symbols | lb {module-name} |
target symbols add {symbol-file-path} |
// Updated: Aug. 20, 2024 | |
// Run: node testRegex.js whatever.txt | |
// Live demo: https://jina.ai/tokenizer | |
// LICENSE: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0) | |
// COPYRIGHT: Jina AI | |
const fs = require('fs'); | |
const util = require('util'); | |
// Define variables for magic numbers | |
const MAX_HEADING_LENGTH = 7; |
[ | |
{ | |
"id": "d240e1be-38aa-4356-88b8-d1febb48d95e", | |
"name": "色色资源站", | |
"uri": "https://www.emiao026.com", | |
"httpApi": "http://sscj8.com/inc/api.php", | |
"httpsApi": "http://sscj8.com/inc/sapi.php", | |
"type": "综合性资源" | |
}, | |
{ |
IE6 Only | |
================== | |
_selector {...} | |
IE6 & IE7 | |
================== | |
*html or { _property: } | |
IE7 Only | |
================== |
namespace Analogy | |
{ | |
/// <summary> | |
/// This example shows that a library that needs access to target .NET Standard 1.3 | |
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
/// </summary>INetCoreApp10 | |
class Example1 | |
{ | |
public void Net45Application(INetFramework45 platform) |
删除所有微博
在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。
每批删除大概一分钟,最多50条。
如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。
[General] | |
loglevel = notify | |
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
# dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
# external-controller-access = [email protected]:6155 | |
# ipv6 = true | |
// REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
In the new ASP.NET 5 stack dependency injection is pervasive. We let users wire up their dependencies in the Startup
class:
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddTransient<IFoo, Foo>();
}
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: <SCRIPT_NAME> | |
# Required-Start: $local_fs $network $named $time $syslog | |
# Required-Stop: $local_fs $network $named $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Description: Script to run asp.net 5 application in background | |
### END INIT INFO |
Python is a modern powerful interpreted language with objects, modules, threads, exceptions, and automatic memory managements. Python was introduced to the world in the year 1991 by Guido van Rossum Salient features of Python are