Skip to content

Instantly share code, notes, and snippets.

View yuikns's full-sized avatar

Yu yuikns

View GitHub Profile
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>
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
// Copyright 2014 Yu Jing<[email protected]>
#include <stdio.h>
#include <map>
using std::map;
class Opol {
private:
class Agent {
@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;
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 )
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.
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
@yuikns
yuikns / pi.scala
Last active August 29, 2015 14:11
def pi1(lsz: Int): Double = {
var a = 3.0
var off = 1
var lcnt = lsz
def p_elem(t: Int): Double = 4.0 / ((2 * t) * (2 * t + 1) * (2 * t + 2))
while (lcnt > 0) {
if (off % 2 == 0) {
a -= p_elem(off)
} else {
a += p_elem(off)
/*
* my result as follow :
### O0:
$ g++ -std=c++11 string_generator.cc -o string_generator -O0 && ./string_generator
final val is :first_strsecond_strthird_str
Method 0 : 614.236 ms.
final val is :first_strsecond_strthird_str
Method 1 : 579.361 ms.
final val is :first_strsecond_strthird_str
Method 2 : 2782.47 ms.
[2015-01-19 14:57:37,939][WARN ][org.elasticsearch.river.mongodb.Indexer] failed to script process {document={ "_id" : { "$oid" : "53e9978ab7602d9701f45733"} , "abstract" : "Objective To study the effects of bikunin on the invasion of PC3 prostate cancer cells and its und
erlying mechanism.Methods We treated PC3 cells with bikunin and assessed its effects on cell invasion.We also detected the level of phosphorylated PI3K and AKT after bikunin treatment.Moreover,we assessed the influence of the inhibitors of PI3K and AKT on cell invasion in
PC3 cells.Furthermore,we assessed the impact of constitutively active PI3K transfection on bikunin's activity.Results Our results revealed that bikunin treatment significantly suppressed cell invasion in PC3 cells.The activity of PI3K and AKT was also inhibited by bikuni
n treatment.Constitutively active PI3K transfection suppressed the inhibition of bikunin on cell invasion.Conclusion Bikunin can inhibit the invasion of PC3 cells.PI3K/AKT pathway might be involved in this