GithubHelp home page GithubHelp logo

dotfiles's People

Contributors

squarefrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nchourrout cgmv

dotfiles's Issues

Allow spotlight for system files

>         SlicesRootAttributes =         (
>             kMDItemKind,
>             kMDItemLastUsedDate,
>             kMDItemContentModificationDate,
>             kMDItemContentCreationDate,
>             kMDItemDisplayName,
>             kMDItemTextContent,
>             "com_apple_SearchSystemFilesAttribute"
>         );

Limit Spotify cache to 1024MB

http://alexlitel.tumblr.com/post/53154780770/what-to-do-if-spotify-is-running-slow-on-your

  1. Using Finder, under the Go menu at the top of the screen, select the Go to Folder option (you can also press Command+Shift+G to access). Inside the “Go to the folder” field that pops up, type or paste ~/Library/Caches/com.spotify.client/ and then click “Go” or press Enter.

  2. Delete everything inside the com.spotify.client folder. You can select all of the items by pressing Command+A.

  3. Using the Go to Finder option from Step 1, go to ~/Library/Application Support/Spotify/.

  4. Inside the Spotify folder, look for a file called prefs. Open this file in Notepad and add storage.size=1024 on a new line at the end of the file. Save this file. This should limit the size of Spotify’s cache to 1024MB or 1GB; you can change the 1024 value if you would like the cache to be smaller or larger.

  5. Delete the PersistentCache folder inside the Spotify folder.

Check for dotfiles update

Once per day, check the dotfiles repo to see if there has been an update. If there has been an update, then show the status in the right prompt.

update

Need to figure out how difficult that will be.

Organise the dotfiles

I think it would be much neater if I grouped dotfiles into their own folders.

shell
  |- aliases
  |- bash_profile
  |- bashrc
  |- exports
  |- shellrc

vim
  |- gvimrc
  |- vimrc
  |- vimrc.bundle
  |- xvimrc

zsh
  |- squarefrog.zsh-theme ?
  |- zshrc

Install xcode themes

#create folder
$ mkdir ~/Library/Developer/Xcode/UserData/FontAndColorThemes
#copy color theme file to this new folder
$ cp color_theme.dvtcolortheme ~/Library/Developer/Xcode/UserData/FontAndColorThemes

Set fast switch icon

# Show fast user switching menu as: icon
defaults write -g userMenuExtraStyle -int 2

Remap indentation

Xcode has forced my muscle memory...

nmap <D-[> <<
nmap <D-]> >>
vmap <D-[> <gv
vmap <D-]> >gv
nmap <T-[> <<
nmap <T-]> >>
vmap <T-[> <gv
vmap <T-]> >gv

Install fonts

Add /Fonts folder with powerline font in

Linux

/usr/share/fonts/opentype

OS X

~/Library/Fonts

Link async

ln -s ~/dotfiles/zsh/.zsh/plugins/pure/async.zsh ~/dotfiles/zsh/.zsh/functions/async

install or upgrade [ brew | gem ]

This is pretty cool:

brew_install_or_upgrade() {
  if brew_is_installed "$1"; then
    if brew_is_upgradable "$1"; then
      fancy_echo "Upgrading %s ..." "$1"
      brew upgrade "$@"
    else
      fancy_echo "Already using the latest version of %s. Skipping ..." "$1"
    fi
  else
    fancy_echo "Installing %s ..." "$1"
    brew install "$@"
  fi
}

Taken from Thoughtbot OSX file.

Adding system files doesn't check before adding

osx.sh should check for existence of com_apple_SearchSystemFilesAttribute before adding.

running "allow spotlight for system files"
defaults write com.apple.finder SlicesRootAttributes -array-add \
  kMDItemFSInvisible \
  com_apple_SearchSystemFilesAttribute;ok

Add Xcode prefs

Move theme to:
~/Library/Developer/Xcode/UserData/FontAndColorThemes

# Continue building after errors
defaults write com.apple.dt.Xcode IDEBuildingContinueBuildingAfterErrors 1

Install Alcatraz

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.