Built-in SSH Terminal/Console in an iOS app? - ios

Searched around in SO and Google but didn't find anything useful.
What would be the easiest way to implement an SSH console inside my iOS app ?
There are many apps doing this already like SSH Terminal or Diet Coda, but I wondered if there's an open source component or anything of such nature that I can just drop in my project, and if not - any resources that you can point me at to build my own implementation would be highly appreciated.
Update: So far I only found one solution from Chilkat, but unfortunately it costs a whooping $150 for a single developer license... Any other suggestions are welcomed.

Related

What would be the best way to create a firefox plugin for taking desktop screenshots?

I need to create a firefox plugin that allows a user to take screenshots of any part of their desktop and have them uploaded to a server. There seems to be lots of plugins for screen capturing a webpage, but nothing for capturing anything outside of firefox. So after a little research I have not found much information on how this might be possible. I don't want to resort to a using a java applet but I will if that is my only option.
Does anyone have advice on how I might create such a feature?
Thanks
I don't think a Firefox addon is the most appropriate approach here. Maybe split the task into a Firefox addon to offer the "upload to a server" component and a native app to do the desktop screenshot (or just integrate with existing screenshot tools).
If you're worried about complicating the installation process for end users, you could look into bundling the addon component and native app into a single installer (e.g. MSI on Windows, RPM on Linux, etc.). You'll have to come up with different apps for each platform you want to support (and maybe even each version - e.g. Windows XP vs Windows 10).
Whatever you decide, you'll probably need to create a more specific question to get further help here (there's no simple Firefox.Addons.API.TakeScreenShot() answer I'm afraid).
Also make sure you're using the right terminology - a plugin is the deprecated NPAPI approach whereas addons are still supported.
I'm actually working on taking native desktop screenshots just in the last coupel of days. I'm using js-ctypes. My work goal is the same exact thing to, upload to server. If you would like to collaborate I am very open to it! We can chat about it on #jsctypes irc channel :) irc://moznet/jsctypes (Mibbit IRC WebApp) If you don't know js-ctypes thats ok i can handle that while you can handle uploading techniques, and an editor on canvas :) The editor is a huge part of it, you can see my ideas/plans here: https://github.com/Noitidart/NativeShot/wiki/NativeShot
I'm really really interested in a collab on this!
I'm still working on windows right now, the color is messed up: https://github.com/Noitidart/NativeShot/tree/digitanks-method
I was just about to start OSX work following this example here: https://developer.apple.com/library/mac/samplecode/SonOfGrab/Introduction/Intro.html and here: Take ScreenShot without Window
You can install the addon from that branch and click the icon that gets added to the toolbar, it will take a screenshot with 3sec delay and then append it to the body of the selected tab. (Windows only right now)
Doneskis baby check it out: https://addons.mozilla.org/en-US/firefox/addon/nativeshot/
Got some quirks. Released it as v1.0 though. I'm working on Android support, pretty close. I need to flesh out the editor tools. Please let me know if you're willing to collaborate.

BB10 - Cascades Application - Console/Terminal Application

I am attempting to create a simple terminal application that runs on a BB10 device/simulator. I have gone through all of the available demo/example applications:
http://developer.blackberry.com/native/
I can't seem to find a way to have an application run as a console/terminal/tty-interface on the BB10 device I'm developing for. I was hoping to port some simple console games (ie: maybe a simple thing like "Hunt the Wumpus", http://en.wikipedia.org/wiki/Hunt_the_Wumpus), and then maybe take a crack at a Rogue or Nethack port as well (hopefully without having to depend on the ncurses library (http://en.wikipedia.org/wiki/Ncurses), but it's OK if I have to rely on ncurses. It just saves me from having to write additional interfacing code).
Can someone please provide a short, simple example of what I would need to write in a basic BB10 application that opens a black-and-white terminal with color support? It can be short, and just something I have to paste into an empty project.
Thank you in advance!
Here you go:
https://github.com/blackberry/NDK-Samples/tree/master/HelloWorldDisplay
It's listed near the bottom.

Building a Firefox add on

after I managed to create an add on for Chrome browser (http://stackoverflow.com/questions/13686561/chrome-addon-with-my-server-interaction),
my next target is to do the same for Firefox.
I see this is harder to do or there arent many good tutorials for begginers.
What Im asking is good step by step tutorials in order to understand the workflow for FF.
Thank you again for reading me!
Take a look to Add-on SDK. Here the documentation, and you can also download it from Github.
I would say that the Getting Started section of Add-on SDK docs is a good place to start your reading.
You can also join the IRC channel #jetpack on irc.mozilla.org and ask help directly to the SDK team, if you have any doubt!

Is it possible to compile and use xapian, clucene or lucy on iOS?

I want to compile and use Xapian with xcode on iOS, is there any one with any experiments on this? Is it possible?
Is there any other option for implementing full text search on iOS?I have tried
S4luceneLib (in Obj-C) which works but is port of old version of lucene, also I
have checked Clucene and lucy, which like xapian i can not compile on iOS.
any help and comment will be appreciated.
Speaking as one of the Xapian authors, I don't recall hearing of anyone reporting trying to compile Xapian on iOS. I also don't know of any fundamental reason why it would be impossible to compile it on iOS. I suggest you contact the Xapian developer community (on the xapian-discuss mailing list: http://lists.xapian.org/mailman/listinfo/xapian-discuss or on the #xapian IRC channel on irc.freenode.net), and give details of the attempts you've made to compile Xapian, and the error messages or problems you encountered.

Sharing an Xcode project between different teams

I'm a novice iOS developer with a basic knowledge of Xcode. I have one app in the app store that I made myself with Titanium. For a next project I've enlisted the help of two more experienced programmers in another city. I have a question in two parts about the collaboration between us:
I want to propose a work routine that gives me access to the project as they are working on it, so that I can device test builds during the development process - without interfering with the coding. What is the best way to do this? Is sharing the project or codebase via Dropbox an option? Does anybody have any experience with this?
Are there any pitfalls I should be aware of when pursuing this kind of work routine?
Thanks!
Use a source control system like Subversion, Git, Mercurial.
XCode has built in support for Subversion/Git.
Use source control. Github is a great place to start. (private repositories will cost money though.)
I used to use DropBox to share code between my two machines, but DropBox would routinely ruin work if I wasnt careful. DropBox is NOT version control. If you do insist in using Dropbox, don't open your code on more than one machine at once. Nuff said.

Resources