• Art of concurrent programming in Java


    I’ve been reading every day recently<>, not only making notes (mark down format), but also making mind map. If you are interested, you can read notes on the code cloud and mind map on processon. Code cloud: https://gitee.com/housefun/books/tree/master/javaconcurrent ProcessOn:https://www.processon.com/view/link/5d5fadaae4b06e49191eb2e7

  • Transaction example in JDBC in Java


    [Learning Notes] 7. JDBC transaction example: import java.sql.*; public class MySQlTransaction1 {   public static void main(String[] args) throws SQLException {/*in my sql: create table Accounts(                ID int(4) not null,                NAME varchar(15),                BALANCE int(4),                primary key(ID)            )  type=INNODB;  insert into Accounts values(1,’wangwu’,100);  insert into Accounts values(3,’zhangsan’,300);  insert into Accounts values(4,’lisi’,400);     */    Connection con = null;    […]

  • HTML Basic Notes (Recommendations)


    First, web infrastructure: XML/HTML CodeCopy content to clipboard <html>       <head>                   <title>My first web page</title>       </head>       <body>   This is my first web page.     </body>   </html>   Note: In HTML, tags appear mostly in pairs. There’s a beginning and there’s an end. If the label does not appear in pairs, add / indicate the end of the label. […]

  • Perl Script Learning Guide–Reading Notes


    Undef defaults to undefined characters, Perl does not have NULL, defined ($x) function: if the parameter undef returns false QW (cs PHY geo) is similar to (“cs”, “phy”, “geo”) lists that can be assigned to an array @array Array operators: pop, push, shift, unshit, reverse, reverse, @array = [email protected]; [email protected] {print $;} Prints an array; […]