QR decoder that works on mac? [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Anyone know a QR decoder that works on mac or that might be online? I just need to decode one single image.

Using brew, it is easy to install zbar, a QR code reader.
brew install zbar
Then a QR code can be read by calling:
zbarimg qrcode_file.png
Also #jm666, brew can be used to install opencv.

Unfortunately, the most used library libdecodeqr is depends on OpenCV (gtk2) and it is too hard to compile it on OS X. (Tried to compile it because it is needed by Image::DecodeQR perl module - but unsuccessful).
Fortunately, found this link: http://macscripter.net/viewtopic.php?id=37404 from citing the next:
Download the ZBar source code.
Unpack the the tarball, and open the resulting directory in a Terminal window.
Type ./configure --disable-video --without-python --without-gtk --without-qt to configure the build process, limiting dependencies to ImageMagick.
Type "make" to invoke the build process.
Type "sudo make install", and enter an administrator password when prompted.
You will need ImageMagick what can be installed from macports.
After installing the ZBar, you can nicely decode qrcode with a command
zbarimg qrcode_file.png
Tested on OS X Mavericks 10.9.2 (and Lion/10.7.5)- and works nicely. Becasue it only depends on ImageMagick (exists in macports)- should be easily "compilable" on other OS X versions too.

There is an open-source command line tool named ZBar. It takes a photo as an argument and extracts the information out of any QRCode that it detects in the image.
The open-source project QR-Reader-Mac provides an Applescript script that acts as a wrapper to zbar. You can create a shortcut to the script for processing QRCodes or create a service, as explained below. The script will automatically open the URL contained within the QRCode in your default browser.
Usage
Step by step
ZBar can be easily installed with Homebrew:
brew install zbar
To install QR-Reader-Mac:
Open the QR-Reader-Mac GitHub project page, select Code, and download the project as a ZIP file:
Double click the ZIP file to extract it.
Double click the workflow you want to install. The following Pop-UP should appear:
Confirm by pressing install.
Open System Preferences and add a shortcut to the open_QRCode service under Keyboard > Shortcuts > Services > General:
(Important: Note that QR-Reader-Mac expects to find the executable 'zbarimg' in /usr/local/bin/zbarimg, which is the standard path Homebrew will install it.)
Copy to Clipboard
The QRCode2Clipboard.workflow can be used to extract the content of the QR-Codes into the Clipboard. It can be installed in the same way as the open_QRCode.workflow.

Related

Windows installer hangs during installing git [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Trying to install git version 2.27.0 and installation stuck on 100%( full green bar).
I tried all the possible way like changing the install location path and with all the drive i have.but nothing worked.
When I asked my computer to restart and then canceling that....it takes me to the finish window but it worthless I could not run the git bash terminal.while trying to open git bash a file formed,named mintty.exe.stackdump
Please somebody help me to fix the issue....
System: windows7 32bit
Logging: This appears to be an INNO setup. Try to log it with:
Git-2.27.0-32-bit.exe /LOG
Then find the log file in the TEMP folder (sort it by modify time until you find the log file at the top).
Updated: "Short" list of things to check for a failing setup.exe
I have a generic check list / ideas list for failing setups here. Check the "Generic Tricks" section for some suggestions. Here are some of the points as recommendations:
Re-download the setup and virus check it. Quick malware scan of problem box.
Verify disk space and check for disk errors on problem box.
Temporarily disable your anti-virus during installation.
Now try to log your setup as described above - on the problem box - and check for errors.
Further alternatives:
Try to create a new admin account on problem box and install with a freshly downloaded and verified installer.
Install on a virtual to make sure the install can succeed in your environment.
First, as a workaround, you can at least simply uncompress PortableGit-2.27.0-64-bit.7z.exe, anywhere you want, and set your PATH:
set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
The other test you can do is simply to check if the issue persists with previous version of Git for Windows.

How to create installer for mac software

I've created software using Filemaker and I have to create an installer.
I already done it for Windows but I have to create one for Mac too. The installer will be able to install the software, install a font and ask the serial number.
Can someone help me?
I think Apple used to (still does?) offer a program with Xcode that was called PackageMaker, but I don't think they still do. It might be available from a previous version of Xcode. I found surprisingly little information about it online.
However, the command line tools that it was based on, pkgbuild, productbuild, and pkgutil , seem to be installed on my laptop running Yosemite with an Xcode utilities installation.
I would check out the accepted answer to a similar question here on Stack Overflow. It looks quite detailed, but I think it's going to be very advanced work to get a successful package created.
The above is what you probably want if you want your installer to use Apple's own Installer app. If all you want is to create an installer that gets the job done, I would probably use FileMaker itself.
Create a FileMaker file that stores your solution within a container field, lock it down with security and scripting, use Export Field Contents to get the solution file and your fonts to the right places, perhaps with some supporting AppleScript that makes use of the command line. Use FileMaker Advanced to package this up as a runtime solution and all the user has to do is double-click the runtime app and you can guide them from there. Once the installation is complete you could even open the installed solution for them and prompt them at that point to enter a serial number.

How do I avoid continual issues with multiple programs (git, ruby, python) and default network drive path problems? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Windows 7 PC. Our network admin has a network drive (H: drive)that installs on restart.....which I do not have access to when not in the office (or is not available via VPN). I have learned to both install apps after disconnecting the network drive and disconnect the network drive by default when at home.
Yet.. it seems that just about anything I install has problems that are not overt install issues. Ruby, Git and Python all install, but have problems.
The latest incarnation is the installation of Git. It installed fine, but when I tried to create a new directory, it gave me the following error
error: could not lock config file H:\/.gitconfig: No such file or directory
error: could not lock config file H:\/.gitconfig: No such file or directory
while executing
"exec {C:/Program Files/Git/libexec/git-core/git-config.exe} --global --add gui.recentrepo C:/Users/myname/Desktop/Testing/projects"
("eval" body line 1)
invoked from within
YET... it still added files to a git folder. It would not allow me to open what I just created.
I am looking for a fix to my .git problem, but I am really looking for clues to a magic bullet on this underlying network issue that continues to be a major roadblock in making headway in my learning experience.
Thank you for your help.
error: could not lock config file H:\/.gitconfig:
That because of the environment variable HOME: make sure to define one which doesn't involve H:\, and git will work just fine.
If you want all programs installed in a custom directory, like C:\prgs, use my project senv.
All programs installed are "portable": simple unzip in their respective folders, no registry modification, no uninstall (simply delete the folder when you don't want a program anymore).
Unzip https://github.com/VonC/senv/archive/master.zip anywhere you want, unzip it, and execute senv.bat: it will install git, python, ruby in a portable way.
The OP user1525974 reports in the comments adding to the gem.bat file:
SET _HOMEDRIVE=%HOMEDRIVE%
SET _HOMEPATH=%HOMEPATH%
SET HOMEDRIVE=C:
SET HOMEPATH=/Ruby193

Terminal Multiplexer for Microsoft Windows - Installers for GNU Screen or tmux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am looking for a terminal multiplexer for Microsoft Windows. I was unable to locate the installers for Microsoft Windows for both tmux and GNU Screen.
Currently I'm using Putty to connect to my Linux machine from from Windows Machine. Can somebody please suggest how to get GNU Screen or tmux working on Windows Platform.
Are there any other good alternatives to above options.
Look. This is way old, but on the off chance that someone from Google finds this, absolutely the best solution to this - (and it is AWESOME) - is to use ConEmu (or a package that includes and is built on top of ConEmu called cmder) and then either use plink or putty itself to connect to a specific machine, or, even better, set up a development environment as a local VM using Vagrant.
This is the only way I can ever see myself developing from a Windows box again.
I am confident enough to say that every other answer - while not necessarily bad answers - offer garbage solutions compared to this.
Update: As Of 1/8/2020 not all other solutions are garbage - Windows Terminal is getting there and WSL exists.
As of the Windows 10 "Anniversary" update (Version 1607), you can now run an Ubuntu subsystem from directly inside of Windows by enabling a feature called Developer mode.
To enable developer mode, go to Start > Settings then typing "Use developer features" in the search box to find the setting. On the left hand navigation, you will then see a tab titled For developers. From within this tab, you will see a radio box to enable Developer mode.
After developer mode is enabled, you will then be able to enable the Linux subsystem feature. To do so, go to Control Panel > Programs > Turn Windows features on or off > and check the box that says Windows Subsystem for Linux (Beta)
Now, rather than using Cygwin or a console emulator, you can run tmux through bash on the Ubuntu subsystem directly from Windows through the traditional apt package (sudo apt-get install tmux).
Both tmux and GNU Screen work under cygwin. They can be installed from the cygwin installer. Just search for their name there and you probably will get to the latest version (at least for tmux).
You might be able to get what you want by using Console2 with Putty or Plink.
One of alternatives is MSYS2 , in another words "MinGW-w64"/Git Bash. You can simply ssh to Unix machines and run most of linux commands from it. Also install tmux!
To install tmux in MSYS2:
run command pacman -S tmux
To run tmux on Git Bash:
install MSYS2 and copy tmux.exe and msys-event-2-1-6.dll from MSYS2 folder C:\msys64\usr\bin to your Git Bash directory C:\Program Files\Git\usr\bin.
Adding to the thread, there's a new console in town called babun, im running tmux in it without a problem. lets you run bash or the zsh.
click here for github
As an alternative SuperPutty has tabs and the option to run the same command across many terminals... might be what someone is looking for.
https://code.google.com/p/superputty/
It imports your PuTTY sessions too.
Here is dirty way:
Log into a linux server using "ssh -X user#host"
open rxvt-unicode or other X terminal.
open tmux or screen
Log back into your local computer from the server
start your favourite shell such as msys or cygwin.
It's possible to compile and use tmux within Cgywin.
http://sourceforge.net/mailarchive/message.php?msg_id=30850840

Is there a non-installable version of Fiddler, or equivalent? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
One of my clients is currently waiting for his IT department to install Fiddler on his desktop so that he can debug his web application... Apparently his desktop requires IT Admin rights to install anything.
Is there a non-installable version of Fiddler, i.e. a standalone exe (additional files ok) or an equivalent program that can be run off a thumbdrive or a local folder?
In fact, Fiddler Classic does not need to be installed:
Download Fiddler Classic setup (ie. FiddlerSetup.exe)
Open it with your Archive Manager (ie. 7-Zip)
Open $PLUGINSDIR folder
Open the contained FiddlerSetup.exe (yes again) in your Archive Manager
Extract the files in a folder
Run Fiddler.exe
For Fiddler Everywhere, it is almost the same
Download Fiddler Everywhere (ie. Fiddler Everywhere 1.0.1.exe)
Open it with your Archive Manager (ie. 7-Zip)
Open $PLUGINSDIR folder
Open the contained app-64.7z file in your Archive Manager
Extract the files in a folder
Run Fiddler Everywhere.exe
No, Fiddler doesn't "Add hooks" that require administrative permissions. You can simply copy the Fiddler folder from the Program Files folder onto the desktop of whatever user you want and launch it directly from there.
The only thing that you don't get in an "XCOPY" install is the Fiddler-related buttons in your browsers (e.g. IE and Firefox) because those are set by the installer, and if you don't run the installer, you won't get the browser extensions.
You may try either Burp ( http://portswigger.net/burp/ ) or Web Scarab ( http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project ). Both are written in Java, downloadable as zip Files and don't require admin rights ... but java. If they don't fit you can either try one of the numerous other stand alone web proxys ( http://www.owasp.org/index.php/Phoenix/Tools#HTTP_proxying_.2F_editing ) or a Firefox plugin ( http://www.owasp.org/index.php/Phoenix/Tools#Browser-based_HTTP_tampering_.2F_editing_.2F_replaying ).
If the application is developed with Eclipse: This also has some simple Traffic Monitoring tools
There's a TCP/IP sniffer called SmartSniff that is designed to not require installation.
You may want to try FiddlerCap, which is a light-weight version of Fiddler (using FiddlerCore) in the sense that it captures traffic and saves it to a Fiddler archive. It does require an install by default, but you can avoid that if you:
Install the FiddlerCap download on a different machine first. This basically does an extract only. You can simply distribute the files to the intended target machine.
Add the FiddlerCap folder on the target machine to the PATH environment variable, because it needs to find FiddlerCore.dll in that folder.
Just try to extract contents from Fiddler's installation file as Laymain mentioned. Worked for version 1.0.0.
For example, using WinRAR:
How it looks like:

Resources