Skip to content

Instantly share code, notes, and snippets.

View Jeff-Tian's full-sized avatar
:octocat:
欢迎关注我的公众号: 哈德韦 。

Jeff Tian Jeff-Tian

:octocat:
欢迎关注我的公众号: 哈德韦 。
View GitHub Profile
@Jeff-Tian
Jeff-Tian / .vscode__launch.json
Last active April 21, 2021 08:40 — forked from jsynowiec/jest.config.json
[Jest config for debugging TypeScript tests in Visual Studio Code] #vscode #jest #typescript
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Jest e2e Tests",
@Jeff-Tian
Jeff-Tian / CustomTrust.java
Last active January 6, 2021 03:41 — forked from reline/CustomTrust.java
Trusting self-signed certificates in Android using OkHttp
package com.yourname.builder;
import org.jetbrains.annotations.NotNull;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
using System.IO;
using Microsoft.Ajax.Utilities;
/// <summary>
/// Minify javascript files with externally overridable configuration settings.
/// </summary>
public class ConfigurableJsMinify : StandardFileBundleTransform {
protected bool includeFilenamesInOutput;