Script Home
  • MAC system installation of Python3 first experience

    +Read more
    Author:zyq / Release:2018-1-2 / category:python, ruby / crowd0 views time+ / sofa /
    frontiers , for iOS development, do not disassemble the Python that the system comes from at any time, because there are many library or use Python2.7. 1 1.1 App Store Xcode to install Xcode search and install to install Xcode 1.2 command line tool 1.2.1 terminal to open the command lin...
  • Rails implementation field encrypted storage

    +Read more
    Author:zyq / Release:2017-11-29 / category:ruby / crowd0 views time+ / sofa /
    before storage, encrypted and then stored in the database read, ActiveSupport: is decrypted by KEY: MessageEncryptor Rails is a kind of OpenSSL based on the realization of the package, which can be used on a target for encryption and decryption. For example: salt = SecureRandom.random_byte...
  • Instance analysis in Ruby numeric types, and constants

    +Read more
    Author:zyq / Release:2015-10-21 / category:ruby / crowd1 views time+ / Comments Off on Instance analysis in Ruby numeric types, and constants /
    numeric types (Number) Integer (Integer) Integer points two kinds, if within 31 (4 bytes), the Fixnum instance. If more than that for Bignum instance. Integer range from 230 to 230-1 - or - 262 - to 262-1. In this range is a class of integer Fixnum object, outside the scope of the integer Bignum...
  • Introduction to the basic syntax of Ruby learning tutorial

    +Read more
    Author:zyq / Release:2015-10-21 / category:ruby / crowd1 views time+ / Comments Off on Introduction to the basic syntax of Ruby learning tutorial /
    let's write a simple Ruby program. All Ruby file extension names are. Rb. So, put the source code below in the test. The rb file. Instance #! The/usr/bin/ruby - wPuts "Hello, Ruby!" ; here, assume that you have available under the/usr/bin directory of the Ruby interpreter. Now, try to run the ...
    syntax
  • Rounding the comments in the Ruby language usage and Chinese coding issues

    +Read more
    Author:zyq / Release:2015-10-21 / category:ruby / crowd0 views time+ / Comments Off on Rounding the comments in the Ruby language usage and Chinese coding issues /
    Ruby comments Annotation to Ruby interpreter to hide a line, or part of a line, or lines. You can use at the beginning of the line (#) : #I'm annotation, please ignore me. Or, annotation can follow statement or expression of the same line: Name="Madisetti" #it's comments you can comment mult...
    annotationsChinese codes
  • Ruby basic environment variable is set and the interpreter command is introduced

    +Read more
    Author:zyq / Release:2015-10-21 / category:ruby / crowd0 views time+ / Comments Off on Ruby basic environment variable is set and the interpreter command is introduced /
    Ruby environment variablesThe Ruby interpreter USES the following environment variables to control its behavior. ENV object contains all the current list of environment variables set. For Unix, use the env command to view the list of all the environment variables. HOSTNAME=ip-72-167-112-17.ip....
    command
  • In the operating system installed on the Ruby interpreter tutorial

    +Read more
    Author:zyq / Release:2015-10-21 / category:ruby / crowd0 views time+ / Comments Off on In the operating system installed on the Ruby interpreter tutorial /
    Ruby installation - Linux The following is a list of install Ruby steps in the Linux machine. Note: before installing, make sure you have root access. The source code installation Download the latest version of Ruby compressed files. Please click here to download. After download Ruby, extract to...
    installation

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security