Skip to content

Instantly share code, notes, and snippets.

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

Anfal Mushtaq MAnfal

🏠
Working from home
View GitHub Profile
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Anfal Mushtaq",
"label": "Software Engineer at Logitech",
"picture": "",
"email": "muhammadanfal0@gmail.com",
"phone": "",
@MAnfal
MAnfal / learn_rust_docker_file
Created November 12, 2020 00:55
learn_rust_docker_file
FROM ubuntu:latest
RUN mkdir ~/src
WORKDIR /root/src
RUN apt update
RUN apt install -y curl
@MAnfal
MAnfal / VSCode for Jetbrains IDE users
Last active October 7, 2020 10:48
VSCode for Jetbrains IDE users
https://marketplace.visualstudio.com/items?itemName=isudox.vscode-jetbrains-keybindings
https://www.jetbrains.com/lp/mono/#how-to-install

Initial Setup In Lumen

  • run composer install to install all the important packages, (can be viewed in composer.json).
  • run composer dump-autoload.
  • run php artisan migrate.
  • Install PHPRedis a PHP extension for Redis from https://github.com/phpredis/phpredis.
  • In config/database.php there are following configurations that can be configured for redis.
    • host => IP Address of server where Redis is running.
    • port => Port of server where Redis is running. (By default Redis run on 6379 port)
  • database => Instance to use as database on Redis.
@MAnfal
MAnfal / web_dev_helper.md
Last active January 4, 2017 07:02
This gist have important information for Web development.
@MAnfal
MAnfal / xdebug_installation_on_linux.md
Last active January 4, 2017 06:52
Walkthrough for installing xdebug for php 7 on linux and enabling its support for phpstorm.

Xdebug Installation

Please follow the following steps to configure Xdebug on Linux.


Tested on

//Custom class used as key for HashMap
public class CustomHashMapIntegerKey {
private Integer key = 0;
public void setKey(Integer key) {
this.key = key;
}
public Integer getKey() {