The recent use of Firefox has a problem, the flash version is too old, so that in the version of Firefox "This version has a security risk, should be updated" word. For the Firefox browser, I started to use the flash version of the issue, I also have some of my small tricks, then I will come to one by one show.Tools/Materials
Firefox browser
Computer
Discover problems
1Locate the Firefox browser and open the page where the problem occurs.
2Click the "Open Menu" but
Reference: http://blog.csdn.net/joyhen/article/details/21631833Method 1: This method differs from Ajax because the script tag is not restricted by the same-origin policy.The front end and the background need to contract a receive parameter, and then return a section of JS code.Back-end PHP code:PHP $callback $_get [' Callback ']; $json = ' {' ret ': 1, ' Start ':-1, ' End ':-1, ' Country ': ' \u4e2d\u56fd ', ' Province ': ' \u6c5f\u82cf ', ' City ': ' \U82CF \u5dde "," District ":" "," ISP ":" "
20:41:15Today do a saveorupdate operation error:Org.springframework.orm.hibernate3.hibernatesystemexception:a different object with the same identifier value is Already associated with the session: [com.xshcar.carcloud.entity.uboxtbl#1291]; Nested exception is org.hibernate.nonuniqueobjectexception:a different object with the same identifier value was already Associated with the session: [com.xshcar.carcloud.entity.uboxtbl#1291]A classic hibernate error: A different object with the same identifi
Idea Remote Debug tomcat is simple and configured as follows:1. Modify the Tomcat server configurationOpen tomcat/bin/catalina.shAdd the following parameters in the blank SpaceCatalina_opts= "-xdebug-xrunjdwp:transport=dt_socket,address=xxx.xxx.xx.xx:60222,suspend=n,server=y"description : Address for the Tomcat server IP addresses, which must be filled in (if the LAN IP, the LAN IP, if not filled with IP, may start with 127.0.0.1 this loopback address, resulting in debug failure). The port numbe
MySQL master-slave replication is done by monitoring and synchronizing the host's Binlog logs, and then implementing the recovery, with many reasons for delays between master and slave:1 is to monitor Binlog log files from the server, such as updates every 1 seconds,2 is a SQL execution from the server is too long, some SQL to make a lock table;3 is the primary server transaction is too large, assuming that 1 large transactions have been performed on the primary server for 1 minutes, then the la
,Writes a string to the destination fileNote the problem:1, read the target file default read encoding is the current project encoding instead of the source file encoding, we can use the fileinputstream of the structure containing the encoding to meet our requirements2. It is not necessary to convert the string format after reading each line of string. Just like I made a mistake, I will read the successful string in the form of a new string (GetBytes ("GBK"), "UTF-8"), the format of the file aga
no workaround for ifcfg-eth0 configuration files in CentOS1. In other words, CENTOS6 use NetworkManager mode to manage the network, you can run the following command to confirm:chkconfig--list | grep-i netw2. Close the NetworkManager serviceService NetworkManager Stop3. Turn off NetworkManager bootchkconfig NetworkManager off4. Add a/etc/sysconfig/network-scriipts/ifcfg-eth0 fileDevice=eth0bootproto=staticipaddr=146.175.139.13netmask=255.255.255.0gateway=146.175.139.255hwaddr=00:25:90:81:5e:64Nm
For compiled programs, Chinese characters are not displayed correctly when CMD and power shell are running.Online Search, you can re-order the window to modify:1. Open the CMD.exe command Line window2, change the code page through the chcp command, UTF-8 code page 65001Chcp 65001After you do this, the code page becomes UTF-8.The current window does solve the problem, but the re-opened CMD window or power shell window still does not display the kanji correctly.Finally, the CMD's property settings
to the backend for validation when the form form is submitted.So this solution is to follow this logic, first get csrf_token through an interface, and then submit it to the backend checksum in form formFrom django.template.context_processors import csrfdef get_csrf (Request): #生成 csrf data, sent to front end x = CSRF (Request) Csrf_token = x[' Csrf_token '] return HttpResponse (' {}; {} '. Format (str (re), Csrf_token)) Then add the parameter named: Csrfmiddlewaretoken value
Performance One: The registration page does not have this bugPerformance Two: Binding mobile page has a bugPerformance Three: can set other buttons to fail but cannot set their own failurePerformance four: Only the text area can click the Non-button text area cannot clickWORKAROUND: Overlap A button to display a prompt setting the original button text is emptyAfter the time to recoverThe original codevar wait=60function time (o) { if (wait = = 0) { O.removeattribute ("Disabled");
removed and the program runs normally.But this time yo with a problem, that is, the picture is a disorder.Second question: delete the ImageView tag when the picture is garbledWorkaround: Use the Settag (Int,object) method to set the tag so that the above two issues are resolvedPublic View GetView (int position, View Convertview, ViewGroup parent) {Viewholder holder = null;if (Convertview = = null) {Convertview = Minflater. Inflate(R. Layout. Item_gridview, parent, false);Holder = new Viewholder
Often to embed in the ScrollView ListView, online Method A lot of, but are more cumbersome.I think the better way is as follows:Java code
Import Android.widget.ListView;
/**
* ScrollView embedded in the ListView, let the ListView Show All Out
* @author Reyo
*
*/
Public class Mylistview extends listview{
Public Mylistview (android.content.Context context,android.util.attributeset attrs) {
Super (context, attrs);
}
/**
* Set does not scroll
*/
public void o
of the host connected to the server to prevent DNS spoofing. The recommended setting is "yes".Stricthostkeychecking No: "Stricthostkeychecking" if set to "Yes", SSH will not automatically add the computer's key to "$HOME/.ssh/known_hosts" file, And once the computer's key has changed, it refuses to connect.Identityfile ~/.ssh/identity: "Identityfile" sets the file from which the user's RSA Security authentication identity is read.Port: "Port" is set up to connect to the remote host.Cipher blowf
root of the editor to find:For (var c = 0; cHtml.push (' }Change to:For (var c = 0; cHtml.push (' }different versions of the code may be slightly different.(2 ). found in the ueditor.all.js file:Table.setattribute ("Data-sort", cmd = = "Enablesort"?) "sortenabled": "sortdisabled");Add a line below this code:Table.setattribute ("style", "border-collapse:collapse;");(3 ). found in the ueditor.all.js file:Return ' instead:return ' at this point, then refresh the background, insert a table
Call the Java method with Jstl to report the function equals must be used with a prefix when a default namespace are not specified error.You cannot call an object method directly using an EL expression! ${pagescope.module_lie.id.equals (Parent_ids)} This is the Equals method that calls the ID directly! This is not going to work!With El Please note that the value in El is "." To navigate the ${pagescope.module_lie.id eq Parent_ids}The ${} call in the regular expression cannot invoke the method, t
The first is the inline element, but the left and right titles are misaligned, so set the left button to Float:left. Headerclass= "Right-header"> ahref="#"class= "Tabcourse Active"> spanclass= "Icon-png Icon-prev">span> a> ahref="#"class= "Tabcourse"> spanclass= "Icon-png icon-next">span> a> ahref="#"class= "Refresh Active"> spanclass= "Icon-png Icon-myrefresh">span> a> spanclass= "title">The little Sun that grows happyspan>Header> { float:
value must be greater than or equal to Baxa-l 1: 2. Clear floatingClear the float before the ". Boxa" box 1://css 2:. clear{Clear:both} 3: 4://Modify Boxa 5: 6: 7: 8: 9: or clear the float on the boxb. 1: 3. Add Overflow:hidden to ". Boxa" 1: 2: 3: 4: Second, adjacent two Div overlay overlayThis problem is generally due to the adjacent two Div one using a floating one without using floating, so as to two div overlay overlap phenomenon.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.