Skip to content

Instantly share code, notes, and snippets.

View DjakaTechnology's full-sized avatar
🏠

Djaka Pradana Jaya Priambudi DjakaTechnology

🏠
View GitHub Profile
{
"version": "1.0.15",
"notes": "See the assets to download this version and install.",
"pub_date": "2025-01-13T18:43:04.973Z",
"platforms": {
"darwin-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRSUQ3RU9hbENPbDYrRlZEQWg1ZXpIZWtRZWdpeXZINnVIajhsck55RG5sWVBjTlpqQmZPMDJOL1lyUEdZOTd6Wng3UjdQbjNRVWc3OE1zRnhYbWxPSGE2RXQ5dmZvZndrPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM2NzkzMTcwCWZpbGU6TWVpdGEuYWkuYXBwLnRhci5negordXc4bUl1aXVDZWt3Y0RoamhkK0VJVkxJaG1zekhsN2I0NWtEdWZlL0d3S2VKOHI2TktsYUV3VjRjVVdnN25PbkdLWHVWNkl4WmFoRVFpczBLeHZEUT09Cg==",
"url": "https://cdn.meita.ai/Meita.ai.tar.gz"
},
"windows-x86_64": {
@DjakaTechnology
DjakaTechnology / re_products.json
Last active September 10, 2024 19:35
red eagle products
[
{
"name": "SECURITY SECRET DOORS",
"image": "https://xforgeassets001.xboxlive.com/pf-namespace-b63a0803d3653643/eeae5b31-09f2-4b8f-ad8a-a41c8e448c36/SecuritySecretDoors_Thumbnail_0.jpg",
"type": "addon",
"link": "https://www.minecraft.net/en-us/marketplace/pdp?id=f06479e8-6c94-45e1-9067-fac72e911513",
"year": 2024
},
{
"name": "COMBINE ORES Add-On",
{
"version": "1.5.15",
"notes": "See the assets to download this version and install.",
"pub_date": "2024-12-29T11:44:40.417Z",
"platforms": {
"darwin-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUa0kvZVhUczlmRmhraitGb2ZvbDJvOTNDUFhoNkJCd2p0OUZRYkpOdW5yWEp4M05xT2pZZlJBSUJOYkNxRlZQQzZkWVBjNkQ2TUtkZHpKM3F2Y3dyT2ZZNFN1Unk5YVE4PQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM1NjU3NjMyCWZpbGU6UmFpdGEuYXBwLnRhci5negpEam5ib3dYSHZCMTJ4MWg4eUpmdndqQ2NOcnBMME5JUlRuOU9MRXZrRnpKZm0wdjVrN0l2MlVtdU9Nc0JDRTY5MWxvSmFLbDFLNzdnWFpqb05lRitBQT09Cg==",
"url": "https://pub-5abc13a3642144e3bbe06de52f886615.r2.dev/Raita_x64_1.15.15.app.tar..gz"
},
"windows-x86_64": {
@DjakaTechnology
DjakaTechnology / raita_wordpress_export.yaml
Last active April 19, 2023 13:45
Raita WordPress Export Database
---
# Templates
metaDescription: |-
<wp:postmeta>
<wp:meta_key><![CDATA[_yoast_wpseo_metadesc]]></wp:meta_key>
<wp:meta_value><![CDATA[{value}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[rank_math_description]]></wp:meta_key>
<wp:meta_value><![CDATA[{value}]]></wp:meta_value>
domName=insurance
username=administrator
pass=administrator
echo "Creating database..."
echo "DROP DATABASE IF EXISTS wordpress_$domName;"
mysql -e "DROP DATABASE IF EXISTS wordpress_$domName;"
echo "CREATE DATABASE wordpress_$domName;"
mysql -e "CREATE DATABASE wordpress_$domName;"
dbUserName="${username}_${domName}"
echo "This script will copy the WordPress installation into"
echo "/var/www/yourNewSubDomain/html"
echo "--------------------------------------------------"
echo "This setup requires a domain name. If you do not have one yet, you may"
echo "cancel this setup, press Ctrl+C. This script will run again on your next login"
echo "--------------------------------------------------"
echo "Enter the domain name for your new WordPress site."
echo "(ex. example.org or test.example.org) do not include www or http/s"
echo "--------------------------------------------------"
@DjakaTechnology
DjakaTechnology / migrate_to_moshi.main.kts
Last active August 1, 2022 06:14
This will migrate file from gson or regular POJO to moshi
#!/usr/bin/env kotlin
import java.io.File
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
/**
* How to use:
* Run script
<com.google.android.material.button.MaterialButton
android:id="@+id/button_reset"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:text="Reset" />
binding.buttonReset.setOnClickListener {
binding.name = null
}
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:text="@{name}"
visibilityGone="@{name == null}"/>