Skip to content

Instantly share code, notes, and snippets.

View gcziprusz's full-sized avatar
🏠
Working from home

Gabriel Cziprusz gcziprusz

🏠
Working from home
View GitHub Profile

1. Clone Your Personal Repo

If you haven’t already, clone the personal repo to your local machine:

git clone https://github.com/yourusername/your-personal-repo.git
cd your-personal-repo

2. Add the Organization Repo as a Remote

@gcziprusz
gcziprusz / zoned.js
Created January 26, 2024 14:47 — forked from defunkt/zoned.js
Timezones in JavaScript, from http://errtheblog.com/posts/49-a-zoned-defense
var Timezone = {
set : function() {
var date = new Date();
date.setTime(date.getTime() + (1000*24*60*60*1000));
var expires = "; expires=" + date.toGMTString();
document.cookie = "timezone=" + (-date.getTimezoneOffset() * 60) + expires + "; path=/";
}
}
# Lesson Plan: Memory
## Learning Objectives
|KSA ID|KSA Description|Bloom's Taxonomy|Created in Version|
|---|---|---|---|
|||||
## Prerequisites
@gcziprusz
gcziprusz / readme.md
Last active April 26, 2023 16:29
how to import the midstone project source code to your personal github account
  1. Create a new Public repository under your personal github profile at https://github.com/new , the owner should be yourself. Make sure you do not click generate readme.
  2. Once created, copy the git url like [email protected]:{your username}/{name of newly created repo}.git
  3. Change into the root of your teams midstone project directory.
  4. Execute the following command git remote add personal [email protected]:{your username}/{name of newly created repo}.git
  5. Push the main branch to your new personal public repo git push personal main .
  6. Check to make sure your code is imported to your personal github profile.
@gcziprusz
gcziprusz / go-pre-commit.md
Last active October 21, 2015 13:59
pre commit hook to check go format and run go tests
  • Copy the pre-commit file without an extension to {your project}/.git/hooks/
  • make the file is executable chmod +x pre-commit