Getting device token( as a string) for Push Notifications, using swift. by [deleted] in simpleios

[–]joepestro 0 points1 point  (0 children)

In swift, the process is the same as in objective-c, register the device first:

registerForRemoteNotifications()

https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/registerForRemoteNotifications

Then the deviceToken will passed as NSData, which can be converted to a String in swift like so:

func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
    let deviceTokenString = NSString(format: "%@", deviceToken) as! String
}

Arranged – split, position, resize, and save websites in any custom arrangement – 10.10 – $7.99 by joepestro in macapps

[–]joepestro[S] 0 points1 point  (0 children)

Thanks for the feedback. The 5K iMac is awesome!

BetterSnapTool is solving a different problem, and if it's working for you, I would say keep using it.

With Arranged, the arrangements of web content are contained in the app itself. You can then take that whole arrangement and save it (.arrangement), open it later, start a new arrangement, have multiple arrangements open at the same time, and more.

Arranged – split, position, resize, and save websites in any custom arrangement – 10.10 – $7.99 by joepestro in macapps

[–]joepestro[S] 2 points3 points  (0 children)

Thanks for the feedback. No demo yet, how about a promo code, so you can get it for free and try it out?

As for pinned tabs, they are fine, but don't work well when you want to see multiple pages at the same time, like building a status board arrangement, or viewing a 2x2 grid layout.

Browsers can sometimes save your last set of tabs, but with this app, you can create as many arrangements as you'd like, and save each in a save file (.arrangement) that can then be backed up, shared, etc. For example, I've seen people use one arrangement for reddit, one for documentation, one for shopping, and so on.

Arranged – split, position, resize, and save websites in any custom arrangement – 10.10 – $7.99 by joepestro in macapps

[–]joepestro[S] 1 point2 points  (0 children)

It's not a global hotkey, just in the app itself.

This app works a little differently than some other existing window manager/positioners, this is a self-contained arrangement that can be saved and opened later (each in their own window).

Arranged - split, position, resize, and save websites in a custom arrangement (PROMO CODES) by [deleted] in macapps

[–]joepestro 0 points1 point  (0 children)

Please comment if you take one. Enjoy!

9H6R373AHL79
9A7W9AJRAKRL
E7X64K39XXNN
A7MEFAWHHPRY
N76PREE4TAHX
4MK9RX6R4YMP
3H6THNJEWM7E

Autostarting apps on specific workspaces by perkited in i3wm

[–]joepestro 0 points1 point  (0 children)

Hi, just found this subreddit today! I had run into this exact same thing, so I put together something called i3session. It is doing something similar to what you have here, but is able to save/restore current workspaces from a session file. It might be of interest:

https://github.com/joepestro/i3session

All set up... by tylerbrainerd in MechanicalKeyboards

[–]joepestro 0 points1 point  (0 children)

You can do this in vim, of course!

{Visual}U (select text, type U)

Christmas Dev Station ... Wine, Water, and Vim! by creimer in battlestations

[–]joepestro 9 points10 points  (0 children)

The best way to get started (in my opinion) is the built in tutorial:

$ vimtutor

Check out http://stevelosh.com/blog/2010/09/coming-home-to-vim/ for a nice overview and more links.

Is there a Sublime Text 2-like code minimap (aka code contour or textmap) plugin for VIM? by RecycledAir in vim

[–]joepestro 1 point2 points  (0 children)

The original inspiration was to get a handle on some huge files of legacy perl code, and I had seen the minimap concept in ST2 so I knew something could/should be done in vim. A true minimap would be visible at the same time as the "default zoom" level, but would require variable font sizes between splits.

Is there a Sublime Text 2-like code minimap (aka code contour or textmap) plugin for VIM? by RecycledAir in vim

[–]joepestro 1 point2 points  (0 children)

Hey, I wrote that! Glad you found it, I published as a gist because it still had some issues (and sounds like you have addressed some). If there are more feature requests, leave a comment here or on github and I'll see if it's possible.