Skip to content

Instantly share code, notes, and snippets.

View sheerif's full-sized avatar
🎯
Focusing

sheerif sheerif

🎯
Focusing
View GitHub Profile
@sheerif
sheerif / rarreg.key
Created November 25, 2021 07:39 — forked from MuhammadSaim/rarreg.key
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@sheerif
sheerif / example.html.twig
Created June 25, 2020 18:37 — forked from marydn/example.html.twig
Render all flash messages from Symfony in Twig.
{% for label, flashes in app.session.flashbag.all %}
{% for flash in flashes %}
<div class="alert alert-{{ label }}">
{{ flash }}
</div>
{% endfor %}
{% endfor %}
@sheerif
sheerif / .htaccess
Created December 10, 2019 14:45 — forked from Guibzs/.htaccess
Symfony 4 ~ .htaccess
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch 302 ^/$ /index.php/
@sheerif
sheerif / carousel.css
Created February 5, 2019 22:16 — forked from abr4xas/carousel.css
Carousel w/ Twig
@sheerif
sheerif / FileUploader.php
Created January 24, 2019 00:45 — forked from cirykpopeye/FileUploader.php
Easy Image upload with Symfony 4
<?php
/**
* Created by PhpStorm.
* User: ciryk
* Date: 11/07/18
* Time: 19:23
*/
namespace App\Service;