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
import requests as http | |
import pandas as pd | |
headers = { "Authorization": "Bearer gAAAA...."} | |
athlete_id = "....." | |
start_date = "2022-12-01" | |
end_date = "2023-07-01" | |
workouts = http.get(f"https://tpapi.trainingpeaks.com/fitness/v6/athletes/{athlete_id}/workouts/{start_date}/{end_date}", headers=headers).json() |
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
#!/usr/bin/env python3 | |
""" | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
class S(BaseHTTPRequestHandler): |
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
#!/bin/bash | |
pip install --user gitpython==2.1.8 jira==1.0.10 | |
cat << EOF > script.py | |
import git | |
import re | |
import itertools | |
import os | |
from datetime import datetime, date, timedelta |
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 |
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
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
Заповедь | |
Владей собой среди толпы смятенной, | |
Тебя клянущей за смятенье всех, | |
Верь сам в себя наперекор вселенной, | |
И маловерным отпусти их грех; | |
Пусть час не пробил, жди, не уставая, | |
Пусть лгут лжецы, не снисходи до них; | |
Умей прощать и не кажись, прощая, | |
Великодушней и мудрей других. |
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
<settings> | |
<pluginGroups> | |
<pluginGroup>org.jenkins-ci.tools</pluginGroup> | |
</pluginGroups> | |
<profiles> | |
<!-- Give access to Jenkins plugins --> | |
<profile> | |
<id>jenkins</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> |
NewerOlder