Skip to content

Instantly share code, notes, and snippets.

Ho Ho Ho!

Wallen Han WallenHan

Ho Ho Ho!
  • Xi'An, ShanXi, China
View GitHub Profile
WallenHan / nginx.conf
Created May 21, 2021 03:00 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
View nginx.conf
# CORS header support
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
# include cors_support;
# As of Nginx 1.7.5, add_header supports an "always" parameter which
WallenHan / cors.nginxconf
Created February 1, 2021 09:07 — forked from pauloricardomg/cors.nginxconf
Nginx configuration for CORS-enabled HTTPS proxy with origin white-list defined by a simple regex
View cors.nginxconf
# Acts as a nginx HTTPS proxy server
# enabling CORS only to domains matched by regex
# /https?://.*\.mckinsey\.com(:[0-9]+)?)/
# Based on:
# *
# *
server {
WallenHan / pom.xml
Last active July 12, 2019 01:45
maven 打包 webpack 项目配置
View pom.xml
<id>npm i </id>
WallenHan / index.html
Last active May 31, 2018 09:42
JS Bin// source 实现无间隙的滚屏动画 css
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
div, p {
margin: 0;
padding: 0;
View gist:bf8b93e01c56663bff03a327413a628c
package practice;
import java.util.*;
* Created by Wallen on 2018/5/20.
public class Test1 {
public static void main(String[] args) {
WallenHan / index.html
Last active October 18, 2016 14:50
View index.html
<div class="well row text-center main-container">
<div class="col-md-12 title-container">
<div class="thumbnail image-container">
<img src="//" alt="袁隆平在讲授杂交水稻">
<div class="captain tect-center">袁隆平给来自10多个国家的专家讲授杂交水稻方面的主要课程