Skip to content

Instantly share code, notes, and snippets.

Darshit Mendapara mendaparadarshit

Block or report user

Report or block mendaparadarshit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MAMP PRO 4 Trial

MAMP PRO 4 Trial Reset

A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.

How to use

  • Copy the code into a file OR download the script and save it as
  • Open the Terminal app and write chmod +x then drag and drop the file on the Terminal. You should have something like chmod +x Press Enter to run it.
  • Now, run the file itself by dragging and dropping it on the Terminal (something like then pressing Enter.
  • Open MAMP PRO and check if you have 14 days left now.

Didn't work?

mendaparadarshit / client.cpp
Created Oct 12, 2019 — forked from Tryptich/client.cpp
Multiple streaming in c++ using opencv; OpenCV video streaming over TCP/IP
View client.cpp
* OpenCV video streaming over TCP/IP
* Client: Receives video from server and display it
* by Steve Tuenkam
#include "opencv2/opencv.hpp"
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
mendaparadarshit / Install Composer using MAMP's
Created Aug 29, 2019 — forked from irazasyed/Install Composer using MAMP's
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management
View Install Composer using MAMP's

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management

Instructions to Change PHP Installation

First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php
View Check if specific array key exists in multidimensional array - PHP
$array = array(
'21' => array(),
'24' => array(
'22' => array(),
'25' => array(
'26' => array()
You can’t perform that action at this time.