1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[自分用]効率化的なものまとめ

Last updated at Posted at 2018-04-10

nohup

$ nohup python main.py &

Portforwarding

Convert fucking ^M to CRLF

this legend saved my life!!
A file I had created with BBEdit seen in MacVim was displaying a bunch of ^M line returns instead of regular ones. The following string replace solved the issue - hope this helps:
:%s/\r/\r/g
It's interesting because I'm replacing line breaks with the same character, but I suppose Vim just needs to get a fresh \r to display correctly. I'd be interested to know the underlying mechanics of why this works.

$ vim filename
try this command! :%s/\r/\r/g

Vim command

JMeter for Stress Text with dynamic parameters

# how to run the jmeter
$ java -jar /Applications/apache-jmeter-4.0/bin/ApacheJMeter.jar

basic intro: https://marunouchi-tech.i-studio.co.jp/4529/
Setting dynamic parameters: http://tenforward.hatenablog.com/entry/20080909/1220943546

Installation of MeCab on Ubuntu 16.4

flask with multi-thread

file transfer between Azure instance and local

https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/copy-files-to-linux-vm-using-scp
https://stackoverflow.com/questions/43630112/cant-scp-to-azures-vm

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?