Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Abhilash Raj maxking

:octocat:
View GitHub Profile
View k8scontroller.py
import requests
import json
import queue
import threading
EVENT_LIST = queue.Queue()
RESOURCE='pods'
NS='default'
View keybase.md

Keybase proof

I hereby claim:

  • I am maxking on github.
  • I am maxking (https://keybase.io/maxking) on keybase.
  • I have a public key ASD1J1zm-PYFWbXvZs195NghRHQOv1hyeiWodNWdvxU2Jwo

To claim this, I am signing this object:

View welcome.py
This is my welcome message for Mailman.
View sensitivity_own.py
# a=[]
revenue_min_max = []
# b=[]
revenue_likely = []
# x = []
cost_min_max = []
# y=[]
cost_likely = []
# output array.
result = []
View urls.py
# -*- coding: utf-8 -*-
# Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
#
# This file is part of Postorius.
#
# Postorius is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
View settings.py
# -*- coding: utf-8 -*-
# Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
#
# This file is part of Mailman Suite.
#
# Mailman Suite is free sofware: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
@maxking
maxking / mailman-work-proposal.md
Last active Nov 4, 2017
Proposal to work on Mailman
View mailman-work-proposal.md

Proposal for Mailman Work.

  • Move Django apps to Python 3 (or bilingual) based on what decision we end up making
    • Step 1: Check up all the dependencies for Python 3 compatibility
    • Step 2: Bump up test coverage to at least 90%+ to make sure things don’t break (including MailmanClient)
    • Step 3: Move all tests to Python 3
    • Step 4: Move to Python 3 and fix all the code based on TDD
  • Fork mailman import command to provide an upgrade path to Mailman 3.x from Mailman 2.x
  • Fix MySQL compatibility in Core
  • Changes in Postorius:
View keybase.md

Keybase proof

I hereby claim:

  • I am maxking on github.
  • I am maxking (https://keybase.io/maxking) on keybase.
  • I have a public key whose fingerprint is 541E A044 8453 394F F77A 0ECC 9D9B 2BA0 61D0 A67C

To claim this, I am signing this object:

@maxking
maxking / mailman.rst
Created Aug 12, 2017
Manual for `mailman` command.
View mailman.rst
@maxking
maxking / emacs.el
Created Jul 11, 2017
Emacs configuration for flyspell
View emacs.el
(require 'flyspell)
(setq ispell-list-command "--list") ;; run flyspell with aspell, not ispell
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
(global-set-key [(control c) (f)] 'flyspell-check-previous-highlighted-word)
;;-------------
;; Text mode
;;-------------
(add-hook 'text-mode-hook 'flyspell-mode)