Tag:Jurisdiction

  • Mysql database file movement and permission settings

    Time:2019-12-10

    New databases emerge in endlessly, MySQL looks like a declining mountain. In fact, there are many people who prefer or use legacy systems and still live in the MySQL world.I haven’t used it for a long time. It’s been more than ten years.But a few days ago, a friend asked me to help them upgrade […]

  • MySQL LAN remote connection settings – Windows

    Time:2019-12-8

    In my work, I met that MySQL database is stored on my computer, and other computers need to read and write data together (similar to redis concurrency), so my computer must open MySQL remote connection. I. authorization 1. Connect to database   mysql -uroot -p    2. Select system library, MySQL   use mysql; Of course, you […]

  • [chrome source reading series] chrome multi process architecture

    Time:2019-12-5

    This document describes the top-level architecture design of chromium Background of problem It is basically impossible to build a rendering engine without crash and suspension, and it is also basically impossible to build a completely safe rendering engine. To some extent, the web browser around 2006 is just like the operating system of single user […]

  • Symfonos:3 Vulnhub Walkthrough

    Time:2019-12-4

    Host scan: ╰─ nmap -p1-65535 -sV -A -sT 10.10.202.130 Starting Nmap 7.70 ( https://nmap.org ) at 2019-08-04 15:20 CSTNmap scan report for 10.10.202.130Host is up (0.00085s latency).Not shown: 65532 closed portsPORT STATE SERVICE VERSION21/tcp open ftp ProFTPD 1.3.5b22/tcp open ssh OpenSSH 7.4p1 Debian 10+deb9u6 (protocol 2.0)| ssh-hostkey: | 2048 cd:64:72:76:80:51:7b:a8:c7:fd:b2:66:fa:b6:98:0c (RSA)| 256 74:e5:9a:5a:4c:16:90:ca:d8:f7:c7:78:e7:5a:86:81 (ECDSA)|_ 256 […]

  • PRISMA reverse proxy

    Time:2019-11-29

    outline Why do you want to be the reverse proxy of Prisma Reverse proxy example (by golang) PRISMA services Gateway service Whole process Authentication Reverse proxy Jurisdiction summary outline I have been in contact with PRISMA for some time, during which I also used several other frameworks for automatic generation of graphql interface. Generally speaking, […]

  • Android status bar notification

    Time:2019-11-28

    private NotificationManager manager; private Notification.Builder builder; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); //Create a notification management class manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); builder = new Notification.Builder(this); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub Intent intent = new Intent(MainActivity.this, MainActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(MainActivity.this, […]

  • (transfer) go new file permission does not match the setting

    Time:2019-11-24

    Original: https://blog.csdn.net/lipengfeihb/article/details/54415283 I. Problems fileName := “/Users/my/tests/perm_file” f, _ := os.OpenFile(fileName, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0666) // code f.Close() The above code is to open a file. If the file does not exist, a new file will be created. At the same time, the permissions are set to 0666 (- RW RW RW RW -), but the permissions […]

  • [study notes] brother Lian’s linux video course (Shen Chao and Li Ming)

    Time:2019-11-24

    Find your own Linux level and find a video tutorial to learn 1 Introduction to Linux system 1.1 UNIX and Linux development history History of unix development: in 1969, Ken Thompson of Bell Laboratories in the United States developed UNIX system. In 1971, Dennis Ritchie invented C language. In 1973, UNIX was rewritten with C […]

  • Record a load of IIS service of Win2003 server. How to deal with resource Error 404 with flv suffix

    Time:2019-11-21

    Problem: visit xxxx.flv resource under a domain name, and Error 404 is reported on the page. Solution: 1. Whether the authority is sufficient User permissions are under full control If you have no problem accessing other resources under the domain name, it’s not an introduction 2. Are MIME types missing Check whether there is. Flv […]

  • dpwwn:2 Vulnhub Walkthrough

    Time:2019-11-19

    This image is configured with a static IP address of 10.10.10.10. You need to adjust the network Host layer scan: ╰─ nmap -p1-65535 -sV -A 10.10.10.10    80/tcp    open  http      Apache httpd 2.4.38 ((Ubuntu)) 443/tcp   open  ssl/https Apache/2.4.38 (Ubuntu) 2049/tcp open nfs_acl 3 (RPC #100227)34153/tcp open nlockmgr 1-4 (RPC #100021)46643/tcp open mountd […]

  • Change the write permission of files in Android device system directory

    Time:2019-11-18

    Sometimes we need to modify the permissions of files in the / system directory, such as setting the write permissions of scripts in the directory, but the directory only has read permissions by default. What should we do at this time? 1. Ensure root for Android devices;2. Connect the Android device, make sure that the […]

  • MySQL learning one query SQL execution process

    Time:2019-11-17

    I believe that everyone has been exposed to MySQL database and will definitely write SQL. I don’t know if you feel this way. Anyway, I have such an idea. It is when I finish writing an SQL statement and execute it to get the desired result. At this time, I was wondering why I can […]