Skip to content

Instantly share code, notes, and snippets.

Alexandr StalkAlex

Block or report user

Report or block StalkAlex

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
@StalkAlex
StalkAlex / zsh for BOW.md
Last active Apr 18, 2017
Pretty looking BashOnWindows ZSH
View zsh for BOW.md

Windows

  1. Install Conemu
  2. Select <Solarized (Luke Maciak)> theme
  3. Use bash as startup script path
  4. https://github.com/powerline/fonts clone and run ps script to install all fonts

Ubuntu

  1. sudo apt-get install python-pip
  2. sudo pip install powerline-status
@StalkAlex
StalkAlex / dmstr_migration.php
Last active Jan 22, 2016
yii2-pages module migration. This is working version for postgres.
View dmstr_migration.php
<?php
use yii\db\Schema;
use yii\db\Migration;
class m151103_064902_create_tree_manager_table extends Migration
{
public function up()
{
$this->execute("CREATE SEQUENCE dmstr_page_seq;");
View .vagrantfile
Vagrant.configure(2) do |config|
config.vm.provider :virtualbox do |v|
v.name = "my_name"
v.customize [
"modifyvm", :id,
"--name", "my_name",
"--memory", 1024,
"--cpus", 1,
]
end
You can’t perform that action at this time.