Skip to content

Instantly share code, notes, and snippets.

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
View .vscode__launch.json
{
// 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
View CustomTrust.java
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;
@Jeff-Tian
Jeff-Tian / keybase.proof
Created July 28, 2020 07:25
My Keybase proof
View keybase.proof
### Keybase proof
I hereby claim:
* I am jeff-tian on github.
* I am jeff_tian (https://keybase.io/jeff_tian) on keybase.
* I have a public key ASC_YxqANCSu3zVHrH6OYn6jfgNmh_qGg3y7UXEJJy2znAo
To claim this, I am signing this object:
View ConfigurableJsMinify.cs
using System.IO;
using Microsoft.Ajax.Utilities;
/// <summary>
/// Minify javascript files with externally overridable configuration settings.
/// </summary>
public class ConfigurableJsMinify : StandardFileBundleTransform {
protected bool includeFilenamesInOutput;