refactor: moved to hugo
|
@ -0,0 +1,57 @@
|
|||
+++
|
||||
title = "HowTo: OS X screenshots without shadows"
|
||||
date = 2012-12-20
|
||||
+++
|
||||
|
||||
The beautiful shadows that OS X brings to screenshots are good in some ways or
|
||||
depending the purpose of the screenshot itself. But for other things are a
|
||||
pain in the ass.
|
||||
|
||||
After some research I've found multiple ways to get rid of that shadows
|
||||
|
||||
## 1) The default setting
|
||||
|
||||
Since the terminal command allows you to deactivate the shadow I assumed that
|
||||
there could be some `defaults` option for the same purpose. And it is!
|
||||
|
||||
With this two commands you can use the normal keybinds to do _shadowless_
|
||||
screenshots:
|
||||
|
||||
``` text
|
||||
defaults write com.apple.screencapture disable-shadow -bool true killall SystemUIServer`
|
||||
```
|
||||
|
||||
To revert to the original status:
|
||||
|
||||
``` text
|
||||
defaults write com.apple.screencapture disable-shadow -bool false killall SystemUIServer
|
||||
```
|
||||
|
||||
## 2) The Grab utility
|
||||
|
||||
Open the Grab.app: `Applications > Utilities > Grab`, and under the `Capture`
|
||||
menu you will find the `Window` option.
|
||||
|
||||
You can also use the `SHIFT`+`CMD`+`W` keybind -while Grab.app is focused-.
|
||||
|
||||
## 3) The terminal way
|
||||
|
||||
OS X provides us with the `screencapture` command, so we can hack around and
|
||||
build our own scripts. A simple one that allows interactive capture without
|
||||
shadow:
|
||||
|
||||
``` text
|
||||
screencapture -i -o filename.png)
|
||||
```
|
||||
|
||||
A more complete one that saves the screenshot on the desktop with the datetime
|
||||
as filename:
|
||||
|
||||
``` text
|
||||
screencapture -i -o ~/Desktop/screenshot_`date +%Y%m%d_%H%M%S`.png)
|
||||
```
|
||||
|
||||
These are some ways I found. You can play around and make your own bash or
|
||||
Automator scripts and improve it to your needs.
|
||||
|
||||
Hope this helps!
|
After Width: | Height: | Size: 25 KiB |
BIN
content/blog/2012/12/21/my-sublimetext-2-workspace/GitGutter.png
Normal file
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 40 KiB |
BIN
content/blog/2012/12/21/my-sublimetext-2-workspace/SodaTheme.png
Normal file
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 141 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 157 KiB |
69
content/blog/2012/12/21/my-sublimetext-2-workspace/index.md
Normal file
|
@ -0,0 +1,69 @@
|
|||
+++
|
||||
title = "My SublimeText 2 workspace"
|
||||
date = 2012-12-21
|
||||
+++
|
||||
|
||||
## Package Control
|
||||
|
||||
Essential. Install this and forget about downloading files, updating, … Choose
|
||||
to use or not every other plugin, but this one is mandatory. Just install it.
|
||||
|
||||
## Soda theme
|
||||
|
||||
The best theme I've seen for SublimeText. It's really clean and elegant. Don't
|
||||
forget to use it's custom colors too!
|
||||
|
||||

|
||||
|
||||
## SublimeLinter
|
||||
|
||||
Highlight potential errors using _lint_ programs so you can keep your code
|
||||
clean.
|
||||
|
||||

|
||||
|
||||
## SublimeCode Intel
|
||||
|
||||
Helps with autocomplete, allows _jump-to_ and displays information of the
|
||||
highlighted function on the status bar.
|
||||
|
||||

|
||||
|
||||
## SublimeRope [**Python only!**]
|
||||
|
||||
Add a lot of IDE-like features to python developers thanks to the rope
|
||||
library.
|
||||
|
||||

|
||||
|
||||
## Git & GitGutter
|
||||
|
||||
The first one is a tool to integrate git commands onto the command palette,
|
||||
the second one inserts an icon in the gutter area whether a line has been
|
||||
modified, added or removed.
|
||||
|
||||

|
||||
|
||||
## SideBarEnchancements
|
||||
|
||||
Add tons of functions to the sidebar contextual menu!
|
||||
|
||||

|
||||
|
||||
## AdvancedNewFile
|
||||
|
||||
This is the best. Create a new file just with a key combination, no popups, no
|
||||
nothing. Just press `CMD`+`ALT`+`N`, write the full path -relative to your
|
||||
project path- of the file you want to create and press enter.
|
||||
|
||||

|
||||
|
||||
I use some other plugins, but this is my top. Do you use other really good
|
||||
plugins not listed here? Tell me!
|
25
content/blog/2012/12/31/2013/index.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
+++
|
||||
title = "2013"
|
||||
date = 2012-12-31
|
||||
+++
|
||||
|
||||
According to the Gregorian calendar, a new year is coming.
|
||||
|
||||
I'm not gonna waste my time -nor yours- making promises, wishing things and
|
||||
all that crappy stuff. 2012 has been good and bad, I want 2013 to stay that
|
||||
way, but I will keep that to me and I'm going to expose what I've thought
|
||||
about the blog and what I want to do with it during 2013.
|
||||
|
||||
* First of all, the **#AppSunday** thing: doing it. I've missed the last two because of the date and also I wasn't really in the mood to write a word either. I really want to do it, so I will keep writing a Sunday post about apps and stuff as long as I've something about to write.
|
||||
|
||||
* As for _new technologies_, the reason I do not write too much about developing is because I do not think I'm a good programmer. I can't think I'm either good nor bad for something I **love**. I develop just because I enjoy it, as I've the bless that it's also my job. But after a lot of thinking, I'm going to post some micro-entries about new things I'm using -that could be things you already know long time ago- like PaaS services, libraries and stuff in general. I've a draft about _how to copy a mysql record with one SQL statement_, for example. If people like the posts as I like writing them, I will keep on with it.
|
||||
|
||||
* Also, this last year has been really… complete? I've started a lot of new projects -I really mean it, a lot of things whisper around my mind and some of it already have drafts and time invested on them-, so I've thought writing about its evolution. I don't know if I will make individual posts of each project or a weekly summary of all of them -or at least the ones I've worked that week-, but I want to share experiences, problems, solutions, technologies, _code_… with you.
|
||||
|
||||
* I still don't know if I will write personal experiences/opinion posts. I assumed that I will decide it when the time comes.
|
||||
|
||||
* There won't be a "What I've done in the last six months" post anymore. The one that is already in the blog will be purged when the translation is completed.
|
||||
|
||||
Now, get off the screen, eat a lot and get drunk. Today is the day.
|
||||
|
||||
Happy new year!
|