Skip to content

Instantly share code, notes, and snippets.

View hiqsol's full-sized avatar
💭
looking around

Andrii Vasyliev hiqsol

💭
looking around
View GitHub Profile
@hiqsol
hiqsol / findClass.php
Created June 27, 2018 19:10
Find full class path by class name using composer class map
#!/usr/bin/env php
<?php
$name = $argv[1];
$pfix = "\\$name";
$len = strlen($pfix);
require "vendor/composer/autoload_static.php";
$tmp = get_declared_classes();
@hiqsol
hiqsol / .zaliases
Created January 18, 2016 13:24
Zsh function for git clone
clone() {
echo git clone git@github.com:$*;
git clone git@github.com:$*;
}