- Active connections - Open connections in total. One user can have several concurrent connections to a server.
- Three figures are shown:
- All accepted connections.
- All handled connections, which normally equals to the total number of accepted connections.
- Total number of handled requests.
- Reading: Nginx reads request headers
- Writing: Nginx reads request bodies, processes requests, or writes responses to a client
- Waiting: Keep-Alive connections. This number depends on the keepalive_timeout.
This file contains hidden or 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
from django.db import models | |
from django_countries.fields import CountryField | |
from model_utils import FieldTracker | |
import datetime | |
from django.utils import timezone | |
from rtt.users.admin import User | |
class Industry(models.Model): | |
name = models.CharField(max_length=200) |
This file contains hidden or 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
from twisted.internet import reactor | |
from scrapy.crawler import CrawlerRunner | |
from scrapy.utils.project import get_project_settings | |
from my_project.spiders.deals import DealsSpider | |
def crawl_job(): | |
""" | |
Job to start spiders. |
This file contains hidden or 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
//environment: Neo4j Desktop 1.2.7, Neo4j Enteprise 3.5.17, apoc 3.5.0.9, gds 1.1.0 | |
//or: Neo4j Enterprise 4.0.3, apoc 4.0.0.6 (NOT later! a bug in apoc.coll.max/apoc.coll.min needs to be resolved) | |
//contact tracing data import | |
//full spreadsheet with synthetic data | |
//https://docs.google.com/spreadsheets/d/1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE/edit#gid=0 | |
// person sheet˝ | |
// https://docs.google.com/spreadsheets/u/0/d/1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE/export?format=csv&id=1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE&gid=0 |
This file contains hidden or 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
{ | |
"_index": "bubing", | |
"_type": "_doc", | |
"_id": "http://www.folklore.org/StoryView.py?project=Macintosh&story=Too_Big_For_My_Britches.txt&sortOrder=Sort by Date&topic=Personality Clashes", | |
"_score": 1, | |
"_source": { | |
"date": "2019-11-14T11:12:41+00:00", | |
"plain_text": "Apple's HR policy dictated that each employee was supposed to receive a performance review from their manager every six months, which helped to determine your salary increase or possibly an award of additional stock options. But as the end of 1982 approached, I hadn't received my review for more than eight months. This wasn't very surprising, since Bob Belleville, who was my boss and our software manager, was not getting along very well with the software team. He thought that some of us were intrinsically unmanageable, and that we didn't sufficiently respect him. Bob had replaced Rod Holt as the overall engineering manager in August, responsible for both hardware and software, and had just hired a new software manager, Jerome Coone |
This file contains hidden or 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
{ | |
"_index": "bubing", | |
"_type": "_doc", | |
"_id": "http://www.folklore.org/ProjectView.py?project=Macintosh&author=Caroline%20Rose", | |
"_score": 1, | |
"_source": { | |
"date": "2019-11-14T08:54:14+00:00", | |
"plain_text": "“An invincible determination can accomplish almost anything and in this lies the great distinction between great men and little men.” -- Thomas Fuller Caroline Rose: (3) Caroline started working on the Mac Team in June 1982. She wrote most of (and edited all of) the first three volumes of Inside Macintosh, the Mac developer documentation. After leaving Apple in 1986, she managed the publications group at NeXT and later returned to Apple to become the editor of \"develop,\" Apple's technical journal for Mac developers. Since 1997, Caroline has been a successful independent technical writer and editor. My interview with Chris Espinosa Date: May 1982 Author: Caroline Rose Topics: Recruiting Rating: (3.94) The Inside Mac cover you never saw Date: October 1985 Author: Caroline Rose Topics: Doc |
This file contains hidden or 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
{ | |
"_index": "bubing", | |
"_type": "_doc", | |
"_id": "http://www.folklore.org/ProjectView.py?project=Macintosh&topic=Recruiting", | |
"_score": 1, | |
"_source": { | |
"date": "2019-11-14T06:59:25+00:00", | |
"plain_text": "A shakeup in Apple II engineering frees me up to work on the Macintosh Date: February 1981 Author: Andy Hertzfeld Topics: Origins,Apple II,Management,Recruiting Rating: (4.65) The Reality Distortion Field changes Bruce's mind about working at Apple Date: September 1981 Author: Bruce Horn Topics: Reality Distortion,Apple Spirit,Recruiting Rating: (4.26) My interview with Chris Espinosa Date: May 1982 Author: Caroline Rose Topics: Recruiting Rating: (3.94) We cook up a special demo for John Sculley Date: March 1983 Author: Andy Hertzfeld Topics: Software Design,Recruiting,Early Programs Rating: (3.64) Steve gives the troops a pep talk Date: September 1983 Author: Tom Zito Topics: Apple Spirit,Management,Recruiting Rating: (4.05)", | |
"html_with_utf8": "<html>\n <head>\n <meta charset=\"utf-8 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# MySQL Workbench module | |
# A MySQL Workbench plugin which exports a Model to Laravel 5 Migrations | |
# Written in MySQL Workbench 6.3.6 | |
# Support for MySQL Workbench 8.0 added | |
import cStringIO | |
import glob | |
import grt |
This file contains hidden or 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 sh | |
# OS settings | |
sudo sysctl -w kern.sysv.shmmax=2147483648 | |
sudo sysctl -w kern.sysv.shmmin=1 | |
sudo sysctl -w kern.sysv.shmmni=64 | |
sudo sysctl -w kern.sysv.shmseg=16 | |
sudo sysctl -w kern.sysv.shmall=524288 | |
sudo sysctl -w net.inet.tcp.msl=60 |
This file contains hidden or 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 com.enlighthq.mobile.http; | |
import android.os.Build; | |
import java.io.IOException; | |
import java.util.Locale; | |
import okhttp3.Interceptor; | |
import okhttp3.Request; | |
import okhttp3.Response; |