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 | |
/** | |
* Plugin Name: Disable XMLRPC | |
* Version: 0.1 | |
* Plugin URI: http://wpengineer.com/?p=2484 | |
* Description: Disable XMLRPC server for WP >= v3.5 | |
* Author: Lutz Schröer | |
* Author URI: http://elektroelch.net/ | |
*/ |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<xsd:schema xmlns="http://code.alibabatech.com/schema/dubbo" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:beans="http://www.springframework.org/schema/beans" | |
xmlns:tool="http://www.springframework.org/schema/tool" | |
targetNamespace="http://code.alibabatech.com/schema/dubbo"> | |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/> | |
<xsd:import namespace="http://www.springframework.org/schema/beans"/> | |
<xsd:import namespace="http://www.springframework.org/schema/tool"/> |
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 | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: GET, POST'); | |
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept"); | |
require "JSONDB.php"; | |
if(isset($_GET["limit"])) { | |
$limit = $_GET["limit"]; | |
} else { |
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
package main | |
//Usage: vsina http://video.weibo.com/show?fid=1034:0e906d53094c5d231bf09028af8ba9b1 | |
import ( | |
"bufio" | |
"fmt" | |
"github.com/astaxie/beego/httplib" | |
"io" | |
"io/ioutil" | |
"net/url" |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<dns> | |
<retcode>0</retcode> | |
<domainlist> | |
<domain name="extshort.weixin.qq.com" timeout="1800"> | |
<ip>101.226.76.175</ip> | |
<ip>101.227.131.102</ip> | |
</domain> | |
<domain name="long.weixin.qq.com" timeout="1800"> |
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
/** | |
* Ping Client | |
* @author nieyong | |
*/ | |
package com.learn; | |
import io.netty.bootstrap.Bootstrap; | |
import io.netty.buffer.ByteBuf; | |
import io.netty.buffer.PooledByteBufAllocator; | |
import io.netty.channel.ChannelFuture; |
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
/** | |
* [email protected] | |
* how to compile it: | |
* gcc pong_server.c -o pong_server /usr/local/lib/libev.a -lm | |
*/ | |
#include <arpa/inet.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <fcntl.h> |
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
import os | |
import sys | |
import re | |
import hashlib | |
import csv | |
import time | |
import locale | |
import getopt | |
OlderNewer