ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
DBCollection c = mongo.getDB(Constants.DB_NAME).getCollection("B"); | |
for (int i = 0; i < 100; i++) { | |
cursors.add(c.find().limit(10).batchSize(1)); | |
} | |
for (int i = 0; i < 10; i++) { | |
for (DBCursor cursor : cursors) { | |
cursor.next(); | |
} | |
} |
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 com.mongodb.*; | |
import org.bson.BSON; | |
import java.util.regex.Pattern; | |
/** | |
* @author trnl | |
* Date: 12/27/11 | |
* Time: 3:49 PM | |
*/ |
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 org.databene.contiperf.time; | |
import org.databene.contiperf.Time; | |
import java.lang.management.ManagementFactory; | |
/** | |
* @author Uladzimir Mihura | |
* Date: 5/16/12 | |
* Time: 6:24 PM |
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
<settings> | |
<pluginGroups> | |
<pluginGroup>org.jenkins-ci.tools</pluginGroup> | |
</pluginGroups> | |
<profiles> | |
<!-- Give access to Jenkins plugins --> | |
<profile> | |
<id>jenkins</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> |
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 org.jenkinsci.plugins; | |
import hudson.Extension; | |
import hudson.Launcher; | |
import hudson.model.AbstractBuild; | |
import hudson.model.AbstractProject; | |
import hudson.model.BuildListener; | |
import hudson.tasks.BuildStepDescriptor; | |
import hudson.tasks.BuildStepMonitor; | |
import hudson.tasks.Notifier; |
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
Заповедь | |
Владей собой среди толпы смятенной, | |
Тебя клянущей за смятенье всех, | |
Верь сам в себя наперекор вселенной, | |
И маловерным отпусти их грех; | |
Пусть час не пробил, жди, не уставая, | |
Пусть лгут лжецы, не снисходи до них; | |
Умей прощать и не кажись, прощая, | |
Великодушней и мудрей других. |
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
task "create-dirs" << { | |
sourceSets.all{ | |
it.allSource.srcDirs*.mkdirs() | |
} | |
} |
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 org.jenkinsci.plugins.twitter; | |
import hudson.Extension; | |
import hudson.Launcher; | |
import hudson.model.AbstractBuild; | |
import hudson.model.AbstractProject; | |
import hudson.model.BuildListener; | |
import hudson.model.Descriptor; | |
import hudson.tasks.BuildStepDescriptor; | |
import hudson.tasks.Builder; |
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 numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
from datetime import datetime | |
from pandas import DataFrame | |
from matplotlib.ticker import FuncFormatter, MultipleLocator | |
from matplotlib.cm import ScalarMappable | |
from matplotlib.transforms import TransformedBbox, Bbox | |
# load dataframe |
OlderNewer