File->preferences->settings
search python.linting.pylintArgs
add item
–generate-members

~ nginx combine cert ~

Post on (2021.07.12) |nginx | No Comments

cat ssl.domain.crt origin_ca_rsa_root.pem >> ssl.domain.nginx.crt

listen 443 ssl;
listen [::]:443;
ssl on;
ssl_certificate /etc/nginx/ssl/ssl.domain.nginx.crt;
ssl_certificate_key /etc/nginx/ssl/ssl.domain.key;

~ Flash amd bios with hivoos ~

Post on (2021.02.14) |hiveos | No Comments

insert the card to hiveos
farm->worker->overclocking->download vbios->save to local and save to farms
using windows with red bios editor
copy 1500 mhz’s timing to all mhz after 1500
and save
if you have more than 1 memory type on the card do it and save
go back to hiveos set the rig to maintain mode and flash bios and turn on force flashing and reboot

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 

Next Page »

Smiley face

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