Skip to content

Jaime Rios

  • About
  • Github
  • LinkedIn
  • X

TextMate

Important command to demangle C++ code in your pasteboard

September 22, 2011 by jaimerios

Cool command line I can run from DTerm on the contents in my clipboard, outputted from Xcode: pbpaste | c++filt | mate This command will take my clipboard contents, which were originally created from Xcode, pass that to the c++filt command and then create a new file in TextMate with the resulting contents.

Categories Tip Tags cpp, Mac OS X, TextMate Leave a comment

UNIX tip of the day

July 7, 2011 by jaimerios

Thanks to my coworker for showing me this: pbpaste | c++filt | mate I use this to take a really long text output from GDB and de-mangle the code into something I can read. I copy the output in the GDB console to the clipboard and the command takes those contents and pastes the results … Read more

Categories Coding, Tip Tags c++filt, Shell, Terminal.app, TextMate, Unix Leave a comment

Performing a large search and replace

February 23, 2011 by jaimerios

Thanks to my co-worker for showing me this really cool trick in TextMate! I have this project I’m working on where I need to represent enum values as text for analysis purposes. The enum though is not set up to be easily iterated over (Dr. Dobbs) (James Kanze), so I added a stream operator to … Read more

Categories Coding, Tip Tags enum, Search and Replace, TextMate 3 Comments

Passing parameters to shell scripts

January 28, 2011 by jaimerios

I recently fell in love with TextMate. For me, programming 24/7, TextMate helps me edit files that would normally be a pain with the standard editors on the market. Now, with that being said, I started making a lot of Bash shell scripts to automate building projects with Xcode and delivering the binaries for testing. … Read more

Categories Coding Tags Bash, shell script parameters, TextMate Leave a comment

Recent Posts

  • Package management with CMake’s CPM
  • Automate Evernote using AppleScript
  • Unit Tests and CMake
  • clang static analyzer
  • C++ std::erase and rbegin/rend

Recent Comments

  1. Connecting with C++ – Jaime Rios on Working with REST
  2. Connecting with C++ – Jaime Rios on Making a connection using Swift
  3. Jaime on Xcode 3.1, Perforce and Scripts
  4. jaimerios.com » Blog Archive » Haversine formula now on GitHub on Calculating distance between 2 points on Earth using the Haversine formula
  5. iPhone 3G: How to show locations around a fixed point? | Questions on Calculating distance between 2 points on Earth using the Haversine formula
© 2025 Jaime Rios • Built with GeneratePress