linuxtips's Issues
Vim startup errors Invalid expressions...
Error detected while processing /home/bkkim/.vimrc:
line 1:
E474: Invalid argument: background=dark^M
line 2:
E492: Not an editor command: ^M
line 6:
E492: Not an editor command: ^M
line 12:
E488: Trailing characters: modifiable^M
line 17:
E488: Trailing characters: expandtab^M
line 18:
E488: Trailing characters: incsearch^M
line 21:
E474: Invalid argument: foldmethod=indent^M
line 22:
E474: Invalid argument: foldnestmax=1^M
line 23:
E492: Not an editor command: ^M
line 24:
E185: Cannot find color scheme 'desert^M'
line 27:
E492: Not an editor command: ^M
Press ENTER or type command to continue
:w ++ff=unix
로 해결~
또는
For Ubuntu/Debian
sudo apt-get install tofrodos; sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
dos2unix /foo/bar/path/에러파일
change apt repo
sudo vi /etc/apt/source.list
:%s/archive.ubuntu.com/ftp.daum.net/gc
:%s/security.ubuntu.com/ftp.daum.net/gc
:wq
sudo apt update
PNG to SVG
http://potrace.sourceforge.net/#usage
convert nexxone-25.png nexxone-25.pnm && potrace nexxone-25.pnm -s -o nexxone-25.svg
grep for my project
if [ -z '$1' ]; then
echo input words
exit 0
fi
PATTERN=$1
grep --color=auto -rwnI --exclude='tags' --exclude='cscope.out' --exclude='.depend' --exclude='.html' --exclude-dir='.svn' "${PATTERN}" .
git config
Run GUI Program on WSL1
실행시 에러남.
export DISPLAY=localhost:0 확인...이미 저장되어 있을 수 있음.
sudo apt install dbus-x11
이후 실행은 되지만, GUI 프로그램 실행할때마다 다음 에러 출력됨.
Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wzn00x6fxh: Connection refused
=>
Adding the line
NO_AT_BRIDGE=1
to /etc/environment (or export NO_AT_BRIDGE=1 on console) solved the problem for me.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.