Skip to content

Instantly share code, notes, and snippets.

@moose-horizons
moose-horizons / copy-repo.md
Last active April 3, 2023 16:20
Copy a repo without forking

How to copy a GitHub repo without forking

GitHub only lets you fork a repo once, if you want to make more than one copy of a project here's how you can do it. Useful for starter code.

  1. Create a new empty folder for your project and initialize git

    cd where-you-keep-your-projects

mkdir your-project-name

--
-- PostgreSQL database dump
--
-- Dumped from database version 9.5.3
-- Dumped by pg_dump version 9.5.3
SET statement_timeout = 0;
SET lock_timeout = 0;
<script>
console.log('I can see your cookies!', document.cookies);
</script>
Secret.findOne({
secret: req.body.secret
}, function(error, secret) {
res.json(secret);
});
#!/usr/bin/env python
'''Convert example documentation into jasmine test specs.
Reads from stdin, writes to stdout.
Input:
// ex. fold.contains(['a', 'b', 'c'], 1) -> false
Output:
it("fold.contains(['a', 'b', 'c'], 1) -> false", function() {
expect(fold.contains(['a', 'b', 'c'], 1)).toBe(false);