Skip to content

Instantly share code, notes, and snippets.

View SOURAV-ROY's full-sized avatar
♾️
MERN

SOURAV ROY SOURAV-ROY

♾️
MERN
View GitHub Profile
@SOURAV-ROY
SOURAV-ROY / AppName.php
Created March 2, 2020 19:10 — forked from isluewell/AppName.php
[6.0] Command app:name
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Composer;
use Symfony\Component\Finder\Finder;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Console\Input\InputArgument;

Folder Structure

Motivations

  • Clear feature ownership
  • Module usage predictibility (refactoring, maintainence, you know what's shared, what's not, prevents accidental regressions, avoids huge directories of not-actually-reusable modules, etc)
@SOURAV-ROY
SOURAV-ROY / active.md
Created July 5, 2019 16:49 — forked from paulmillr/active.md
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Tue, 06 Dec 2016 17:06:46 GMT till Wed, 06 Dec 2017 17:06:46 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user =&gt; user.followers &gt; 1000)
@SOURAV-ROY
SOURAV-ROY / webdev_online_resources.md
Created July 20, 2018 18:40 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
#include <stdio.h>
void scanArray2D(int arr2D[][5],int ROW,int COL);
void printArray2D(int arr2D[][5],int ROW,int COL);
int maxMin2D(int arr2D[][5],int ROW,int COL);
int main(void)
{
#include <stdio.h>
void scanArray2D(int arr2D[][5],int ROW,int COL);
void printArray2D(int arr2D[][5],int ROW,int COL);
int searchItem2D(int arr2D[][5],int ROW,int COL,int item);
int main(void)
{
int x,y,a[5][5],item;
printf("Enter Row and Column: \n");
#include <stdio.h>
void scanArray2D(int arr2D[][5], int ROW,int COL);
void printArray2D(int arr2D[][5], int ROW,int COL);
int main(void)
{
int r,c,a[5][5];
printf("Enter Row and Column: \n");
scanf("%d%d",&r,&c);
@SOURAV-ROY
SOURAV-ROY / tor.py
Last active August 29, 2015 14:06 — forked from ankitagarwal248/tor.py
import socks
import urllib2
import requests
from Queue import Queue
from threading import Thread
import httplib
class SocksiPyConnection(httplib.HTTPConnection):
def __init__(self, proxytype, proxyaddr, proxyport = None, rdns = True, username = None, password = None, *args, **kwargs):
#include <stdio.h>
int main()
{
int i, n, fact = 1;
printf("Enter The Number\n");
scanf("%d", &n);
for (i = 1; i <= n; i++)