Skip to content

Instantly share code, notes, and snippets.

@ooker777
ooker777 / PFM-NLP-Fibery.js
Last active July 4, 2023 17:19
Script quản lý tài chính bằng tiếng Việt tự nhiên trên Fibery
/*
┌───────────────────────────────────────────────────────────────┐
│ Script quản lý tài chính bằng tiếng Việt tự nhiên trên Fibery │
└───────────────────────────────────────────────────────────────┘
• Ở thẻ Actions chọn Created và Updated, với field là Name như hình: https://i.imgur.com/8iVGxfO.png
• Chỉnh sửa danhSáchLoạiChiTiêu và danhSáchPhươngThức theo nhu cầu của bạn
• Số tiền sẽ là các số có đuôi là tr, k, đ, d. Nếu có nhiều giá trị thì sẽ chọn giá trị đứng đằng sau dấu bằng ('='). Dấu thập phân là dấu chấm ('.'). Bạn có thể dùng dấu phẩy để dễ đọc. Nó sẽ được bỏ đi. Ví dụ: 1.2tr, 3,400k, 123,456,700đ, 123,456,700d.
• Nếu kết quả ra -1 nghĩa là có vấn đề
• Để kiểm tra kết quả tính toán, vào thẻ Activity
@ooker777
ooker777 / Adding multiple logos to multiple images.ps1
Last active January 14, 2023 15:25
PowerShell script to run ImageMagick
rm process* -recurse
gci -directory | Foreach-Object {
$folder = $_.name
"Folder: " + $folder
New-Item -Name processed_$folder -ItemType "directory"
New-Item -Name processed_transparent_$folder -ItemType "directory"
cd $folder
# get-location
gci -file | Foreach-Object {
$out="new"+$_.name
<!doctype html>
<html>
<head>
<title>Neovis.js Simple Example</title>
<style type="text/css">
#viz {
width: 100%;
height: 100vh;
border: 1px solid lightgray;
@ooker777
ooker777 / Tracking time.ahk
Last active September 26, 2018 07:26
A simple time tracker in AutoHotkey
; ticker - A Simple Time Tracker
; track your time usage on a daily basis
#InstallKeybdHook
#InstallMouseHook
Menu, Tray, Icon, %A_WinDir%\system32\shell32.dll, 44
Menu, Tray, Tip, ticker - A Simple Time Tracker`nPress numlock to see details
SetWorkingDir, C:\Users\%A_UserName%\Documents
SetTimer, CheckTime, 60000 ; updates every 1 minute