使用前請務必閱讀 免責聲明
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
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
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
.col-lg-3.mb-4 { | |
width: 33%; | |
min-width: 33%; | |
} | |
.card { | |
flex-direction: row; | |
height: 100%; | |
overflow: hidden; | |
} |
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
//Woocommerce Checkout JS events | |
$( document.body ).trigger( 'init_checkout' ); | |
$( document.body ).trigger( 'payment_method_selected' ); | |
$( document.body ).trigger( 'update_checkout' ); | |
$( document.body ).trigger( 'updated_checkout' ); | |
$( document.body ).trigger( 'checkout_error' ); | |
//Woocommerce cart page JS events | |
$( document.body ).trigger( 'wc_cart_emptied' ); | |
$( document.body ).trigger( 'update_checkout' ); |
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/sh | |
### BEGIN INIT INFO | |
# Provides: mattermost | |
# Required-Start: $network $syslog | |
# Required-Stop: $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Mattermost Group Chat | |
# Description: Mattermost: An open-source Slack | |
### END INIT INFO |
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
/** | |
* | |
* API access | |
* | |
*/ | |
var api = (function () { | |
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
sh-3.2# curl --silent --verbose http://www.purestudio.com.tw/blog/product/20180323/ --resolve www.purestudio.com.tw:80:124.150.132.74 --insecure | |
* Added www.purestudio.com.tw:80:124.150.132.74 to DNS cache | |
* Hostname www.purestudio.com.tw was found in DNS cache | |
* Trying 124.150.132.74... | |
* TCP_NODELAY set | |
* Connected to www.purestudio.com.tw (124.150.132.74) port 80 (#0) | |
> GET /blog/product/20180323/ HTTP/1.1 | |
> Host: www.purestudio.com.tw | |
> User-Agent: curl/7.54.0 | |
> Accept: */* |
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
<?php | |
use Symfony\Component\Form\FormRenderer; | |
$app->extend ('twig.runtimes', function ($array) { | |
$array[FormRenderer::class] = 'twig.form.renderer'; | |
return $array; | |
}); |
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
{# Twig 樣板檔案 - 定義 block_name 為 buttons_start / buttons_end 的兩區塊樣板 #} | |
{# 按鈕開始區塊 #} | |
{% block _form_buttons_start_row -%} | |
<div class="form-group"> | |
<div class="{{ block('form_label_class') }}"></div> | |
<div class="{{ block('form_group_class') }}"> | |
{{- form_widget(form) -}} | |
{%- endblock _form_buttons_start_row %} |
NewerOlder