Skip to content

Instantly share code, notes, and snippets.

View MahefaAbel's full-sized avatar
🏠
Working from home

Mahefa Abel MahefaAbel

🏠
Working from home
View GitHub Profile
@MahefaAbel
MahefaAbel / generate-ios.sh
Created January 24, 2023 12:43 — forked from monmonja/generate-ios.sh
generate ios from command line
# download this file to your project folder and excute
# chmod +x generate-ios.sh
# then run using
# ./generate-ios.sh
# flutter build defaults to --release
flutter build ios
# make folder, add .app then zip it and rename it to .ipa
mkdir -p Payload
@MahefaAbel
MahefaAbel / http-status-codes.php
Created September 8, 2021 17:06 — forked from henriquemoody/http-status-codes.php
List of HTTP status codes in PHP
<?php
/**
* Content from http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
*
* You may also want a list of unofficial codes:
*
* 103 => 'Checkpoint',
* 218 => 'This is fine', // Apache Web Server
* 419 => 'Page Expired', // Laravel Framework
@MahefaAbel
MahefaAbel / docker-compose.yml
Created August 28, 2021 10:46 — forked from sheikhwaqas/docker-compose.yml
Docker Compose configuration to run MySQL 5.6 and MySQL 5.7 on one instance. Create /var/lib/mysql56-data & /var/lib/mysql57-data with root as the owner of these directories before running docker-compose up -d
version: '3'
services:
mysql56:
image: mysql:5.6
restart: unless-stopped
container_name: mysql56-container
ports:
- "127.0.0.1:3356:3306"
environment:
MYSQL_ROOT_PASSWORD: rootPassword
@MahefaAbel
MahefaAbel / iptables-config-script
Created October 4, 2019 12:23 — forked from LouWii/iptables-config-script
Bash script to configure iptables for a web server. Some rules can be removed depending on used services.
#!/bin/sh
# Empty all rules
sudo iptables -t filter -F
sudo iptables -t filter -X
# Bloc everything by default
sudo iptables -t filter -P INPUT DROP
sudo iptables -t filter -P FORWARD DROP
sudo iptables -t filter -P OUTPUT DROP
@MahefaAbel
MahefaAbel / web-service-soap-client-server-php.md
Created April 29, 2019 05:45 — forked from umidjons/web-service-soap-client-server-php.md
Simple Web service - SOAP Server/Client in PHP

Simple Web service - SOAP Server/Client in PHP

Implementation of the SOAP server - server.php:

<?php
// turn off WSDL caching
ini_set("soap.wsdl_cache_enabled","0");

// model, which uses in web service functions as parameter
@MahefaAbel
MahefaAbel / LICENCE SUBLIME TEXT
Created April 6, 2019 16:35
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
@MahefaAbel
MahefaAbel / cracking.md
Created April 6, 2019 16:23
Cracking guide for Sublime Text 3 Build 3206/3200 and Sublime Merge - Build 1111/1109 (Linux x86_64) - Updated #7 (20190405)

Script for patching Sublime Text 3 and Sublime Merge - Linux x64!

Only for builds 3206/3200 and 1111/1109

License key required: NO

Detailed explanation

@MahefaAbel
MahefaAbel / starUML.md
Created April 4, 2019 03:23 — forked from trandaison/starUML.md
Get full version of StarUML

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

After installing StartUML successfully, modify LicenseManagerDomain.js as follow:

/**