Skip to content

Instantly share code, notes, and snippets.

View dynamicguy's full-sized avatar
🎯
Focusing

Nurul Ferdous dynamicguy

🎯
Focusing
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
id, source, lang, user_mentions, hashtags, text, user, user_loc, retweet_count, favorite_count, created_at
1302269054623850496,"<a href=""http://twitter.com/download/android"" rel=""nofollow"">Twitter for Android</a>",en,['sunflxwervolsix'],[],"RT @sunflxwervolsix: You know how you can tell who the liar is? Johnny Depp admitted to his drug addiction, a sensitive topic known to be p…",pennywisemyg,United Kingdom,42,0,Sat Sep 05 15:35:12 +0000 2020
1302250841588596736,"<a href=""http://twitter.com/download/android"" rel=""nofollow"">Twitter for Android</a>",en,['sunflxwervolsix'],[],"RT @sunflxwervolsix: You know how you can tell who the liar is? Johnny Depp admitted to his drug addiction, a sensitive topic known to be p…",niermann48,,42,0,Sat Sep 05 14:22:49 +0000 2020
1302248014912917505,"<a href=""http://twitter.com/download/android"" rel=""nofollow"">Twitter for Android</a>",en,['sunflxwervolsix'],[],"RT @sunflxwervolsix: You know how you can tell who the liar is? Johnny Depp admitted to his drug addiction,
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",

Nginx Basic Stub status Explanation:

  • 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.
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)
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.
@dynamicguy
dynamicguy / 1-contacttracing-import.cql
Created May 20, 2020 16:50 — forked from rvanbruggen/1-contacttracing-import.cql
Contact tracing example #cypher #neo4j
//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
{
"_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
{
"_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
{
"_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