This file contains hidden or 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
var u = navigator.userAgent, | |
ua = navigator.userAgent.toLowerCase(), | |
isLineApp = u.indexOf("Line") > -1, // Line 內建瀏覽器 | |
isFbApp = u.indexOf("FBAV") > -1, // FB App 內建瀏覽器 | |
isWeixinApp = ua.match(/MicroMessenger/i) == "micromessenger"; // 微信內建瀏覽器 | |
if (isLineApp) { | |
webShareImp(); | |
} | |
if (isFbApp) { | |
webShareImp(); |
This file contains hidden or 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
<html lang="zh_tw" class=""><head> | |
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script src="https://connect.facebook.net/zh_TW/sdk.js?hash=d09e6fa31e1dc6e0b90528560dbc0ab7" async=""></script><script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/api2/v1550471573786/recaptcha__zh_tw.js"></script><script id="facebook-jssdk" src="https://connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v3.1&appId=2081751665223120&autoLogAppEvents=1"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-134710058-5"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'UA-134710058-5'); | |
</script> | |
<meta charset="utf-8"> |
This file contains hidden or 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
//file1 | |
//bpmn-js.ts | |
import _Modeler from 'bpmn-js/lib/Modeler.js'; | |
import * as _propertiesPanelModule from 'bpmn-js-properties-panel'; | |
// import * as _propertiesProviderModule from 'bpmn-js-properties-panel/lib/provider/camunda'; | |
import * as _BpmnPropertiesProvider from 'bpmn-js-properties-panel/lib/provider/bpmn'; | |
import * as _EntryFactory from 'bpmn-js-properties-panel/lib/factory/EntryFactory'; | |
import _PaletteProvider from 'bpmn-js/lib/features/palette/PaletteProvider'; | |
import _CustomModeler from '../bpmn-js/custom-modeler'; | |
import _nyanDrawModule from '../bpmn-js/custom-modeler/nyan/draw'; |
This file contains hidden or 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
// SPDX-License-Identifier: GPL-2.0+ | |
/* | |
* (C) Copyright 2015 | |
* Linus Walleij, Linaro | |
* | |
* Support for ARM Flash Partitions | |
*/ | |
#include <common.h> | |
#include <command.h> | |
#include <console.h> |
This file contains hidden or 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
package com.skytree.epubtest; | |
import java.io.BufferedInputStream; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; |
This file contains hidden or 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
JsonView.renderMergedOutputModel|value:{sus=true, msg=, org.springframework.validation.BindingResult.data=org.springframework.validation.BeanPropertyBindingResult: 0 errors, data={"sus":true,"status":0,"msg":"","exception":null,"list":[{"ridno":"T134969524","case_no":3,"reas":null,"rdate":2039875200000,"pay_date":null,"paystdt":2039875200000,"payeddt":2039875200000,"sdep":null,"wdep":"379130100C","rdep":"602000000A","rdoc":null,"rdat":1150041600000,"rdoc_all":"部退一字第0952636027","old_year":"23/07/00","ins_year":"10/06/19","appd_oyear":"23/00/00","appd_nyear":"11/02","appd_year":"34/02","noty":"12/12","share_year":"0","onem":0,"base":34,"perc":0,"less_perc":null,"avg_salary":null,"salary":39205,"last_ins":null,"clas":null,"grad":null,"leve":"0500","jobn":"I597","qdt":null,"dedt":2039875200000,"demk":"D","once_mony":null,"mth_mony":null,"once_rdm":null,"yaer_rfd":null,"pers_p":null,"pers_i":null,"org_p":null,"org_i":null,"death_mth_pnsn":null,"pnt_flag":"1","appd_flag":"1","dwn_flag":null,"up_flag":"1","rtrl_org |
This file contains hidden or 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
<div id="vue_PAY01W04A"> | |
<sys-prepage | |
v-bind:mshow_pre="${param.from_namefor_prepage eq 'PAY01W04A'}" | |
v-bind:base_url="base_url" | |
v-bind:show_dialog="true"> | |
</sys-prepage> | |
</div> |
This file contains hidden or 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
String now = "2009-10-01T00:00"; | |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm"); | |
LocalDateTime formatDateTime = LocalDateTime.parse(now, formatter); | |
System.out.println("formatDateTime:"+formatDateTime.toString()); | |
DateTimeFormatter f2 = DateTimeFormatter.ofPattern("yyyyMMdd"); | |
String str1 = formatDateTime.format(f2); | |
System.out.println("str1:"+str1); | |
assertTrue(true); | |
This file contains hidden or 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
https://msdn.microsoft.com/zh-tw/library/ff699202.aspx | |
.\makecert.exe -sv P1.pvk -n "CN=P1" P1.cer -b 03/28/2018 -e 03/27/2019 -r | |
.\pvk2pfx.exe -pvk .\P1.pvk -spc .\P1.cer -pfx .\P1.pfx -pi P1 -po P1 | |
C:\Program Files\Common Files\microsoft shared\VSTO\10.0> .\VSTOInstaller.exe /U 'C:\Users\user\Documents\MediaAddIn\MediaAddin.vsto' |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
) | |
func findSmallest(arr []int) (int, int) { | |
if len(arr) < 0 { | |
panic("len < 0") | |
} |
NewerOlder