Skip to content

Instantly share code, notes, and snippets.

View yuikns's full-sized avatar

Yu yuikns

  • 21:52 (UTC +08:00)
View GitHub Profile
yum-NetworkManager-dispatcher
yum-axelget
yum-cron
yum-plugin-aliases
yum-plugin-auto-update-debug-info
yum-plugin-changelog
yum-plugin-filter-data
yum-plugin-fs-snapshot
yum-plugin-list-data
yum-plugin-post-transaction-actions
php54 redis-import.php 127.0.0.1 6381 2 127.0.0.1 6383
This script will only copy entries with types in (STRING, HASH, ZSET, LIST)
ZSET scores are converted to intergers from floating numbers.
Title: Hello, World!
Date: 2014-11-21 05:56
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
link : [a link to argcv](http://argcv.com )
@yuikns
yuikns / .cc
Created November 15, 2014 13:57
const std::string kVertexPrefix = "V:";
const std::string kEdgePrefix = "E:";
const std::string kIndexVertexPrefix = "IV:";
const std::string kIndexEdgePrefix = "IE:";
const std::string kPropGlue = "$";
const std::string kInGlue = "IN:";
const std::string kOutGlue = "OUT:";
const std::string kPropVertexPrefix = kPropGlue + kVertexPrefix;
const std::string kPropEdgePrefix = kPropGlue + kEdgePrefix;
// Copyright 2014 Yu Jing<[email protected]>
#include <stdio.h>
#include <map>
using std::map;
class Opol {
private:
class Agent {
Oct 30 07:30:50 localhost haproxy[14749]: Server blog/blog0 is DOWN, reason: Layer4 timeout, check duration: 2002ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Oct 30 07:30:54 localhost haproxy[14749]: Server blog/blog0 is UP, reason: Layer4 check passed, check duration: 0ms. 1 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
Oct 31 07:57:12 localhost haproxy[14749]: Server blog/blog0 is DOWN, reason: Layer4 timeout, check duration: 2001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Oct 31 07:57:21 localhost haproxy[14749]: Server blog/blog0 is UP, reason: Layer4 check passed, check duration: 1000ms. 1 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
Oct 31 07:57:36 localhost haproxy[14749]: Server blog/blog0 is DOWN, reason: Layer4 timeout, check duration: 2001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Oct 31 07:57:41
Here are all the classes from Bootstrap 3 (version 3.1.1).
U may also see : http://getbootstrap.com/css/
Method of extraction:
1. Download Bootstrap 3 and rename bootstrap.css as "bootstrap.html"
2. Add the following 24 lines of code to the very bottom of the bootstrap.html file:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<?php
/*
Plugin Name: WP-UserAgent
Plugin URI: http://kyleabaker.com/goodies/coding/wp-useragent/
Description: A simple User-Agent detection plugin that lets you easily insert icons and/or textual web browser and operating system details with each comment.
Version: 1.0.4
Author: Kyle Baker
Author URI: http://kyleabaker.com/
//Author: Fernando Briano
//Author URI: http://picandocodigo.net
def rand_digit_str(len):
import string
import random
return "".join([random.choice(string.digits) for n in xrange(len)])
def sub_dir():
return rand_digit_str(4) + "/" + rand_digit_str(4) + "/" + rand_digit_str(4) + "/"
《中国科学》杂志社有限责任公司 China science publishing & media Ltd.
安徽财经大学 Anhui University of Finance & Economics
安徽大学 Anhui University
安徽工程大学 Anhui Polytechnic University
安徽工程科技学院 Anhui University of Technology and Science
安徽工业大学 Anhui University of Technology
安徽建筑工业学院 Anhui University of Architecture
安徽科技学院 Anhui Science and Technology University
安徽理工大学 Anhui University of Science and Technology
安徽农业大学 Anhui Agricultural University