What is the jmpq command doing in this example

From the GAS-manual: An Intel syntax indirect memory reference of the form is translated into the AT&T syntax where base and index are the optional 32-bit base and index registers, disp is the optional displacement, and scale, taking the values 1, 2, 4, and 8, multiplies index to calculate the address of the operand. (https://sourceware.org/binutils/docs/as/i386_002dMemory.html#i386_002dMemory) … Read more

Sublime Text from Command Line

Windows Command Prompt For Windows cmd.exe you could just add the sublime text installation directory to your PATH environment variable, this would allow you to type: Personally, I add a doskey (in a .bat file set to autorun with cmd) so I can type subl file.rb: Cygwin For the default bash shell add an alias to your ~/.bashrc file, e.g:

How to navigate to to different directories in the terminal (mac)?

To check that the file you’re trying to open actually exists, you can change directories in terminal using cd. To change to ~/Desktop/sass/css: cd ~/Desktop/sass/css. To see what files are in the directory: ls. If you want information about either of those commands, use the man page: man cd or man ls, for example. Google for “basic unix command line commands” or similar; that … Read more

How can I display the current branch and folder path in terminal?

It’s not about a plugin. It’s about prompt tricks in the shell. For a cool setup in bash, check out the dotfiles project of this guy: To get a fancy prompt, include the .bash_prompt in your ~/.bash_profile or ~/.bashrc. To get the exact same prompt as in your question, change the export PS1 line at the end of .bash_prompt like this: I ended up using all … Read more