Skip to content

Instantly share code, notes, and snippets.

View white5168's full-sized avatar
🌴
On vacation

廖敏宏 (Amin) white5168

🌴
On vacation
View GitHub Profile
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* Nov 28 2015
* Copyright (C) 20015 iInfo.
* Author�GAmin.
* URL�Ghttp://white5168.blogspot.tw/
* @license
* This file is part of iInfo.
*/
SyntaxHighlighter.brushes.MC = function()
{
<?php
$initData['message'] = '傳網頁圖檔測試 家扶娃娃撲滿 ~!@#$%^*()1234567890ABCabc';
$initData['imageThumbnail'] = 'http://www.ccf.org.tw/new/endpoverty/images/product/product-pic1.jpg';
$initData['imageFullsize'] = 'http://www.ccf.org.tw/new/endpoverty/images/product/product-pic1.jpg';
$initData['stickerPackageId'] = '1';
$initData['stickerId'] = '106';
$token = '你的Token';
echo '<pre>';
print_r(sendLineNotify($initData, $token));
library(httr);
picurl <- "http://www.ccf.org.tw/new/endpoverty/images/product/product-pic1.jpg"
url <- "https://notify-api.line.me/api/notify"
message <- "中文測試~!@#$%^&*()123456789"
token <-"Bearer 你的Token"
postdata <- list("message"=message,
"imageThumbnail"=picurl,
"imageFullsize"=picurl,
"stickerPackageId"="1",
"StickerId"="106")
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Google Charts</title>
<!-- load Google AJAX API -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
//load the Google Visualization API and the chart
<?!= include('getGraphicData'); ?>
<div id="chart"></div>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(getSpreadsheetData);
function getSpreadsheetData() {
google.script.run.withSuccessHandler(getPicData).getData();
}