sudo apt-get update
curl -O https://launchpad.net/wget/main/1.18/+download/wget-1.18.tar.gz
tar -zxvf wget-1.18.tar.gz
cd wget-1.18
./configure --with-ssl=openssl
The pkg-config script could not be found or is too old
<test data-test=" 'hello' "></test> |
'use strict'; | |
var app = angular.module('app', []); | |
app.controller('AppCtrl', function ($scope) { | |
this.foo = 'bar'; | |
$scope.hello = 'world'; | |
}); |
str.replace(/([A-Z])/g, function(str,m1){ return '-' + m1.toLowerCase(); }).replace(/^ms-/,'-ms-'); |
var url = /^(?:(?:ht|f)tp(?:s?)\:\/\/|~\/|\/)?(?:\w+:\w+@)?((?:(?:[-\w\d{1-3}]+\.)+(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|edu|co\.uk|ac\.uk|it|fr|tv|museum|asia|local|travel|[a-z]{2}))|((\b25[0-5]\b|\b[2][0-4][0-9]\b|\b[0-1]?[0-9]?[0-9]\b)(\.(\b25[0-5]\b|\b[2][0-4][0-9]\b|\b[0-1]?[0-9]?[0-9]\b)){3}))(?::[\d]{1,5})?(?:(?:(?:\/(?:[-\w~!$+|.,=]|%[a-f\d]{2})+)+|\/)+|\?|#)?(?:(?:\?(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)(?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)*)*(?:#(?:[-\w~!$ |\/.,*:;=]|%[a-f\d]{2})*)?$/i | |
, chinese = /[\u4e00-\u9fa5]+/ | |
, cText = '中文https://github.com/夾雜網址。' | |
, eText = 'english https://github.com/ url.' | |
, mixText = '中 en 文https://github.com/夾雜 google.com網址' | |
, gResult; | |
// utilities |
+----------------------------+----------------------+-------------+----------------+----------------+ | |
| | | | | | | |
| Helper | GET | POST | PUT | DELETE | | |
| | | | | | | |
+----------------------------+----------------------+-------------+----------------+----------------+ | |
| | | | | | | |
| blog_post_path(@post) | /blog/posts/12 | | /blog/posts/12 | /blog/posts/12 | | |
| | | | | | | |
+----------------------------+----------------------+-------------+----------------+----------------+ | |
| | | | | | |
<div class="jumbotron"> | |
<div class="jumbotron-header"> | |
<h1>這是標題</h1> | |
</div> | |
<div class="jumbotron-body"> | |
<p>這裡是內文,上面要有一條線</p> | |
</div> | |
<div class="jumbotron-footer"> | |
<p>這裡是 footer,上面不能有線</p> | |
</div> |
// | |
// | |
// | |
// .__ __. ______ _______ _______ __ _______. | |
// | \ | | / __ \ | \ | ____| | | / | | |
// | \| | | | | | | .--. || |__ | | | (----` | |
// | . ` | | | | | | | | || __| .--. | | \ \ | |
// oooooooooooo | |\ | | `--' | | '--' || |____ __| `--' | .----) | | |
// `888' `8 |__| \__| \______/ |_______/ |_______(__)\______/ |_______/ | |
// 888 oooo ooo oo.ooooo. oooo d8b .ooooo. .oooo.o .oooo.o |
<?php | |
$url = 'http://vimeo.com/71673549'; | |
preg_match('/\/\/(www\.)?vimeo.com\/(\d+)($|\/)/', $url, $matches); | |
?> | |
<iframe src="http://player.vimeo.com/video/<?php echo $matches[2] ?>?title=0&byline=0&portrait=0&badge=0&color=ffffff" width="640" height="360" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
) | |
func rootHandler(w http.ResponseWriter, r *http.Request) { |
sudo apt-get update
curl -O https://launchpad.net/wget/main/1.18/+download/wget-1.18.tar.gz
tar -zxvf wget-1.18.tar.gz
cd wget-1.18
./configure --with-ssl=openssl
The pkg-config script could not be found or is too old