Skip to content

Instantly share code, notes, and snippets.

Convert tea to code

Serghei Niculaev spam312sn

Convert tea to code
Block or report user

Report or block spam312sn

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 install-git-kraken-ubuntu
sudo dpkg -i gitkraken-amd64.deb
spam312sn /
Last active Jan 21, 2017
Removing deprecation notices in Symfony using Codeception

Here is the best way to remove deprecation notices in Symfony 2.8 with using Codeception in CLI:

spam312sn / dh.php
Created Dec 1, 2016
Deffie-Hellman protocol sandbox
View dh.php
// private
$A = 15; // Alice
echo "Alice private key: " . $A . "(A)\n";
$B = 5; // Bob
echo "Bob private key: " . $B . "(B)\n";
// public
$a = pow(11, $A) % 23; // Alice
echo "\nAlice public key: " . $a . "\n";
spam312sn /
Created Nov 18, 2016
Global menu for PHPStorm on Ubuntu

Global menu for PHPStorm


  1. Ubuntu
  2. PHPStorm

Install jayatana

  1. sudo add-apt-repository ppa:danjaredg/jayatana
  2. sudo apt-get update
  3. sudo apt-get install jayatana
You can’t perform that action at this time.