This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
# Script to remove duplicate books in Calibre | |
# 1. Use Calibre's "Find Duplicate" plugin & run check (binary check) to remove all binary files that are duplicated | |
# 2. Run this script, point to the book directory. | |
# How it works? | |
# - Duplicated folders have no ebook format. They only has 2 files: image (book cover) & metadata files. | |
# - This script purge all folders that has less than or equal to 2 files. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Source: https://forum.unity.com/threads/have-words-fade-in-one-by-one.525175/ | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using TMPro; | |
using UnityEngine; | |
public class FadeinTxtSon : MonoBehaviour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace ConsoleApp1 | |
{ | |
public class FrameContainer | |
{ | |
public Frame FirstFrame; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
file_path = "file_path.txt" | |
file_path_output = "file_path_output.json" | |
f = open(file_path, "r", encoding='utf-16') | |
data_raw = f.read() | |
data_raw = data_raw.replace('\\', '') | |
data_raw = data_raw.replace('"{', '{') | |
data_raw = data_raw.replace('}"', '}') |
NewerOlder