Some stats: - Total number of links: 23983
Discover gists
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
import android.util.Log; | |
import java.io.IOException; | |
import okhttp3.CipherSuite; | |
import okhttp3.Handshake; | |
import okhttp3.Response; | |
import okhttp3.TlsVersion; | |
/** Prints TLS Version and Cipher Suite for SSL Calls through OkHttp3 */ | |
public class SSLHandshakeInterceptor implements okhttp3.Interceptor { | |
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
defaults write com.apple.Dock appswitcher-all-displays -bool true | |
killall Dock |
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
谷歌教育邮箱,可申请1EB网盘和开通微软Office365教育版,能用在线版Office,以及微软的OneDrive网盘. | |
全程特殊网络,全程PC操作,手机操作可能出现奇怪问题。 | |
1.get美区虚拟身份: | |
[http://t.cn/REMDIU2](http://t.cn/REMDIU2) | |
或者用: | |
[http://suo.im/3dL5kG](http://suo.im/3dL5kG) | |
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 | |
# Author: Dana Epp (@danaepp) | |
GROUP_NAME="DisposableVPN" | |
VM_NAME="DisposableVPN" | |
REGION="canadacentral" | |
PORT="51820" | |
echo "Creating resource group '$GROUP_NAME'..." |
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
$ wp post list --format=ids | xargs wp post update --comment_status=closed | |
# Output: | |
# Success: Updated post 2514. | |
# Success: Updated post 2511. | |
# Success: Updated post 2504. | |
# Success: Updated post 2499. | |
# Success: Updated post 2441. | |
# etc... |
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
/* | |
|-------------------------------------------------------------------------- | |
| PurgeOldEmails | |
|-------------------------------------------------------------------------- | |
| https://gist.github.com/benbjurstrom/00cdfdb24e39c59c124e812d5effa39a | |
| | |
*/ | |
// Purge messages automatically after how many days? | |
var DELETE_AFTER_DAYS = 7 |
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
import SwiftUI | |
import UIKit | |
struct ContentView: View { | |
@State private var isLocked = false | |
@State private var isSheetVisible = false | |
var body: some View { | |
LockableView(isLocked: isLocked) { |
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
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
Updated 2024-04-21
Uber [gomock][6] |
[testify][2] + [mockery][3] | [minimock][4] | [moq][5] | Google [gomock][1] |
|
---|---|---|---|---|---|
GitHub stars | [![s6]][6] | [![s2]][2] + [![s3]][3] | [![s4]][4] | [![s5]][5] | [![s1]][1] |
Latest release date | [![d6]][r6] | [![d2]][r2] + [![d3]][r3] | [![d4]][r4] | [![d5]][r5] | [![d1]][r1] |
Maintained | ✅ | ✅ | ✅ | :white_check |
NewerOlder