Skip to main content

Posts

A tiny web3 pet that costs you nothing but attention

 I've been quiet here, but not idle. For the past few weeks I've been building Solgotchi — a small pixel creature you raise in a handheld-style device that sits in a browser tab. No download, no app store, no wallet transaction. You sign in (Solana wallet or Google, whichever you prefer), get one pet per account, and feed it. What it actually is Every pet is generated from a hash: colours, face, and one of twelve body shapes. The shape is rolled once at birth and never changes — and that shape decides its rarity:   Common, 70%      round, blob, cat, dog   Uncommon, 20%    bunny, frog, fish   Rare, 8%         spiky, dino, grey   Super rare, 2%   alien, ghost So a ghost is roughly 1 in 100. It gives no gameplay advantage. It's just a nicer silhouette to stare at for four hours. The loop - Feeding unlocks every 4 hours: 100 coins and some XP. - Treats raise bond: +2 each, plus +2 on the first one each day....
Recent posts

Wireless debugging on Android

 I'm not sure which version of android required to have this feature. For my Redmi 9S follow steps below navigate to  -Settings -> Additional settings-> Developer options -> Wireless debugging   and enable it then click "Pair device with pairing code" then on your laptop (ip port and code are not exactly same with code below😅) zsh 1010 % adb pair 192.168.1.213:41855 Enter pairing code: 185176 Successfully paired to 192.168.1.213:41855 [guid=adb-eee2c79f-MOsHVT] [ Sun 23/09/10 23:14 +07 ][ s002 ][ x86_64/darwin22.0/22.5.0 ][ 5.9 ] < medici@medicis-MacBook-Pro : ~ > zsh 1011 % flutter devices               1 connected device: macOS (desktop) • macos • darwin-arm64 • macOS 13.4.1 22F770820d darwin-arm64 1 wirelessly connected device: Redmi Note 9S (mobile) • adb-eee2c79f-MOsHVT._adb-tls-connect._tcp. • android-arm64 • Android 12 (API 31) [ Sun 23/09/10 23:14 +07 ][ s002 ][ x86_64/darwin22.0/22.5.0 ][ 5.9 ] < medi...

Connie

I'm talking my latest omega. I just get into collectable vintage world few months ago, after playing around aliexpress homage watch for a while. There is nothing wrong with chinese homage watch but I will talk about that later If you gonna buy a vintage omega watch. The constellation is a flagship model you have to look into. Mine is ref. 14902, caliber 561, dogleg, pie pan dial For this model, other than beatiful clean dial, a good condition to consider is sharp edge, correct crown(not only decagonal crown, the omega logo should also have same shape as one on the dial) the medal on back case I guess mine is looking good

A Watch collector

 During covid time, work from home give me a new hobby, watch collecting😎. Just 1 year+ I have at maximum 11 watches in my collection. From 3861 speedy(most expensive one) to AliExpress homage 60 USD watch. Currently, I sell some that I don't like. Trying to build a collection that can keep value overtime. How can I post a picture 🥲? update: at last i found the way. The first and the latest omega.

php mail function is very slow + wordpress didn't send mail

I host my another site on my own server [ubuntu+apache+wordpress] and notice that notification mail function on my site is not work. After install sendmail, php mail function is working fine but very slow. If you also have this problem, below is how i fix it. first make sure your /etc/hosts file first line look like this 127.0.0.1 localhost.localdomain localhost yourhostname hostname can found on /etc/hostname. Now php mail function should work correctly. But wordpress still deny to send mail out. This have to fix with little hack[ i don't have other better way yet ]. 1. edit file "wp-includes/class-phpmailer.php". 2. Looking for the line 'public $From = 'root@localhost';'. 3. Change root@localhost to something else like name@yourhost.com. I don't know why but this work for me. :)

putting sqlite3 on nexus s

i just notice that there is no sqlite3 on samsung nexus s (official ICS ROM) and i need it in debugging my application database. so i download it from somewhere on internet can't remember. Anyway the one that come with android sdk linux version should be fine to put it on phone. and here is what i do. E:\android-sdk-windows-1.5_r2\platform-tools>adb shell shell@android:/ $ su su shell@android:/ # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system shell@android:/ # dd if=/sdcard/sqlite3 of=/system/bin/sqlite3 dd if=/sdcard/sqlite3 of=/system/bin/sqlite3 47+1 records in 47+1 records out 24120 bytes transferred in 0.003 secs (8040000 bytes/sec) shell@android:/ # chmod 4755 /system/bin/sqlite3 chmod 4755 /system/bin/sqlite3 shell@android:/ # mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system shell@android:/ # sqlite3 sqlite3 SQLite version 3.7.4 Enter...