Skip to content

Instantly share code, notes, and snippets.

View lukyans's full-sized avatar

Sergey Lukyanenko lukyans

  • String and Key
  • New York, NY
View GitHub Profile
@lukyans
lukyans / Sergey_prework.md
Last active January 23, 2017 00:33 — forked from mbburch/prework.md
An example template for your Turing pre-work Gist

Turing School Prework

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist:

@lukyans
lukyans / Week 2 and 3 Diagnostic
Last active February 12, 2017 16:20
Week 2 and 3 Diagnostic
Week 2 and 3 Diagnostic
This exercise is intended to help you assess your progress with the concepts and techniques we’ve covered during the week.
For these questions, write a short snippet of code that meets the requirement. In cases where the question mentions a “given” data value, use the variable given to refer to it (instead of re-writing the information).
Use single (`) and triple backticks (```) to container code snippets.
1. Define a class called PizzaOven which has a method cook_pizza which returns the string "mmm 'za".
```
class PizzaOven
@lukyans
lukyans / Module 1 Week 4 Diagnostic
Last active February 17, 2017 17:20
Module 1 Week 4 Diagnostic
Module 1 Week 4 Diagnostic
This exercise is intended to help you assess your progress with the concepts and techniques we’ve covered during the week.
For these questions, write a short description or snippet of code that meets the requirement. In cases where the question mentions a “given” data value, use the variable given to refer to it (instead of re-writing the information).
1. Give one difference between Modules and Classes.
```
Modules can be initializd.
HTML Skeleton
<!DOCTYPE html> #Declaration is used to inform a website visitor's browser that the document being rendered is an HTML document.
<html> #This tag starts an HTML file and tells browswers what kind of file this is
<head> #This tag includes information about the document such as the name of the file and other technical information like meat tags and style tags
</head> #Those with a slash (/) in front of them, are the closing tags
<body> #where you place all the information that will actually show up on the web page once it is online and opened in a browser.
</body>
</html>
Sessions, Cookies, and Flashes
If we didn't have cookies and sessions, what would happen?
Web users must agree to let cookies be saved for them, but, in general, it helps Web sites to serve users better. So user can visit pages without it.
What is a cookie?
Cookies are session token, user preferences, or anything else that the web site needs to keep track of you from one request to the next.
What's the difference between a cookie and a session?
The main difference between a session and a cookie is that session data is stored on the server, whereas cookies store data in the visitor's browser.
What's serialization and how does it come into play with sessions?
Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file
Asset Pipeline Scavenger Hunt
What does it mean to concatenate files? Find an image of an example concatenated file. Why would we want to concatenate files?
-Concatenation is very important in the production environment. It can reduce the number of requests that a browser makes to render a web page, which leads to faster load time.
```
What does it mean to precompile files? What does this have to do with coffeescript and sass files?
-Precompilation let’s you use higher-level languages to create actual assets (for example, Sass to CSS).
```
What does it mean to minify files? Find an image of an example minified file. Why would we want to minify files?
The mentor I contacted is Marc Chung"
* Date of contact "04/04/2017"
* Outcome:
* "I reached him out using one of the letter examples. He responded. And we scheduled our first session.
* "He and I paired over ScreenHero and slack for an hour and a half on drills.
Date of feedback conversation: 4/17/2017
How did you prepare for the conversation?
- I went through a list of Appreciative Inquiry questions and picked a few that I wanted to focus on.
How did the conversation go for you? What was easy about the conversation? What was more difficult?
- We had a great conversation with my partner. I asked him a question and mindfully listen to him.
What principles of feedback did you use in the conversation?
- I used appreciative principle of feedback.
What are you doing well as a pair programmer and collaborator?
- Maintaining focus on the the big picture.
- Identifying each team member's strengths and deligating tasks.
How do you use your strengths as a team member?
- Taking a step back from details to remember the big picture.
- Giving positive feedback to team members about their strengths.
How would you like to continue to develop your strengths?
- Work on better and more clear communication.
We used agile method in our recent project. We reduced complexity by breaking down into small parts.
We used waffle to write stories. Git flow to add branches to the project and to write comments.
Team work and collaboration was great.