The Tribez PC版钻石及金币修改方法

1、从应用商店下载安装最新版本部落游戏,安装后启动,随便点几下以生成存档,退出游戏。 2、游戏存档路径为C:\Users\(你的用户名)\AppData\Local\Packages\0EB8BD08.TheTribez_erk4rrwmt7jyt\LocalState\670F7B37\User-xxxxxxxx,使用winhex软件,打开存档,在ASCII中搜索“Gold:”“Gem:”,单词后跟着的数字就是金币和钻石的数量。用鼠标选中数字,左侧的16进制数值会对应选中,修改每一个两位数的个位数子为9,金币和钻石数量就会变成所有选中的两位数的个位数连起来的数值。 源自百度贴吧,源地址找不到了  

找不到库文件

/usr/bin/ld: cannot find -llapack /usr/bin/ld: cannot find -lblas sudo apt-get install libblas-dev liblapack-dev ERROR: configuration failed for package ¡®XML¡¯ * removing ¡®/home/user/R/x86_64-pc-linux-gnu-library/3.5/XML¡¯ sudo apt-get install libxml2-dev Error, nc-config not found or not executable. This is a script that comes with the netcdf library, version 4.1-beta2 or later, and must be …

常见问题

https://community.rstudio.com/t/biobase-not-available-for-r-version-3-5-1/17761 ΔBiobase not available for R version 3.5.1 should first install the BiocManager package install.packages(“BiocManager”) BiocManager::install(“phyloseq”, version = “3.8”) Δchecking whether pkg-config knows about cairo… no Cannot find cairo.h! you need the cario dev files apt-get install libcairo2-dev I also needed to install the following apt-get install libxt-dev Δ设置 Bioconductor …

Rstudio修改默认library安装位置

查找下在 /usr/lib/R/etc/ 下的 Renviron 文件中。找到这一行 R_LIBS_SITE=${R_LIBS_SITE-‘/home/user/Archive/software/R/x86_64-pc-linux-gnu-library/3.0/:/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library’} 当然上面包含XXX的路径修改成你希望的存储目录即可。 修改之后的再次在R中运行 libPaths() 命令的结果是: > .libPaths() [1] “/home/user/Archive/software/R/x86_64-pc-linux-gnu-library/3.0” [2] “/usr/local/lib/R/site-library” [3] “/usr/lib/R/site-library” [4] “/usr/lib/R/library”  

几个命令

取txt文件值 data=read.table(“1.txt”,header=T) 读值 head(data) windows下 获取当前工作目录 getwd() 相对路径 setwd(“.\\Rsourse”) 上一级目录 setwd(“..\\”) 绝对路径 setwd(“D:\\MySpace\\机器学习\\R\\Rsourse”)  

使用R语言导入不同格式的文件

假如我们要导入C:\Users\user\Desktop路径下的test.csv文件,则输入代码: read.csv(file = “C:\\Users\\user\\Desktop\\test.csv”) 默认情况下,R语言会认为第一行的是数据的标题,假如你的数据的第一行其实并不是标题,那么可以输入代码: read.csv(file = “C:\\Users\\user\\Desktop\\test.csv”,header = F) 下面的代码会将数据赋给对象Mydata: Mydata<-read.csv(file = “C:\\Users\\user\\Desktop\\test.csv”,header = F) 要查看Mydata对象里的数据,直接输入Mydata就可以了: Mydata 原始txt数据中有a、b两列数据,并且它们以“;”号作为分隔符,则: read.table(file = “C:\\Users\\user\\Desktop\\test.txt”,header = T,sep=”;”) 假如分隔符是其他符号,例如百分号“%”,则代码修改为: read.table(file = “C:\\Users\\user\\Desktop\\test.txt”,header = T,sep=”%”)  

squirrelmail

1、更新系统 sudo apt update 2、安装apache2和php5 sudo apt install apache2 如果出现路径锁定问题,使用以下命令 sudo rm /var/lib/dpkg/lock sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock 3、安装postfix sudo apt install postfix 点OK确认,configuration选择默认的项:Internet Site,system mail name默认计算机名 4、重新载入postfix服务 sudo service postfix restart 5、安装dovecot sudo apt install dovecot-imapd dovecot-pop3d 6、重新载入dovecot服务 sudo service dovecot restart 7、安装squirrelmail sudo apt install squirrelmail 8、设置squirrelmail …

Apache2

关于Apache2的几个修改 1、修改端口 vim /etc/apache2/ports.conf 修改Listen 3333 vim /etc/apache2/sites-enabled/000-default.conf 修改第一行<VirtualHost *:3333> 重启服务 2、修改默认路径 vim /etc/apache2/apache2.conf 往下翻页,添加 <Directory /home/user/web> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> vim /etc/apache2/sites-enabled/000-default.conf 更改 DocumentRoot /home/user/web 重启服务 3、修改默认路径到用户目录,并给予修改权限 mkdir /home/user/web vim /etc/apache2/envvars 更改apache用户与组 export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data 修改为: export APACHE_RUN_USER=user export APACHE_RUN_GROUP=user (与你系统的用户同名,避免Apache2 写入权限的问题) 重启服务

Nextcloud_server_well-known

Your web server is not properly set up to resolve “/.well-known/caldav”. _ Your web server is not properly set up to resolve “/.well-known/carddav”. add Redirect 301 /.well-known/carddav https://domain.com/nextcloud/remote.php/dav Redirect 301 /.well-known/caldav https://domain.com/nextcloud/remote.php/dav to nextcloud.conf Alias /nextcloud “/var/www/nextcloud/” <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME …

目录下没有Index文件提示无访问权限

Apache默认在当前目录下没有index.html入口就会显示网站根目录,让网站目录文件都暴露在外面,是一件非常危险的事,例如:数据库密码泄露,隐藏页面暴露等严重安全问题! 进入apache的配置文件 $ sudo vi /etc/apache2/apache2.conf #Debian/Ubuntu systems $ sudo vi /etc/httpd/conf/httpd.conf #RHEL/CentOS systems Options Indexes FollowSymLinks 修改为: Options FollowSymLinks 修改后结果如下: <Directory “/var/www/html”> #    Options None #    Options Indexes FollowSymLinks Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> 其实就是将Indexes去掉,Indexes表示若当前目录没有index.html就会显示目录结构。 重启Apache服务器  /etc/init.d/httpd restart   https://blog.csdn.net/ithomer/article/details/50487296