Possible to run Dropbox within Nitrous.IO? - dropbox

Nitrous.IO looks incredible. I'd love to use it with my students. However, we need the ability to have files locally accessible too. If we could run Dropbox on each Nitrous.IO box, that would be ideal. Is this possible?

Nitrous.IO has a Mac OS X application that handles local file syncing. So Mac users can utilize TextMate, SublimeText, etc... to edit their code and run it in the cloud. The Mac App is free to download:
https://www.nitrous.io/mac
For those not on Macs, you could use FTP or SCP, but I realize that might not be ideal:
http://help.nitrous.io/faq-adding-project/
Dropbox integration is on the product roadmap. Stay tuned to #nitrousio on twitter for updates.

There's a sync integration for windows, very much like Dropbox, using copy.com: Instructions here: https://coderwall.com/p/ixfokg.

So far dropbox has been running perfect! I'd love to know if there's any issue with running it this way... I simply ran:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
nohup ~/.dropbox-dist/dropboxd > /dev/null 2>&1 &

Related

Copy iPhone file from macOS Finder using AppleScript or JAX

My setup
macOS 10.15.7
The recent macOS can access iOS app documents on a physically connected device directly from Finder. But this process seems to need human intervention.
I wonder if I could retrieve my iOS app's file from Finder programmatically using AppleScript or JAX. So far I haven't found a way
Thanks!
Solved it myself.
The solution is not exactly as my title but it does the job: I can now access app documents from macOS programmatically without modifying my app code.
Short answer
I can use ifuse as part of libimobiledevice.
Details
Here are the steps taken.
Install macFUSE , which
allows you to extend macOS's native file handling capabilities via
third-party file systems.
    mine is 4.0.5.
Install ifuse and ideviceinstaller from Homebrew.
brew install ifuse
    mine is 1.1.4.
brew install ideviceinstaller
    mine is 1.1.1.
Find your app's App ID using ideviceinstaller.
ideviceinstaller -l | grep "my_keyword"
    This gives your app's ID and name. Assume tat the id was com.my.app
Mount the Documents folder, e.g., onto my desktop.
mkdir -p "~/Desktop/myappdoc"
ifuse --documents com.my.app "~/Desktop/myappdoc"
Now my app folder is mounted at the specified location.
To unmount so that next time around my script can still mount the drive at the same location,
umount "~/Desktop/myappfoc"

Suite CRM Installation

I'm trying to install Suite CRM on a 2011 Mac Mini running El Capitan and with the "Mac Server App" installed.
I've unzipped the Suite CRM package under /Library/Server/Web/Data/Sites/Suite however when I enter the following
chgrp _www.www /Library/Server/Web/Data/Sites/Suite -R
I get the error
chgrp: _www._www: illegal group name
I've checked I'm using the right Apache user and group so I'm stuck. Should I unzip SuiteCRM in a different location? Is it something to do with the Mac Server App?
Any help is greatly appreciated.
It think you need to use sudo:
sudo chown -R _www:_www <mywebfolder>
sudo chmod -R 775 <mywebfolder>
To install Suite CRM, which is compatible almost with every OS there is the procedure of following steps:
After downloading the SuiteCRM (if you are installing it first time otherwise you will have to upgrade the existing one), click on install.
Pre requisite for SuiteCRM are platform appropriate version of PHP, web server and database on your machine (Linux or Windows platform)
Unzip the downloaded SuiteCRM package and set permissions. For this, while unzipping the package locate the root directory or sub directory of your web server.
You can rename the SuiteCRM as well
Set permissions or ownership of your SuiteCRM directory with the following command: Chgrp ApacheUser.ApacheGroup <suitecrmroot> -R
Now set the system user of your web server. If you find it difficult to set the permissions for system user then you can take the help of any expert. From there you can take the help. Commonly the users are apache or nobody for Linux and IUSR_computerName for Windows. For Linux following commands are to be executed in order to set the permissions: sudo chown –R www-data:www-data;sudo chmod –R 755; sudo chmod –R 775 cache custom modules themes data upload config_override.php
While for Windows the steps are different. You can also take the help of any expert if you find it difficult to set up the Suite CRM, then any training or service provider of technical courses can help you in this regard. We have used the service of Janbask, they are professional training provider and IT consultants, with the help of their experts they also provide solutions of real time problems.
Many Thanks

Installing chrome OS on an iMac

http://zzsethzz.blogspot.de/2013/02/install-chromium-upgrade-it-to-chrome.html
According this tutorial, I should remove all HDDs I do not want to install chromium OS to during install. I wanted to try this guide on my imac using an external SSD for chromeos. Obviously, removing the HDD isn't an option. Will the chromiumOS installer format my mac drive too, if I don't remove it?
AS the writer of that tutorial I can hopefully help you. When you install Chromium OS to begin with you can specify where to install to if you know your unix commands well enough. and then from there you can update to Chrome OS once you have your external working for you.
To find out what your hard drive is when connected, open a terminal (you may need to use a developer terminal) and use the command "fdisk -l" This will list your hard drives. for example /dev/sda1 etc...
Your install command would be "Install /Dev/sda1" but replace the dev part with whatever your hard drive was listed as. If you need further help email me at admin#xiaorishu.co.uk

Vagrant and / or Docker workflow with full OS X filesystem integration for seamless local feel?

Recently I've been dabbling with vagrant and docker. These are quite interesting tools, but I haven't been able to convince myself that it's the way to go quite yet on my OS X machine. Being an old Unix hat, I have to say that I like having a consolidated and sandboxed environment for development purposes.
I've seen a lot of chatter and a number of friends have been using vagrant with just stock vim for editing. I'm not really a fan of that approach and would probably prefer to use the vm provider's sharing mechanism OR, more likely, NFS.
Personally I'd like to be able to edit directly in TextMate, SublimeText, Emacs (on OS X), or even perhaps use RubyMine and its various IDE features, etc.
Is there any way to really get the workflow down so that such an environment will be essentially like working on a local environment without having to pull a lot of additional background strings to make things work out?
I suppose a few well placed scripts could go a long way, but I've not found any solid answers on really making this a seamless environment.
What actually worked for me was to use boot2docker which makes it easy to install a lightweight virtual machine (with VirtualBox) that will host your docker deamon and images. The only thing you need in order to run docker commands is to run $(boot2docker shellinit) when you open a new Terminal.
If you need to also have your files on an OS X folder and share them with a running docker image, you need some additional setup, but once you do it, you won't have to do it again.
Have a look here for a nice walkthrough on how to do it. The steps in short are:
Get a special boot2docker image that allows you to use shared folders for VirtualBox
Configure VirtualBox to share a folder:
VBoxManage sharedfolder add boot2docker-vm -name home -hostpath /Users
This will share your /Users folder with the boot2docker image that hosts docker.
From you Mac share the folder you need with a folder in a docker image like:
docker run -it -v /Users/me/dev/my-project:/root/src:rw ubuntu /bin/bash
One small annoyance that I haven't found how to overcome is that you do not longer access your software through localhost because it actually runs on boot2docker instance. You have to run boot2docker ip and access that ip.
Hope that helps!

Can I use Kinect on a Mac?

Studying vision, I would like to play with the Microsoft Kinect.
Can I use it on my Mac?
I have not found any Library for Mac and fear virtualization on my laptop to use Linux.
I've accessed Kinect data on OSX using openframeworks and the ofxKinect addon (which uses libfreenect and libusb).
It's not the only option, just I've used and worked 'out of the box'.
Try downloading the Zigfu Dev Bundle for mac (http://www.zigfu.com) - that should get you up to speed with kinect development on mac.
Using Kinect on Mac is as easy as ordering Latte.
But there is also a lot of confusion on the Internet and sites that seem to be old and give you the wrong advice such as installing a separate sensor library in addition to OpenNI. Just go to the basic website and download SDK for your MAC:
http://www.openni.org/openni-sdk/
You might need to have prerequsities though I assume you have already installed them, such as:
sudo port install libtool
sudo port install doxygen
restart comp
sudo port install libusb-devel +universal
Troubleshooting:
"sudo rm -f /opt/local/lib/libusb-1.0.0.dylib"
"sudo port clean libusb"
"sudo port install libusb +universal"
No need to compile anything. You should be able to run ./Samples/Bin/SimpleViewer right away after you run sudo ./install.sh.The PROBLEM might be that you have already tried to run it unsuccessfully and put a camera in the wrong state. I have seen errors such as USB intercase cannot be set etc. as a side effect.
Running your code in Eclipse is a different story and may require a few extra steps and changing your Ubuntu code (using openni namespace, different includes, etc.)