Skip to content

Instantly share code, notes, and snippets.

View KangHidro's full-sized avatar
🙏
Siêu độ chúng bugs

Kang Hidro KangHidro

🙏
Siêu độ chúng bugs
  • HCMC University of Technology and Education
  • Vietnam
  • Facebook Kang.Hidro
View GitHub Profile
@KangHidro
KangHidro / angular-tinymce-self-host.ts
Last active May 29, 2026 07:41
Angular component for TinyMCE Editor
import { HttpClient } from '@angular/common/http';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, inject } from '@angular/core';
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
import { EditorModule } from '@tinymce/tinymce-angular';
import { lastValueFrom } from 'rxjs';
interface TinyMceBlobInfo {
id: () => string;
name: () => string;
filename: () => string;
@KangHidro
KangHidro / unlimited_trials_babeledit.txt
Created July 3, 2026 03:30 — forked from hannojg/unlimited_trials_babeledit.txt
Activate BabelEdit temporarily / Unlimited trial
Obviously for educative purposes only.
Furthermore, this DOESN'T activate BabelEdit permanently.
If you like the software, buy it, the devs deserve it.
Since I have no money to buy it, I discovered a workaround for unlimited trials.
It's quite a annoying workaround, but ... it works!
Firstly go to "c:\windows\system32\drivers\etc\" and open the "hosts" file in Notepad/Notepad++/VSCode/Sublime/Atom/whatever as admin (if you don't open it as admin, it won't let you save it).
Add this line at the end of the file:
@KangHidro
KangHidro / iphone-auto-click-en.md
Last active July 10, 2026 09:23
Native way to auto click on iPhone/iPad

iOS Auto Click Setup Guide Using Voice Control and Siri

This method allows you to create automated action sequences (macros) directly via voice commands by utilizing the built-in gesture recording feature of the iOS operating system.

Phase 1 - System Configuration

Step 1 - Configure Siri and Voice Control

  • Turn on the Siri virtual assistant to support quickly turning the control feature on or off.
  • Turn off the confirmation mode when disabling Voice Control by going to SettingsAccessibilityVoice ControlCommandsAccessibilityTurn Off Voice Control, and then switching off the Ask for Confirmation option. This ensures that the automated click sequence stops immediately upon command without being interrupted by a system confirmation dialog box.
  • Enable the notification sound when the device successfully recognizes a command by going to SettingsAccessibilityVoice Control, and switching on the Play Sound option.