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
@bradtraversy
bradtraversy / devcamper_specs.md
Last active March 17, 2024 17:25
Specs for Devcamper Udemy course project

DevCamper Backend API Specifications

Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.

Bootcamps

  • List all bootcamps in the database
    • Pagination
    • Select specific fields in result
    • Limit number of results
  • Filter by fields
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active May 3, 2024 12:56
Online Resources For Web Developers (No Downloading)
@letsgetrandy
letsgetrandy / brototype.js
Last active February 1, 2019 17:52
Bro, do you even?
if (Object.defineProperty) {
Object.defineProperty(Object.prototype, 'doYouEven', {
value: function(key) {
var props = (key || '').split('.'),
item = this;
for (var i=0; i<props.length; i++) {
item = item[props[i]];
if (typeof item === 'undefined') return false;
}
return true;
@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):
import socks
import urllib2
import requests
from Queue import Queue
from threading import Thread
import httplib
import time
links = ["http://timesofindia.indiatimes.com/india/India-to-fortify-defence-along-China-border-54-new-ITBP-posts-being-planned-in-Arunachal/articleshow/36353494.cms",
#include <stdio.h>
int main()
{
int i, n, fact = 1;
printf("Enter The Number\n");
scanf("%d", &n);
for (i = 1; i <= n; i++)
@paulmillr
paulmillr / active.md
Last active April 23, 2024 17:32
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 Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

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)