Skip to content

Instantly share code, notes, and snippets.

View init-local.el
;; Setup Use-Package
(require-package 'use-package)
;; Enable defer and ensure by default for use-package
(setq use-package-always-defer t
use-package-always-ensure t)
;; Enable somehting
;; Enable scala-mode and sbt-mode
aczzdx /
Created Mar 7, 2019
Simple logger for sending updates to Slack using incoming webhook
#!/usr/bin/env python3
# Change the following url as the webhook requested from the Slack App
import requests
def slack_msg(text):
return, json={"text":text})
# a sample to send
#!/usr/bin/env python3
This file is an extremly simple method-line-limit checker for java codes for USC CS 455.
Assumptions: we assmue that the codes has followed all the other code-style
import re
import sys