Skip to content

Instantly share code, notes, and snippets.

View iozozturk's full-sized avatar
Charging

ismet özöztürk iozozturk

Charging
View GitHub Profile

Interview Questions

General

  • What excites or interests you about web development?
  • What is a recent technical challenge you experienced and how did you solve it?
  • Which version control systems are you familiar with?
  • Can you describe your workflow when you create a web page?
  • If you have 5 different stylesheets, how would you best integrate them into the site?
  • What's a cool project that you've recently worked on?
  • What are some things you like about the developer tools you use?
@iozozturk
iozozturk / bitbucket-migrate.sh
Created August 3, 2017 11:05
Migration script from any git server to Bitbucket cloud
#declare list of repositories
#clone repositories from list
# git config --global push.followTags true
repos=( repo1, repo2, anyRepo )
function migrate(){
echo "Migrating repos"
currentDir=$(pwd)
for repo in "${repos[@]}"
do
@iozozturk
iozozturk / GitCheatSheet.sh
Last active November 8, 2016 08:21
Good set of git commands in help
Quick Help
git reflog #time machine
git reset HEAD@{index}
# make your change
git add . # or add individual files
git commit --amend
# follow prompts to change or keep the commit message
# now your last commit contains that change!
// Find documents that has a field existing
db.categories.find({sunriseDateTime:{$exists:true}}).count()
// Bulk upsert all docs
db.products.update({_id: {$exists:true}}, { $set: { sunsetDateTime: 4}}, false, true);