- linux json编译报错
nancynull
c++Linuxlinuxc++编译
背景:ubuntu16.04,使用apt-get安装过jsoncpp问题一:编译时报找不到json.h问题二:编译.so时,提示/usr/bin/ld:cannotfind-ljson解决方案:https://stackoverflow.com/questions/36861355/fatal-error-with-jsoncpp-while-compiling具体翻译如下:针对问题一:修改#in
- 淘宝教育的视频打不开
云雀_
CameraImageQualityTestsoftwareskill
淘宝教育的视频打不开,显示:“亲~该课程还未通过审核哦”因为在学习淘宝教育上的课程:所以想在Ubuntu16.04下观看视频;可是打不开哈Browser:google-chrome-stable(89.0.4389.82-1)尝试其它的Browser,下面的Brwoser好像可以,要用一段时间才知道好用不Browser:palemoon(29.1.1-1.gtk2)(downloadweb:htt
- Ubuntu 16.04安装Java JDK
一杯茶一本书
JavaJDK有两个版本,一个开源版本Openjdk,还有一个oracle官方版本jdk。下面记录在Ubuntu16.04上安装JavaJDK的步骤。安装openjdk的步骤更新软件包列表:sudoapt-getupdate安装openjdk-8-jdk:sudoapt-getinstallopenjdk-8-jdk查看java版本:java-version安装oracleJavaJDK首先,安装
- 如何在Ubuntu 16.04上使用Let‘s Encrypt保护Apache2
JKooll
sharecodeubuntulet'sencryptapachehttps
原文:https://zhaoshuquan.com/posts/如何在ubuntu-16.04上使用lets-encrypt保护apache2/介绍本教程将向您展示如何在运行Apache作为Web服务器的Ubuntu16.04服务器上设置Let’sEncrypt的TLS/SSL证书。Web服务器中使用SSL证书来加密服务器和客户端之间的流量,为访问应用程序的用户提供额外的安全性。让我们的加密提供
- ur5在gazebo中仿真的官方源码浅析
Ecalpal
机器人其他
一复现好久之前初学ros+gazebo机械臂仿真的时候总有些懵,用的是ur5机械臂,现在回过头来看好像看懂了一些,故重新理清了一下功能包的逻辑,方便查阅。官方源码本文参考ubuntu16.04安装UR3/UR5/UR10机械臂的ROS驱动并实现gazebo下Moveit运动规划仿真以及真实UR3机械臂的运动控制(1)1.1roslaunchur_gazebour5.launch1.1.1找gaze
- ubuntu升级python版本
TimeDoor
pythonpython版本升级
Ubuntu16.04默认安装了Python2.7和3.5请注意,系统自带的python千万不能卸载!输入命令python按Ctrl+D退出python命令行输入命令sudoadd-apt-repositoryppa:jonathonf/python-3.6按Enter确认输入命令sudoapt-getupdate输入命令sudoapt-getinstallpython3.6按Y确认调整Pytho
- 火狐linux ubuntu16.04,在Ubuntu16.04系统上更新FireFox浏览器(即火狐浏览器)到最新版本...
憋人的故事
火狐linuxubuntu16.04
前言难点在于我下载的是一个压缩包firefox-61.0.2.tar.bz2,没法按照正常流程安装,所以才写这篇博客记录一下。一、找到FireFox的更新版本并下载1)我之前的版本是Firefox54,按照浏览器的提示是:alreadyoutofdate;而且旧版本的真心不好用,所以我打算更新一下。点击右侧的菜单栏,里面有个help->AboutFirefox,点进去:AboutMozillaFi
- linux 火狐源码,Ubuntu 16.04下源码编译Firefox
黑田光
linux火狐源码
因为出于工作项目需要,得完成在Ubuntu下的Firefox源码编译网上的教程多是在windows环境下的,而且也没有正经的教程有的也只是讲道理,它因为要考虑照顾到所有可能用户的需求,所以把教程写的很啰嗦,繁琐,真的不是很想看下。然后我就将其步骤简化了一下,略去各种乱七八糟的情况,整理下无脑版Ubuntu16.04下源码编译Firefox当然主要参考的还是上述的官方教程。0.Ubuntu16.04
- Ubuntu 16.04系统下更新Firefox浏览器
jun778895
ubuntufirefox腾讯云
在Ubuntu16.04系统下更新Firefox浏览器到最新版本是一个相对直接但需要注意细节的过程。由于Ubuntu16.04是一个较旧的操作系统版本,其默认的软件包管理器apt可能无法提供最新版本的Firefox。因此,用户通常需要手动下载Firefox的最新版本并进行安装。以下是一个详细的步骤指南,帮助您在Ubuntu16.04系统下更新Firefox浏览器。一、准备工作备份当前Firefox
- Ubuntu 16.04下Firefox版本更新
Min_nna
ai分析firefox
在Ubuntu16.04上更新Firefox版本,可以通过几种不同的方法来完成。以下是一些常用的方法:方法1:通过Ubuntu软件包管理器(APT)更新软件包列表:打开终端,输入以下命令以更新软件包列表:sudoaptupdate升级Firefox:然后,使用以下命令来升级Firefox:sudoaptupgradefirefox确认安装:如果有可用的更新,系统将提示你确认安装。输入Y并按下Ent
- docker安装实验和docker容器的使用,云计算技术与应用报告
不自律的自律_input
云计算docker
题目:Docker的安装和使用实验环境:ubuntu16.04,虚拟机的网络模式设为NAT模式,IP地址通过虚拟DHCP服务器自动分配。实验内容和要求:安装Docker并进行相关实验,熟悉Docker的相关操作。实验包括Docker的安装、镜像和容器的使用、容器的连接、容器间的通信和Nginx的使用。实验原理和机制:Docker是一种构建在LXC之上,基于进程容器的轻量级虚拟化解决方案,实现了应用
- 【踩坑】ubuntu18.04下安装cuda11.03踩坑要点
北溟客
ubuntulinuxcuda
本人安装cuda11.03最初是在ubuntu16.04上进行的,涉及到了Xserver等问题,一度把电脑整崩溃。后直接安装ubuntu18.04.05LTS很多问题迎刃而解。首先在软件和更新的附加驱动中安装最新版的显卡驱动,使用命令lsmod|grepnouveau检查是否已经禁用nouveau,在ubuntu18.04.05LTS中本身就是直接禁用了的。然后在NVIDIA官网上下载了cuda_
- ubuntu16.04编译Firmware和Flow遇到的一些问题及其解决
Cancer_Mo
PX4FLOWubuntu自动驾驶
ubuntu16.04编译Firmware和Flow遇到的一些问题及其解决PX4QGroundControlPX4ToolChainPX4想按照官网编译PX4的Firmware和Flow源代码,途中不是很顺利。可能是官网文档针对ubuntu18.04做了一些内容调整,导致网上的博客不能很好的解决我遇到的问题。再加上我自己眼瞎,漏了一些步骤。不过我东搜西找瞎捉摸也还是成功了。QGroundContr
- Ubuntu 16.04下Firefox版本更新
程序员小羊!
杂文ubuntufirefox腾讯云
大家好,我是程序员小羊!前言:在Ubuntu16.04上更新Firefox的过程可能涉及多个步骤,具体取决于你的需求,比如是要安装一个稳定版本,还是需要使用最新的开发者版本或beta版本。下面我将详细介绍如何在Ubuntu16.04系统上更新Firefox的步骤,包括使用包管理工具和手动安装两种方法。1.使用APT包管理器更新FirefoxAPT(AdvancedPackageTool)是Ubun
- Ubuntu 16.04下Firefox版本更新
天蓝蓝23528
ubuntufirefox腾讯云
在Ubuntu16.04系统下更新Firefox浏览器到最新版本是一个相对直接但需要注意细节的过程。由于Ubuntu16.04是一个较旧的操作系统版本,其默认的软件包管理器apt可能无法提供最新版本的Firefox。因此,用户通常需要手动下载Firefox的最新版本并进行安装。以下是一个详细的步骤指南,帮助您在Ubuntu16.04系统下更新Firefox浏览器。一、准备工作备份当前Firefox
- ubuntu16.04安装 ambari 2.7.3的环境准备工作
lbl251
0、登录官网先看下资料https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/setup_options.html1、准备好安装包(ambari安装包)(要用root用户最好)https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.
- ubuntu16下搭建web服务器以及数据库
AI_Engine
我的公众号:AIEngine(I是大写的i啦!!!)前几日有位关注本人公众号的朋友想咨询下如何0起步搭建web服务器并关联数据库,正巧之前也有人问过类似的问题,今天留下干货一篇,搭建的环境正好也可当做靶机使用。对于大神们可以绕道,不过哪里说的不对欢迎指教啊~首先呢,我们搭建一台ubuntu16.04的虚拟机(方便试验,真实情况当然是要有一台服务器了),然后安装openssh-server(open
- 在Ubuntu16.04里安装ROS Kinetic
stxinu
ROS机器人ROSlinuxubuntu
1.设置apt的sourcelistsudosh-c'echo"debhttp://packages.ros.org/ros/ubuntu$(lsb_release-sc)main">/etc/apt/sources.list.d/ros-latest.list'2.设置gpdkeyssudoapt-keyadv--keyserverhkp://ha.pool.sks-keyservers.net
- [转载]ubuntu16.04安装python3.7
廷裕同学
1.安装依赖包sudoapt-getupdatesudoapt-getinstallbuild-essentialpython-devpython-setuptoolspython-pippython-smbussudoapt-getinstallbuild-essentiallibncursesw5-devlibgdbm-devlibc6-devsudoapt-getinstallzlib1g-
- pypbc双线性对库的使用
一定会成为大牛的小宋
python密码学
pypbc是python中使用双线性配对运算的库,在密码学中双线性对是经常使用到的运算。pypbc的安装请参照ubuntu16.04安装pypbc库pypbc中提供了Parameters、Pairing、Element三个类Parameters生成参数:由于是在椭圆曲线上生成的双线性对,PBC库提供了几种不同的曲线,pypbc一般取的是a类曲线,具体参照PBCLibraryManual0.5.14
- install Ubuntu again
我爱丐帮帮主
ubuntulinux运维
参考链接:Windows下安装Ubuntu双系统(更新)-duan22677-博客园这里的总的空间是120G它里面指出双系统的时候,/boot应该是主分区参考链接:win10下安装Ubuntu16.04双系统_windows10安装引导ubuntu-CSDN博客这里面讲到了,如果是EFI的话还需要进行EFI设置以及各个分区的含义参考链接:Win10与Ubuntu18.04双系统安装。(Win10引
- linux磁盘操作 压缩 解压
Denzel张
linuxlinux运维centos
xz文件解压xz-d***linux-tar分巻压缩linux-tar分卷压缩与解压缩_六号码头的博客-CSDN博客如何把文件压缩到最小先压缩成.tar再将tar压缩为.xzxz**(此时会很慢)7zapt-getinstallp7zip-full解压7zx解压zip文件乱码ubuntu16.04系统解压zip文件文件名乱码_howell-CSDN博客_ubuntu解压zip乱码sudoapt-g
- Linux/Ubuntu16.04安装kafka
前端技术小咖
最近开发的项目计划使用Kafka来实现日志系统,开发的过程中在自己的服务器上搭建了Kafka的开发环境,由于我的服务器是Ubuntu16.04.7LTS(GNU/Linux5.6.7-050607-genericx86_64),下面以Ubuntu16.04为例讲解Kafka的安装步骤。Kafka的运行依赖Java8和ZooKeeper两个环境,所以下面将从安装JDK8和ZooKeeper的环境开始
- 移动机器人激光SLAM导航(五):Cartographer SLAM 篇
Robot_Yue
自主探索导航学习SLAMCartographer工程化调参
参考Cartographer官方文档Cartographer从入门到精通1.Cartographer安装1.1前置条件推荐在刚装好的Ubuntu16.04或Ubuntu18.04上进行编译ROS安装:ROS学习1:ROS概述与环境搭建1.2依赖库安装资源下载完解压并执行以下指令https://pan.baidu.com/s/1LWqZ4SOKn2sZecQUDDXXEw?pwd=j6cf$sudo
- ubuntu16.04添加网络打印机报错
冬风十里Y
1、首先报错cupsclienterrordocumentformatnotsupported谷歌了尝试了一大堆解决方法没有用。尝试从local:6300配置也无果。大部分回答建议修改.conf文件。或者reinstallcupsorrestartcups.后来看到https://bbs.archlinux.org/viewtopic.php?id=108145建议说Ialsohadtoinsta
- Ubuntu16.04下HBase安装笔记
bluexiii
基础准备JDKHadoopSSHServer下载HBasehttps://hbase.apache.org/tar-zxvfhbase-1.4.2-bin.tar.gzsudomvhbase-1.4.2/opt/hbase系统环境变量exportHBASE_MANAGES_ZK=trueexportHBASE_HOME=/opt/hbaseexportPATH=$PATH:/opt/hbase/b
- 深度学习环境下一些有用的链接
星海之眸
UsefulLinksAboutsystem初始安装系统的一些主要链接Ubuntu16.04系统美化输入法的安装wechat安装matlab安装ubuntu下matlab启动报错java.lang.runtime.Exception**********************,则执行这个命令:sudochmod-Ra+rw~/.matlabAboutMachineLearningtensorflo
- 【XR806开发板试用】基于鸿蒙L0系统的智能WIFI台灯开发(简易版)
极术社区
开发板测评harmonyos单片机华为
【XR806开发板试用】基于鸿蒙L0系统的智能WIFI台灯开发(简易版)本文参与极术社区的《基于安谋科技STAR-MC1的XR806开发板试用》活动。一、环境搭建及固件编译环境搭建的过程就不说了,参考官方的教程,以下提及需要注意的几个点。1.在windows系统下会遇到各种各样的问题,推荐使用Linux系统环境。且为64位系统,官方推荐系统要求:Ubuntu16.04及以上64位系统版本。本人使用
- ubuntu16.04安装python3.6.5并配置tensorflow1.7_亲自测试Ubuntu17.04(16.04)+Nvidia GT 640LE+CUDA9.0+cuDNN7.05+Te...
weixin_39793434
Ubuntu17.04(16.04)+NvidiaGT640LE+CUDA9.0+cuDNN7.05+Tensorflow1.5(GPU)+Anaconda5.01(python3.6)配置安装注:官方已经不支持ubuntu17.04了,所以将环境迁移到ubuntu16.04下,同样的编译环境编译成功。一、详细的安装环境:1、硬件环境:Intel酷睿3代i5(3210m-cpu)/GeforceG
- 群晖Docker部署Ubuntu16.04搭建Django开发环境
Van_Schrodinger
项目场景:在群晖中搭建基于Ubuntu的Django开发环境,涉及Docker,Ubuntu,Python,Django,MySQL准备工作:1.准备一台部署群晖DSM系统的NAS服务器2.群晖中安装Docker套件3.安装Ubuntu映像并启用容器实施步骤:1.安装setuptoolswget--no-check-certificatehttps://files.pythonhosted.org
- 多线程编程之理财
周凡杨
java多线程生产者消费者理财
现实生活中,我们一边工作,一边消费,正常情况下会把多余的钱存起来,比如存到余额宝,还可以多挣点钱,现在就有这个情况:我每月可以发工资20000万元 (暂定每月的1号),每月消费5000(租房+生活费)元(暂定每月的1号),其中租金是大头占90%,交房租的方式可以选择(一月一交,两月一交、三月一交),理财:1万元存余额宝一天可以赚1元钱,
- [Zookeeper学习笔记之三]Zookeeper会话超时机制
bit1129
zookeeper
首先,会话超时是由Zookeeper服务端通知客户端会话已经超时,客户端不能自行决定会话已经超时,不过客户端可以通过调用Zookeeper.close()主动的发起会话结束请求,如下的代码输出内容
Created /zoo-739160015
CONNECTEDCONNECTED
.............CONNECTEDCONNECTED
CONNECTEDCLOSEDCLOSED
- SecureCRT快捷键
daizj
secureCRT快捷键
ctrl + a : 移动光标到行首ctrl + e :移动光标到行尾crtl + b: 光标前移1个字符crtl + f: 光标后移1个字符crtl + h : 删除光标之前的一个字符ctrl + d :删除光标之后的一个字符crtl + k :删除光标到行尾所有字符crtl + u : 删除光标至行首所有字符crtl + w: 删除光标至行首
- Java 子类与父类这间的转换
周凡杨
java 父类与子类的转换
最近同事调的一个服务报错,查看后是日期之间转换出的问题。代码里是把 java.sql.Date 类型的对象 强制转换为 java.sql.Timestamp 类型的对象。报java.lang.ClassCastException。
代码:
- 可视化swing界面编辑
朱辉辉33
eclipseswing
今天发现了一个WindowBuilder插件,功能好强大,啊哈哈,从此告别手动编辑swing界面代码,直接像VB那样编辑界面,代码会自动生成。
首先在Eclipse中点击help,选择Install New Software,然后在Work with中输入WindowBui
- web报表工具FineReport常用函数的用法总结(文本函数)
老A不折腾
finereportweb报表工具报表软件java报表
文本函数
CHAR
CHAR(number):根据指定数字返回对应的字符。CHAR函数可将计算机其他类型的数字代码转换为字符。
Number:用于指定字符的数字,介于1Number:用于指定字符的数字,介于165535之间(包括1和65535)。
示例:
CHAR(88)等于“X”。
CHAR(45)等于“-”。
CODE
CODE(text):计算文本串中第一个字
- mysql安装出错
林鹤霄
mysql安装
[root@localhost ~]# rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm Preparing... #####################
- linux下编译libuv
aigo
libuv
下载最新版本的libuv源码,解压后执行:
./autogen.sh
这时会提醒找不到automake命令,通过一下命令执行安装(redhat系用yum,Debian系用apt-get):
# yum -y install automake
# yum -y install libtool
如果提示错误:make: *** No targe
- 中国行政区数据及三级联动菜单
alxw4616
近期做项目需要三级联动菜单,上网查了半天竟然没有发现一个能直接用的!
呵呵,都要自己填数据....我了个去这东西麻烦就麻烦的数据上.
哎,自己没办法动手写吧.
现将这些数据共享出了,以方便大家.嗯,代码也可以直接使用
文件说明
lib\area.sql -- 县及县以上行政区划分代码(截止2013年8月31日)来源:国家统计局 发布时间:2014-01-17 15:0
- 哈夫曼加密文件
百合不是茶
哈夫曼压缩哈夫曼加密二叉树
在上一篇介绍过哈夫曼编码的基础知识,下面就直接介绍使用哈夫曼编码怎么来做文件加密或者压缩与解压的软件,对于新手来是有点难度的,主要还是要理清楚步骤;
加密步骤:
1,统计文件中字节出现的次数,作为权值
2,创建节点和哈夫曼树
3,得到每个子节点01串
4,使用哈夫曼编码表示每个字节
- JDK1.5 Cyclicbarrier实例
bijian1013
javathreadjava多线程Cyclicbarrier
CyclicBarrier类
一个同步辅助类,它允许一组线程互相等待,直到到达某个公共屏障点 (common barrier point)。在涉及一组固定大小的线程的程序中,这些线程必须不时地互相等待,此时 CyclicBarrier 很有用。因为该 barrier 在释放等待线程后可以重用,所以称它为循环的 barrier。
CyclicBarrier支持一个可选的 Runnable 命令,
- 九项重要的职业规划
bijian1013
工作学习
一. 学习的步伐不停止 古人说,活到老,学到老。终身学习应该是您的座右铭。 世界在不断变化,每个人都在寻找各自的事业途径。 您只有保证了足够的技能储
- 【Java范型四】范型方法
bit1129
java
范型参数不仅仅可以用于类型的声明上,例如
package com.tom.lang.generics;
import java.util.List;
public class Generics<T> {
private T value;
public Generics(T value) {
this.value =
- 【Hadoop十三】HDFS Java API基本操作
bit1129
hadoop
package com.examples.hadoop;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoo
- ua实现split字符串分隔
ronin47
lua split
LUA并不象其它许多"大而全"的语言那样,包括很多功能,比如网络通讯、图形界面等。但是LUA可以很容易地被扩展:由宿主语言(通常是C或 C++)提供这些功能,LUA可以使用它们,就像是本来就内置的功能一样。LUA只包括一个精简的核心和最基本的库。这使得LUA体积小、启动速度快,从 而适合嵌入在别的程序里。因此在lua中并没有其他语言那样多的系统函数。习惯了其他语言的字符串分割函
- java-从先序遍历和中序遍历重建二叉树
bylijinnan
java
public class BuildTreePreOrderInOrder {
/**
* Build Binary Tree from PreOrder and InOrder
* _______7______
/ \
__10__ ___2
/ \ /
4
- openfire开发指南《连接和登陆》
开窍的石头
openfire开发指南smack
第一步
官网下载smack.jar包
下载地址:http://www.igniterealtime.org/downloads/index.jsp#smack
第二步
把smack里边的jar导入你新建的java项目中
开始编写smack连接openfire代码
p
- [移动通讯]手机后盖应该按需要能够随时开启
comsci
移动
看到新的手机,很多由金属材质做的外壳,内存和闪存容量越来越大,CPU速度越来越快,对于这些改进,我们非常高兴,也非常欢迎
但是,对于手机的新设计,有几点我们也要注意
第一:手机的后盖应该能够被用户自行取下来,手机的电池的可更换性应该是必须保留的设计,
- 20款国外知名的php开源cms系统
cuiyadll
cms
内容管理系统,简称CMS,是一种简易的发布和管理新闻的程序。用户可以在后端管理系统中发布,编辑和删除文章,即使您不需要懂得HTML和其他脚本语言,这就是CMS的优点。
在这里我决定介绍20款目前国外市面上最流行的开源的PHP内容管理系统,以便没有PHP知识的读者也可以通过国外内容管理系统建立自己的网站。
1. Wordpress
WordPress的是一个功能强大且易于使用的内容管
- Java生成全局唯一标识符
darrenzhu
javauuiduniqueidentifierid
How to generate a globally unique identifier in Java
http://stackoverflow.com/questions/21536572/generate-unique-id-in-java-to-label-groups-of-related-entries-in-a-log
http://stackoverflow
- php安装模块检测是否已安装过, 使用的SQL语句
dcj3sjt126com
sql
SHOW [FULL] TABLES [FROM db_name] [LIKE 'pattern']
SHOW TABLES列举了给定数据库中的非TEMPORARY表。您也可以使用mysqlshow db_name命令得到此清单。
本命令也列举数据库中的其它视图。支持FULL修改符,这样SHOW FULL TABLES就可以显示第二个输出列。对于一个表,第二列的值为BASE T
- 5天学会一种 web 开发框架
dcj3sjt126com
Web框架framework
web framework层出不穷,特别是ruby/python,各有10+个,php/java也是一大堆 根据我自己的经验写了一个to do list,按照这个清单,一条一条的学习,事半功倍,很快就能掌握 一共25条,即便很磨蹭,2小时也能搞定一条,25*2=50。只需要50小时就能掌握任意一种web框架
各类web框架大同小异:现代web开发框架的6大元素,把握主线,就不会迷路
建议把本文
- Gson使用三(Map集合的处理,一对多处理)
eksliang
jsongsonGson mapGson 集合处理
转载请出自出处:http://eksliang.iteye.com/blog/2175532 一、概述
Map保存的是键值对的形式,Json的格式也是键值对的,所以正常情况下,map跟json之间的转换应当是理所当然的事情。 二、Map参考实例
package com.ickes.json;
import java.lang.refl
- cordova实现“再点击一次退出”效果
gundumw100
android
基本的写法如下:
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
//navigator.splashscreen.hide();
document.addEventListener("b
- openldap configuration leaning note
iwindyforest
configuration
hostname // to display the computer name
hostname <changed name> // to change
go to: /etc/sysconfig/network, add/modify HOSTNAME=NEWNAME to change permenately
dont forget to change /etc/hosts
- Nullability and Objective-C
啸笑天
Objective-C
https://developer.apple.com/swift/blog/?id=25
http://www.cocoachina.com/ios/20150601/11989.html
http://blog.csdn.net/zhangao0086/article/details/44409913
http://blog.sunnyxx
- jsp中实现参数隐藏的两种方法
macroli
JavaScriptjsp
在一个JSP页面有一个链接,//确定是一个链接?点击弹出一个页面,需要传给这个页面一些参数。//正常的方法是设置弹出页面的src="***.do?p1=aaa&p2=bbb&p3=ccc"//确定目标URL是Action来处理?但是这样会在页面上看到传过来的参数,可能会不安全。要求实现src="***.do",参数通过其他方法传!//////
- Bootstrap A标签关闭modal并打开新的链接解决方案
qiaolevip
每天进步一点点学习永无止境bootstrap纵观千象
Bootstrap里面的js modal控件使用起来很方便,关闭也很简单。只需添加标签 data-dismiss="modal" 即可。
可是偏偏有时候需要a标签既要关闭modal,有要打开新的链接,尝试多种方法未果。只好使用原始js来控制。
<a href="#/group-buy" class="btn bt
- 二维数组在Java和C中的区别
流淚的芥末
javac二维数组数组
Java代码:
public class test03 {
public static void main(String[] args) {
int[][] a = {{1},{2,3},{4,5,6}};
System.out.println(a[0][1]);
}
}
运行结果:
Exception in thread "mai
- systemctl命令用法
wmlJava
linuxsystemctl
对比表,以 apache / httpd 为例 任务 旧指令 新指令 使某服务自动启动 chkconfig --level 3 httpd on systemctl enable httpd.service 使某服务不自动启动 chkconfig --level 3 httpd off systemctl disable httpd.service 检查服务状态 service h