Daily Thoughts Nov.2018

| visited times

2019.1.2

Life

  • Sleep well work well

2018.12.19

Study

  • Don’t ask a friend when you have problems, unless they are much greater than you, and have attained the goal you are pointng to.
  • Searching the fucking web(for study question and bugs), read the fucking tutorial(for code problem).
  • Life is repeat, if not get it then try again
  • The way you have tried but failed, while others succeeded, maybe you are too lazy, but more possible is that it adapts not at all to you.
  • Social media never help releasing anxiety, but books can.

2018.12.17

tickeys-make your keyboard sounds different

  • This program is based on python2.7, and developed at 2016!!
  • this can be installed in ubuntu 18 by following steps of “quick compile install”

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    $sudo apt-get install python-dev python-pip xdotool
    (not install kivy too much bug)

    $sudo apt-get install libsdl1.2-dev libsdl-mixer1.2 libsdl-ttf2.0
    (depended lib )

    $sudo pip install setuptools==33.1.1
    (for "easy_install" if you want)

    $sudo pip install cython==0.28.2
    (needed for kivy,not cython 0.20.*)

    $sudo pip install --ignore-installed kivy

    $sudo pip install tickeys
  • In the progress, i manually download a lib “libxext-dev_*.deb” in one of these steps

Regular expression

  • not hard as i thought at now

GRE_py

  • add find function[still have bugs]
  • maybe separate the find and compare next day
  • can it be set to judge the input mode then go to distinct functions

2018.12.16

ejs

  • html = ejs +
  • onclick=’return false’ : do nothing
  • <%#…. %> : comment

Blog

  • TOC :

    • desktop : add 滾動條

      give up

    • or desktop : only show theme.nav[1]/theme.nav[0]

      not this at all, it’s toc

    • phone : return false

      meaning do noting

  • Share : both

  • paragraphe name

CSS

  • // : comment
  • “display : none” : close
  • padding-top
  • div #
  • overflow-y: auto
  • theme. : at theme/_config.yml
  • page
  • config :
  • toc : <%- toc(str, [options]) %>, aaaah,finally

2018.12.14

Python

  • function return must understand clearly

Git-Atom

  • easy to use

GRE_py

  • maybe another function of “find:XXX”, and return the explanation

  • [x] the type again while() seems can be involved in the first while()

  • the wrong judgment can be defined as a function

    can’t solve since break

2018.12.13

Web

  • js: function
  • css: position, style
  • hexo : connect html and js and css to modify

GRE Word

  • see once somewhere else better than see on book seriel time
  • surf bbc, cnn

Reprint 6 stufe

  • many of gre word
  • python so easy to use
  • xlutils trans xlrd form to xlwt form
  • maybe a small program to github?

2018.12.11

STM32

  • ST Link\ V2 : 選壹個好壹點的USB接口,避免no target, stlink error :slightly_smiling_face:

Mechanical Vibration

  • Math : General solution of constant parameter linear equation
  • Control : frequency characteristic
  • 居然有Fourier series and Fourier transform

Hexo

  • when come to the basic using, go out and search, chinese only know copy