Skip to content

Instantly share code, notes, and snippets.

View mega6382's full-sized avatar
:octocat:
Que Sera Sera!

Haseeb A. Basil mega6382

:octocat:
Que Sera Sera!
View GitHub Profile
@mega6382
mega6382 / LambdaTest Languages and Frameworks Support.txt
Created March 7, 2019 14:56
LambdaTest Languages and Frameworks Support
+--------+-------------+---------+----------+----------+------------+
| JAVA | JavaScript | PHP | Python | C# | Ruby |
+--------+-------------+---------+----------+----------+------------+
| JUnit | Protractor | Behat | Behave | NUnit | RSpec |
+--------+-------------+---------+----------+----------+------------+
| TestNG | Nightwatch | PHPUnit | UnitTest | MSTest | Test::Unit |
+--------+-------------+---------+----------+----------+------------+
| | WD | | | SpecFlow | |
+--------+-------------+---------+----------+----------+------------+
| | WebDriverIO | | | | |
@mega6382
mega6382 / Security-Aspects.txt
Created March 7, 2019 14:36
Security aspects
+-------------+----------------+-----+-----------------+
| | XSS Protection | WAF | DDOS Protection |
+-------------+----------------+-----+-----------------+
| BulletProof | Yes | Yes | Yes |
+-------------+----------------+-----+-----------------+
| Sucuri | Yes | Yes | Yes |
+-------------+----------------+-----+-----------------+
| iThemes | Yes | Yes | Yes |
+-------------+----------------+-----+-----------------+
| Acunetix | Yes | Yes | Yes |
@mega6382
mega6382 / File-System-Security-Aspects.txt
Created March 7, 2019 14:30
File System security aspects
+-------------+----------------------+---------------------+-------------------------+--------------+
| | Disable File Editing | Monitor System Logs | Manage File Permissions | Repair Files |
+-------------+----------------------+---------------------+-------------------------+--------------+
| BulletProof | No | Yes | Yes | Yes |
+-------------+----------------------+---------------------+-------------------------+--------------+
| Sucuri | No | Yes | Yes | Yes |
+-------------+----------------------+---------------------+-------------------------+--------------+
| iThemes | No | Yes | Yes | Yes |
+-------------+----------------------+---------------------+-------------------------+--------------+
| Acunetix | No | Yes | Yes | Yes |
@mega6382
mega6382 / Database security aspects.txt
Created March 7, 2019 14:28
Database security aspects
+-------------+---------+-------------------+---------------------------+--------------------------+---------------------+
| | Backups | Errors turned off | DB Status and Information | SQL Injection Protection | Change table prefix |
+-------------+---------+-------------------+---------------------------+--------------------------+---------------------+
| BulletProof | Yes | Yes | Yes | Yes | Yes |
+-------------+---------+-------------------+---------------------------+--------------------------+---------------------+
| Sucuri | Yes | Yes | Yes | Yes | Yes |
+-------------+---------+-------------------+---------------------------+--------------------------+---------------------+
| iThemes | Yes | Yes | Yes | Yes | Yes |
+-------------+---------+---------------
+-------------+------------------------+-----------------------------+--------------------------------+-----------------+-----------------------+
| | Brute Force Protection | Strong Password Enforcement | Block User by IP or by Country | User Monitoring | ReCAPTCHA Integration |
+-------------+------------------------+-----------------------------+--------------------------------+-----------------+-----------------------+
| BulletProof | Yes | Yes | Yes | Yes | No |
+-------------+------------------------+-----------------------------+--------------------------------+-----------------+-----------------------+
| Sucuri | Yes | Yes | Yes | Yes | No |
+-------------+------------------------+-----------------------------+--------------------------------+-----------------+-----------------------+
|
@mega6382
mega6382 / index.ts
Last active December 19, 2018 15:49
typescript errors
function myDecorator(name: string): Function {
return function(target: any) {
target.constructor.acceptableDynamicMethodCalls.push(name);
};
}
class Foo {
static acceptableDynamicMethodCalls: string[];
@mega6382
mega6382 / query.sql
Created October 5, 2018 15:38
a query
SELECT p.product_id,
ptc.category_id AS cat_id,
cd.name AS cat_name,
p.model AS product_code,
pd.name AS product_name,
Trim(BOTH ' ' FROM REPLACE(REPLACE(Substring(pd.description, 1, 5000),
'<p>\r \n', ''),
'</p>\r\n',
'')) AS description,
IF(Avg(r.rating) IS NULL, 'n/a', Avg(r.rating)) AS rating,
@mega6382
mega6382 / HBModelController.php
Created April 24, 2018 12:09
My Old Trait Implementation
<?php
namespace TheProject\Extensions;
use Zend\Json\Json;
use Zend\View\Model\ViewModel;
trait HBModelController
{
protected $postsTable;
@mega6382
mega6382 / keybase.md
Last active March 6, 2018 09:49
keybase.md

Keybase proof

I hereby claim:

  • I am mega6382 on github.
  • I am mega6382 (https://keybase.io/mega6382) on keybase.
  • I have a public key whose fingerprint is D271 703B 655E 98CC 73D6 D6BD 069A 7C09 662B B813

To claim this, I am signing this object: