Skip to content

Instantly share code, notes, and snippets.

View maxking's full-sized avatar
:octocat:

Abhilash Raj maxking

:octocat:
View GitHub Profile
@maxking
maxking / k8scontroller.py
Created March 3, 2021 18:20
k8scontroller.py
import requests
import json
import queue
import threading
EVENT_LIST = queue.Queue()
RESOURCE='pods'
NS='default'

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:

This is my welcome message for Mailman.
# a=[]
revenue_min_max = []
# b=[]
revenue_likely = []
# x = []
cost_min_max = []
# y=[]
cost_likely = []
# output array.
result = []
# -*- 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.
#
# -*- 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 November 4, 2017 02:15
Proposal to work on Mailman

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:

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 August 12, 2017 07:03
Manual for `mailman` command.
@maxking
maxking / emacs.el
Created July 11, 2017 03:46
Emacs configuration for flyspell
(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)