Skip to content

Instantly share code, notes, and snippets.

Martynas Sudintas martiis

  • Helis LT
  • Lithuania
Block or report user

Report or block martiis

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
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/martynas/.oh-my-zsh"
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
martiis / killer
Last active Dec 13, 2017
Shell for killing process
View killer
kill -9 $(ps | grep "$@" | grep -v grep | awk '{ print $1 }')
View back
nohup "$@" &> /dev/null &
martiis / php-debug
Last active Dec 9, 2017
Debug script helper for php
View php-debug
env PHP_IDE_CONFIG="serverName=vagrant" XDEBUG_CONFIG="idekey=PHPSTORM" SYMFONY_DEBUG="1" $@
martiis / symfony_collection.js
Created Oct 12, 2016
For displaying symfony collections
View symfony_collection.js
(function () {
function SymfonyCollection(listId, addBtnId, count) {
this.list = $('#' + listId);
this.count = count;
this.widget = this.list.attr('data-prototype');
var _self = this;
$('#' + addBtnId).on('click', function () {
martiis / nginx_oxid_vhost
Last active Aug 29, 2015
Nginx configuration for OXID eCommerce
View nginx_oxid_vhost
server {
listen 80;
root /var/www/oxid;
index index.php index.html;
location = /favicon.ico {
log_not_found off;
access_log off;
martiis / alias
Last active Aug 29, 2015
My aliases
View alias
alias docker-clear='docker rm $(docker ps -aq)'
alias docker-kill='docker kill $(docker ps -q)'
alias phpcs='/Users/martynas/.composer/vendor/bin/phpcs -p --standard=/Users/martynas/.composer/vendor/ongr/ongr-strict-standard/ONGR --ignore=vendor/,Tests/app/,Resources/public/ ./'
alias phpunit='/Users/martynas/.composer/vendor/bin/phpunit'
alias debug-phpunit='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit'
alias phpunit-stop='/Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure'
alias debug-phpunit-stop='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure'
alias debug='php -dxdebug.remote_autostart=On'
You can’t perform that action at this time.