Skip to content

Instantly share code, notes, and snippets.

@ivanstan
ivanstan / Antonyms.md
Created July 12, 2021 13:39 — forked from maxtruxa/Antonyms.md
A list of common terms used in programming and their respective antonyms.

Antonym List

Note: The table headings (positive/negative) are not necessarily meaningful.

Positive Negative
acquire release
add remove (e.g. an item), subtract (arithmetic)
advance retreat
allocate deallocate (correct), free (common)
allow deny
<?php
namespace App\Command;
use App\Entity\User;
use App\Security\Role;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
<?php
namespace App\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ChoiceQuestion;
use Symfony\Component\Console\Style\SymfonyStyle;
symfony new [%project_name%] --full
cd [%project_name%]
composer require symfony/mailer
composer require symfony/security-bundle
composer require symfony/orm-pack
composer require annotations
composer require symfony/validator doctrine/annotations
composer require myclabs/php-enum
composer require --dev orm-fixtures
mkdir src/Command
@ivanstan
ivanstan / nsquery.log
Created July 6, 2019 19:24
sumeiklima.rs NS quesry
```
default:data.ivanstanojevic.me ivanstan$ dig sumeiklima.rs NS
; <<>> DiG 9.10.6 <<>> sumeiklima.rs NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35682
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
$context=array(
"ssl"=>array(
"allow_self_signed"=>true,
"verify_peer"=>false,
),
);
file_get_contents("https://example.com/", false, stream_context_create($context));