Skip to content

Instantly share code, notes, and snippets.

View atulmahankal's full-sized avatar

Atul Mahankal atulmahankal

View GitHub Profile
@mansouryaacoubi
mansouryaacoubi / retrieveWiFiPass.bat
Created December 6, 2018 21:30
Retrieve saved WiFi Password from PC
@echo off
cls
IF [%1] == [] GOTO SETVAR
SET SSID=%1
GOTO START
:SETVAR
SET /P SSID="Please enter SSID (in quotation mark): "
IF [%SSID%] == [] GOTO SETVAR
GOTO START
@ejlocop
ejlocop / ServeCommand.php
Created January 31, 2018 07:32
set a default laravel php artisan serve host and port.
<?php
namespace Illuminate\Foundation\Console;
use Illuminate\Console\Command;
use Symfony\Component\Process\ProcessUtils;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Process\PhpExecutableFinder;
class ServeCommand extends Command