Skip to content

Instantly share code, notes, and snippets.

View gghughunishvili's full-sized avatar
💭
I may be slow to respond.

Giorgi Ghughunishvili gghughunishvili

💭
I may be slow to respond.
  • Google
  • New York, NY
  • 13:03 (UTC -04:00)
View GitHub Profile
@gghughunishvili
gghughunishvili / example.md
Last active March 28, 2024 17:10 — forked from sdnts/example.md
Postman pm.sendRequest example

To send a request via the sandbox, you can use pm.sendRequest.

pm.test("Status code is 200", function () {
    pm.sendRequest('https://postman-echo.com/get', function (err, res) {
        pm.expect(err).to.not.be.ok;
        pm.expect(res).to.have.property('code', 200);
        pm.expect(res).to.have.property('status', 'OK');
    });
});
@gghughunishvili
gghughunishvili / decorator.php
Created June 12, 2017 08:04 — forked from JeffreyWay/decorator.php
Decorator PHP dummy example
<?php
interface Thing {
public function execute();
}
class A implements Thing {
public function execute()
@gghughunishvili
gghughunishvili / migrate1.sh
Last active October 14, 2021 09:48 — forked from pepijnblom/migrate.sh
Upgrade MySql on MAMP
# // Upgrade MAMP 3 to Mysql 5.7.12 (on El Capitan Tested)
#!/bin/sh
wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.12-osx10.11-x86_64.tar.gz
tar xfvz mysql-5.7.12-osx10.11-x86_64.tar.gz
echo "stopping mamp"
sudo /Applications/MAMP/bin/stop.sh
sudo killall httpd mysqld