Skip to content

Instantly share code, notes, and snippets.

View xurshid29's full-sized avatar

Khurshid Yalgashev xurshid29

View GitHub Profile
@xurshid29
xurshid29 / gist:a957039f57e2cf7021e0fba4c880ef43
Last active October 21, 2022 18:27
TMP: Agora chat access-token2 for nodejs
We couldn’t find that file to show.
@xurshid29
xurshid29 / pex_install_postgis_workarounds.md
Created October 1, 2019 17:28 — forked from skissane/pex_install_postgis_workarounds.md
Solutions and workarounds for issues with "pex install postgis" (assuming macOS+Homebrew)

Problem: configure: error: could not find libxml2
Solution: sudo xcode-select -s /Library/Developer/CommandLineTools

Problem: configure: error: could not find geos-config within the current path. You may need to try re-running configure with a --with-geosconfig parameter
Solution: brew install geos

Problem: configure: error: could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir
Solution: brew install proj and then CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H pex install postgis

Problem: configure: error: gdal-config not found. Use --without-raster or try --with-gdalconfig=\

@xurshid29
xurshid29 / KernelRequestListener.php
Last active August 29, 2015 14:21
Forces the users log out and leave out the personal cabinet whenever the maintenance mode starts.
<?php
/**
* Created by PhpStorm.
* User: xurshid29
* Date: 12/6/14
* Time: 2:17 PM
*/
namespace SL\CoreBundle\Event\Listener;