Skip to content

Instantly share code, notes, and snippets.

View nsojib's full-sized avatar

Noushad Sojib nsojib

View GitHub Profile
@nsojib
nsojib / private_fork.md
Created May 27, 2025 04:07 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nsojib
nsojib / mysocket
Created May 24, 2018 16:45
socket utility
import sys
import socket
import StringIO
class MySocket():
def __init__(self, host='127.0.0.1', port=5578):
print 'my net socket'
self.host=host
self.port = port
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)