MichaelRich

Welcome to send messages on the right bottom!


  • Home

  • Archives

  • Categories

  • Tags

MacOS Tips

Posted on 2019-11-25 | Post modified: 2020-06-06 | In Tips
Words count in article: 219 | Reading time ≈ 1

MacOS Tips

  1. Change Colors 设置

    1. 正色
      1. Background: 080808
      2. Text: AEF37D
      3. Links: FD8F3F
      4. visitedLinks: 7AC8B6
    2. 反色
      1. Background: 080808
      2. Text: 2E0D6E
      3. Links: 9B51DB
      4. visitedLinks: 2E79DB
  2. 访问另一个系统的用户的文件.

  3. Xmind property

    1. Snip20191126_1

输入⌘

  1. You’ll find it under Edit -> Emoji and Symbols in any program that takes text input.

    1. search “place of“
  2. 添加输入法

    1. Go into System Preferences -> Keyboard -> Input Sources, click “+”, scroll to “others”, select “Unicode Hex Input” and click “Add”
    2. option+2318.

    google open links in new tab

image-20191127162641915

Mac下查看文件编码方式 file -I

GBK 显示为iso-8859-1

mac 批量文件编码格式转换

1
2
3
4
5
6
7
8
9
#!/bin/sh

for file in `find ./ -name "*.c"`;
do
echo convering : $file
iconv -f GBK -t utf-8 $file > $file.t
mv $file.t $file
done
echo DONE
1
chmod u+x conv.sh

8.Lantern和Charles同时开后,上不了网

9.编译时间,写文档.

10.alfred rocks!

11.go2shell catalina 不好用,换cd to 也不好用

12.snip 滚屏 privacy accesibility,选能滚的区域点击就好了

13.正好做两遍笔记,加深记忆.

OC-syntax

Posted on 2020-05-16 | Post modified: 2020-05-16 | In iOS
Words count in article: 25 | Reading time ≈ 1

OC-syntax

not methods

Read more »

BlockChain

Posted on 2019-03-24 | Post modified: 2019-03-31 | In BlockChain
Words count in article: 69 | Reading time ≈ 1

What if the trasaction fee is less than the cost?

Nobody would like to run the system? No, that means that all coins are owned.The owners would want to keep their coins, so they have to run the system.It’s a spontaneous action.

BitCoin is a lie

  1. Those who own best computers can take all bitcoins.This sucks!
  2. Those who cannot access all transactions cannot collect bitcoins!

SetupCentOS7.5

Posted on 2018-12-12 | Post modified: 2018-12-13 | In CentOS
Words count in article: 687 | Reading time ≈ 4

1.Let’s setup CentOS7.5 server. Contains : ssh login,Promp, Partition, General user account

Read more »

WordpressOnCentos7.5

Posted on 2018-12-11 | Post modified: 2021-06-07 | In Blog
Words count in article: 180 | Reading time ≈ 1

1.Setup Blog with WordPress

Read more »

Blog Tasks

Posted on 2018-12-09 | Post modified: 2021-06-08 | In Blog
Words count in article: 39 | Reading time ≈ 1

1.Tasks to do of Blog

Read more »

Edit Tips

Posted on 2018-12-09 | Post modified: 2018-12-09 | In Tips
Words count in article: 28 | Reading time ≈ 1

1. Some Tips when we are editing

Read more »

Install nginx-1.14.2 on CentOS7.5

Posted on 2018-12-08 | Post modified: 2018-12-09 | In CentOS
Words count in article: 1.4k | Reading time ≈ 8

1.Install Develop Tools

1.1.Using yum can’t get nginx the latest version. So let’s install by source code.

Read more »

Hexo using

Posted on 2018-12-06 | Post modified: 2021-06-07 | In Blog
Words count in article: 673 | Reading time ≈ 3

21.Chrome打不开远程了.过了一会好了

20.字体设置了,本地好使,远程部署要等一段时间才好使.

19.图片不显示,因为没有后缀

18.更改文本对齐

1
themes/next/source/css/_schemes/Mist/_posts-expanded.styl
Read more »

Methods OC 1118

Posted on 2018-12-05 | Post modified: 2020-05-17 | In iOS
Words count in article: 84 | Reading time ≈ 1

Methods

1.CGRect

maxY

1
CGFloat h = CGRectGetMaxY(self.textFrame);

2.count size of a String

1
2
CGSize maxSize = CGSizeMake(maxW,MAXFLOAT);
CGSize textSize = [status.text sizeWithFont:HYStatusOriginalTextFont constrainedTosize:maxSize];

3.set frame by counstruct

Snip20181122_14

4.rightBarButtonItem

Snip20181122_15

Read more »
1…456

MichaelRich

52 posts
13 categories
27 tags
E-Mail
© 2021 MichaelRich | Site words total count: 27.5k