Skip to content

Instantly share code, notes, and snippets.

@mouse0w0
mouse0w0 / delete-unused-vscode-extension-directories.py
Created February 27, 2024 09:08
Delete unused vscode extension directories
import os
import os.path as path
import json
import shutil
print("WARNING: This script will delete unused extension directories. Press enter to continue.")
input()
extensionsDir = path.join(path.expanduser("~"), ".vscode", "extensions")
@mouse0w0
mouse0w0 / build.gradle
Created June 1, 2020 16:55
add compilerArgs to gradle cpp-library
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample C++ project to get you started.
* For more details take a look at the Building C++ applications and libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.0.1/userguide/building_cpp_projects.html
*/
import org.apache.tools.ant.taskdefs.condition.Os
plugins {
### Unknown Domain Game Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Unknown Domain Game (“UDG”) or its affiliates. This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to UDG in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact mouse0w0@qq.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to UDG a non-exclusive, perpe
@mouse0w0
mouse0w0 / ExampleCustomPGNode.java
Created April 1, 2017 09:38 — forked from miho/ExampleCustomPGNode.java
Example custom render node for JavaFX 2.2
package org.dejay.javafx.example;
import javafx.animation.Transition;
import javafx.application.Application;
import javafx.collections.ObservableList;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.Region;
import javafx.scene.text.Font;