Skip to content

Instantly share code, notes, and snippets.

Avatar

Aleksei Lebedev LastDragon-ru

  • Russia
View GitHub Profile
@LastDragon-ru
LastDragon-ru / TcxFixCommand.php
Created Dec 26, 2019
Add distance to indoor txc
View TcxFixCommand.php
<?php
namespace App\Console\Commands;
use Carbon\Carbon;
use Illuminate\Console\Command;
use SimpleXMLElement;
class TcxFixCommand extends Command {
/**
@LastDragon-ru
LastDragon-ru / README.md
Created Jan 12, 2014
git-http-backend + nginx (RHEL/Centos)
View README.md

Requirements:

  • fcgiwrap
  • spawn-fcgi
  • nginx
  • git

Repository setup (without anonymous access):

@LastDragon-ru
LastDragon-ru / ISO3166-1-alpha-2-to-php.php
Created Dec 27, 2013
Convert ISO 3166-1 Alpha-2 into php code
View ISO3166-1-alpha-2-to-php.php
<pre>
<?php
/**
* @see http://www.iso.org/iso/home/standards/country_codes.htm
* @author Aleksey Lebedev aka LastDragon <LastDragon@yandex.ru>
* @license BSD license
*/
$file = 'http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements_txt.htm';
$data = file($file);
You can’t perform that action at this time.