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
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
@spam312sn
spam312sn / SymfonyDeprecationNotices.md
Last active Jan 21, 2017
Removing deprecation notices in Symfony using Codeception
View SymfonyDeprecationNotices.md

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

export SYMFONY_DEPRECATIONS_HELPER=weak
@spam312sn
spam312sn / dh.php
Created Dec 1, 2016
Deffie-Hellman protocol sandbox
View dh.php
<?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
spam312sn / PHPStorm-global-menu.md
Created Nov 18, 2016
Global menu for PHPStorm on Ubuntu
View PHPStorm-global-menu.md

Global menu for PHPStorm

Requirements

  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.