Skip to content

Instantly share code, notes, and snippets.

View kartikv11's full-sized avatar
🎯
Ducks Quack, Eagles Soar

Kartik Verma kartikv11

🎯
Ducks Quack, Eagles Soar
View GitHub Profile
@kartikv11
kartikv11 / README-tomcat-as-systemd-service.md
Created November 9, 2022 07:36 — forked from drmalex07/README-tomcat-as-systemd-service.md
An example configuration for Tomcat as systemd service. #tomcat #systemd #systemd.service

README

Let Tomcat is download and installed under /opt/tomcat. Also, let tomcat be a non-provileged user under which the server will be running.

We assume that we keep server's binaries under /opt/tomcat and we will create a server instance named foo under /var/tomcat/ (carrying its own conf, logs, webapps, work, lib directories). See also https://dzone.com/articles/running-multiple-tomcat.

Create a template service unit file at /etc/systemd/system/tomcat@.service:

@kartikv11
kartikv11 / Activate Office 2019 for macOS VoL.md
Created January 28, 2021 08:24 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@kartikv11
kartikv11 / bobp-python.md
Created January 17, 2019 12:50 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@kartikv11
kartikv11 / tmux-cheatsheet.markdown
Created November 14, 2017 10:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@kartikv11
kartikv11 / useHexo.md
Created August 29, 2017 10:36 — forked from btfak/useHexo.md
How to use Hexo and deploy to GitHub Pages
@kartikv11
kartikv11 / introrx.md
Created March 28, 2016 09:24 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing