dotfiles

Graphviz: xlabel position

懵懂的女人 提交于 2020-07-06 10:16:08
问题 I have nodes in my diagram with their xlabels positioned left above them. How can I change this position? I want the xlabels to be exactly next to the node itself. 回答1: xlp is the attribute you want, but it doesn't do anything. You can't change the position because xlp is "write only", which indicates that the attribute is used for output, and is not used or read by any of the layout programs. 来源: https://stackoverflow.com/questions/40959545/graphviz-xlabel-position

How to show hidden files (dotfiles) with windows powershell [duplicate]

自作多情 提交于 2020-06-09 15:56:12
问题 This question already has an answer here : List hidden sub-directories and sizes (1 answer) Closed 2 years ago . When I have hidden files, like dotfiles or a .git directory: How can I list those files and directories in Powershell? Neither Get-ChildItem , dir nor ls seem to show them. 回答1: In order to show such hidden files, use the -Force parameter for the Get-Childitem command. Get-ChildItem . -Force You also can use its aliases, with -Force dir -Force ls -Force gci -Force Also: if you want

Avoiding merge conflicts when merging master into per-host customized branch

徘徊边缘 提交于 2020-01-09 19:32:49
问题 I want to store all my dotfiles in git repository with separate branch for each machine. I have a problem I can't solve that blocks me from using git for that purpose. I'd like to know how other people solved it. I'm going to have a single master branch which contains only template definitions and definitions which are supposed to be common for all branches, for example: export EMAIL="@EMAIL@" export SURFRAW_google_results=1000 I will replace @EMAIL@ with my correct e-mail on machine branches

One git for multiple folders in differents places

▼魔方 西西 提交于 2020-01-02 13:05:29
问题 I think this subject was asked before, but I didn't find anything interesting to work with. I read this Can I store the .git folder outside the files I want tracked? and Single Git repo with directories in multiple locations try to play with it, but didn't find the way to achieve this well. The goal of this, is to store backup preferences for applications and dotfiles. But the strucuture of files look to somethink like this -- /Users/Jeremy/Library/Application\ Support/Sublime\ Text\ 3

One git for multiple folders in differents places

倾然丶 夕夏残阳落幕 提交于 2020-01-02 13:05:07
问题 I think this subject was asked before, but I didn't find anything interesting to work with. I read this Can I store the .git folder outside the files I want tracked? and Single Git repo with directories in multiple locations try to play with it, but didn't find the way to achieve this well. The goal of this, is to store backup preferences for applications and dotfiles. But the strucuture of files look to somethink like this -- /Users/Jeremy/Library/Application\ Support/Sublime\ Text\ 3

vim - how to remove netrw?

馋奶兔 提交于 2020-01-02 05:24:35
问题 I was testing https://github.com/skwp/dotfiles) and unfortunately it did install a lot of things I do not want. For example, right now (with empty .vimrc) when I open vim I get " ============================================================================ " Netrw Directory Listing (netrw v149) " /Users/user/.vim/bundle " Sorted by name " Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$ " Quick Help: <F1>:help -:go up dir D:delete R

Using bash to automate dotfiles

断了今生、忘了曾经 提交于 2020-01-01 03:29:07
问题 I want to create my own automated dotfiles folder. (I'll be using git to use version control on my dotfiles, but that's irrelevant for the question) What i simply want is to symbolically link all the files and folders in ~/dotfiles to my home folder. Being not good at all with bash I can't do this. Please help me with this. I would also appreciate the following features if possible. Folders are only shallowly linked My files could be in the dotfiles folder without the actual dot in the file

Is it a Bad Practice to Have Both a .rvmrc and a .ruby-version in a Ruby Project?

五迷三道 提交于 2019-12-24 12:54:02
问题 There are two Ruby projects I am currently working on which have both a .rvmrc and a .ruby-version file in their root dir. I use rvm to manage my Ruby versions in my local development environment, and have my own local .rvmrc files in my home directory's copy of various Ruby versions, so naturally I get the rvm warning when I change directory into these projects: You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers, you can switch to '

How do I track “dot” configuration files in my home directory with git?

微笑、不失礼 提交于 2019-12-18 02:48:36
问题 I have a number of "dot" files in my home directory that I'd like to track with git - e.g. .pryrc , .zshrc , etc. I want to have a remote repository for these files so that a) there is an easy way to recover my configuration settings should I lose my machine for any reason; and b) to safely track any changes made to the files in the event I screw something up when configuring changes. I initially set up a git repository in the home directory to track them, with a .gitignore file configured to

Partial branch or partial merge or other way to help me to sync dotfiles?

孤人 提交于 2019-12-10 15:57:49
问题 I don't know how to make my requirement short in title, sorry if it is not meaningful. I will explain here: Many people put their dotfiles on bitbucket or github, to ease later installation or configuration, sync over different pc. I did the same, however I want to do something special, I am not sure how mecurial/git could help. What I have: I have 3 machines, say Home, Office and Client, all linux OS (could be different distributions). To make the example simple, say I just want to put one