Skip to content

Instantly share code, notes, and snippets.

@jcppkkk
jcppkkk / pipenvdiff.py
Created February 22, 2020 23:29 — forked from ddahan/pipenvdiff.py
Compare two Pipfile.lock files
# Python 3.6 min
import json
import re
import argparse
# CONSTS
DEFAULT = 'default'
VERSION = 'version'
@jcppkkk
jcppkkk / .block
Last active December 13, 2017 07:50 — forked from mbostock/.block
Nested Treemap
license: gpl-3.0
height: 720
@jcppkkk
jcppkkk / README.md
Created February 21, 2017 08:18 — forked from trinitronx/README.md
A shell script to install latest Ansible via pip + dependencies

omnibus-ansible

Install latest Ansible via pip + dependencies via a shell script

This file is used to install ansible in test kitchen when you set in the kitchen.yaml file

require_ansible_omnibus: true

By default test kitchen will always download and use the latest version of this install file.

WARNING: AS SOON AS YOU MERGE CODE HERE IT IS INSTANTLY AVAILABLE TO EVERYONE DOING OMNIBUS KITCHEN ANSIBLE INSTALLS:

@jcppkkk
jcppkkk / OpenWithSublime.bat
Last active June 25, 2023 22:07 — forked from FoxColdMetal/OpenWithSublimeText.bat
[[[ Move to https://github.com/jcppkkk/OpenWithSublime !!! ]]] Add context menu to allow user open file or folder with Sublime as User (or as Admin).
@echo off
:: Path to Sublime Text installation dir.
SET stPath=%~dp0sublime_text.exe
SET stPathOnly=%~dp0
:: Key name for the registry entries.
SET UserEntry=Sublime Text
SET AdminEntry=Sublime Text As Admin
:: Context menu texts.
SET "UserMenuText=Open with Sublime(&-)"
SET "AdminMenuText=Open with Sublime As Admin(&+)"
@jcppkkk
jcppkkk / install.sh
Created November 29, 2012 02:12 — forked from alvin2ye/install.sh
Automaticlly install pptpd on Ubuntu 12.04
# Authors: Alvin Ye
# Run by: curl -sL https://gist.github.com/1471830.txt | sudo bash
sudo apt-get install pptpd
sed -i 's/^logwtmp/#logwtmp/g' /etc/pptpd.conf
sed -i 's/^net.ipv4.ip_forward = 0/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf
sysctl -p
echo "localip 192.168.240.1" >> /etc/pptpd.conf
@jcppkkk
jcppkkk / Makefile
Created June 5, 2012 13:18 — forked from shafreeck/Makefile
Makefile example
all: hello
hello: hello.h
g++ -o hello hello.cpp
clean:
rm *.o hello