Open Terminal
~/Library/Android/sdk/platform-tools/adb shell ps | grep <com.xxx.xxx>
to get the pid of the packagname application
And open android studio
On logcat section tick on the pull down menu of regex
Select Edit Filter Configuration
and insert pid, PS: using package name to search is not work well with non-compiled project via android studio.

function make_fat_library {
# Will smash 2 static libs together
# make_fat_library in1 in2 out
lipo -remove arm64 "${2}" -output "${2}" 
xcrun lipo -create "${1}" "${2}" -output "${3}"
}

~ nginx repo on centos 7 ~

Post on (2020.11.27) |centos | No Comments

nano /etc/yum.repos.d/nginx.repo

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

yum update && yum upgrade
rpm -qa | grep nginx
yum remove nginx-mod-http-image-filter nginx-mod-stream nginx-mod-mail nginx-mod-http-perl nginx-all-modules nginx-mod-http-xslt-filter nginx-filesystem

service nginx restart

nano /etc/yum.repos.d/MariaDB.repo

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.5/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

yum update && yum upgrade

nano /etc/my.cnf

Change
log_slow_queries = /var/log/mysql/mysql-slow.log
From
slow-query-log-file = /var/log/mysql/mysql-slow.log

systemctl start mariadb

mysql_upgrade -u root -p

mysql -V

open termial and ssh to the remote server, and create trhe RSA key for the first time connection, then you may push the git smootly

Download the file from the git
https://github.com/iGhibli/iOS-DeviceSupport
copy the folder to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
reboot Xcode

add JavaScriptCore.framework 

~ set object dimension ~

Post on (2020.10.09) |blender | No Comments

select the object and use command <u>

disable strip engine code and build again

use sequence of png set

drag and drop the png to the asset Library

Set the Texture type to Sprite and pixels per unit size to 1

Apply the change

Drag the set of png to the scene

Create new animation.anim

And del the object from the scene

Create a game object UI>image

change the first image to source image , add Component Animator

Controller change the animation which is named as same as set of png

Open Window>Animation>Animation

Delete the missing element

redrag the set of png

done

Next Page »

Smiley face

January 2021
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
晴晴兔的少女回憶 =3=~ All rights reserved.