Skip to content

Instantly share code, notes, and snippets.

@15d23
15d23 / BalsamiqForever.py
Created July 12, 2022 02:24
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@15d23
15d23 / java
Last active December 5, 2018 09:48
日期工具类(日期,月份加减等)
package com.micro.zk.creditcardselector;
import android.annotation.SuppressLint;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/***
@15d23
15d23 / install_dia_osx.md
Created October 9, 2018 10:13 — forked from jclosure/install_dia_osx.md
How to install Dia on OSX (and have it run)
brew cask install dia

After his it won't run because DISPLAY=:0 env var is not set

vim /Applications/Dia.app/Contents/Resources/bin/dia
@15d23
15d23 / graphviz-build-system-for-sublime.md
Created February 21, 2017 10:12 — forked from olange/graphviz-build-system-for-sublime.md
Graphviz (DOT) Build System for Sublime Text 2 and 3

To transform the currently opened Graphviz source file (in DOT Language) into a PNG:

{
    "cmd": [ "dot", "-Tpng", "-o", "$file_base_name.png", "$file"],
    "selector": "source.dot"
}

Usage

@15d23
15d23 / 0_reuse_code.js
Created September 22, 2016 10:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console