Skip to content

Instantly share code, notes, and snippets.

View kunafin's full-sized avatar

Rustam Kunafin kunafin

View GitHub Profile
@fanievh
fanievh / Export Selected Folder to New Model.ajs
Last active March 7, 2025 09:54
Export Selected Folder in Source Model to New Target Model #jArchi
//*
* Export Selected Folder in Source Model to New Target Model
*
* https://gist.github.com/fanievh/4ec7d14247616846f3d16b5e22dc80a9
*
* This script copies a selected subset of a source model to a target model. The folder selected
* in the source model, will become the top level folder in the Views folder in the target model. Only
* elements, relationships, diagram objects, connections and images on any of the views in the selected
* folder in the source model, will be created in the target model.
*
@diggeddy
diggeddy / Elementor - Check Radio button by default
Created January 2, 2018 00:08
Make a Elementor form radio button checked by default
/*---- JavaScript Check radio button ------*/
/*---- change ElementID to match the ------*/
<script type="text/javascript">
window.onload = function check() {
document.getElementById("form-field-LABEL-#").checked = true;
}
</script>