Skip to content

Instantly share code, notes, and snippets.

Ilya Sanosyan isanosyan

Block or report user

Report or block isanosyan

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
isanosyan / two columns
Created Apr 15, 2013
two columns for bilingual docs like contract
View two columns
This is the first column.\\
This is still in the first column.
View самсунг
Собственный софт самсунга написан чужими для хищников.
isanosyan / gist:4744715
Last active Dec 12, 2015
mac os x: change screenshot location (defaults to desktop)
View gist:4744715
defaults write location /path/
killall SystemUIServer
isanosyan / gist:3242469
Created Aug 3, 2012
convert video for ipad
View gist:3242469
ffmpeg -i test.flv -vcodec mpeg4 -b 512k -acodec aac -strict experimental -ac 2 -ab 256k -ar 44100 test.mp4
isanosyan / gist:2973744
Created Jun 22, 2012
mac os x: disable and enable spotlight
View gist:2973744
sudo launchctl unload -w /System/Library/LaunchDaemons/
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
sudo launchctl load -w /System/Library/LaunchDaemons/
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
isanosyan / Request.php
Created Jun 22, 2012
Symfony 2: use GET parameter _path to determine route
View Request.php
namespace Package\MyBundle\Component\HttpFoundation;
use Symfony\Component\HttpFoundation\Request as BaseRequest;
* Represents HTTP request.
* Replaces actual path with GET _path parameter (if present)
You can’t perform that action at this time.