GithubHelp home page GithubHelp logo

netj / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 10.0 1.36 MB

netj's dotfiles

License: Other

Shell 52.45% Emacs Lisp 1.43% Makefile 6.03% Perl 2.04% AppleScript 20.46% Python 1.00% CSS 0.36% JavaScript 0.46% Vim Script 15.77%

dotfiles's Issues

how to incorporate git branch into bash terminal

I want to have git branch information but if I write the below code to the bash_local, I lose the original setting. How do I keep the original setting and incorporate the following code? The below code is from "software carpentry".

Set the prompt to show the current git branch:

function parse_git_branch {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}

PS1="\h:\W$RED $(parse_git_branch)$NO_COLOR $"

Issues with perform action line in 10.10

I keep getting an error under OS X 10.10 with this line:
perform action "AXShowMenu" of toolbar 1 of menu bar item "View" of window 1

Error:
System Events got an error: Can't get group 2 of window 1 of application process "Safari". Invalid index.

Know why?

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.