This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RandomPasswordGenrator | |
{ | |
private const string CapitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
private const string SmallLetters = "abcdefghijklmnopqrstuvwxyz"; | |
private const string Digits = "0123456789"; | |
private const string SpecialChars = "~!@#$%^&*()_+=`{}[]\\|':;.,/?<>"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- What’s New in C# 7.0 | |
NUMERIC LITERAL IMPROVEMENTS | |
include underscores to improve readability. These are called digit separators and are ignored by the compiler: | |
int million = 1_000_000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var gulp = require('gulp'); | |
var connect = require('gulp-connect'); // Run local dev server | |
var open = require('gulp-open'); // open URL in Browser | |
var browserify = require('browserify'); // Bundel JS | |
var reactify = require('reactify'); // Transforms React JSX to JS | |
var source = require('vinyl-source-stream'); // Use conventional text stream with gulp | |
var concat = require('gulp-concat'); // Contenates files | |
var lint = require('gulp-eslint'); // lint JS files, including JSX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are four different screen sizes: | |
Desktop (md) | |
Tablets (sm) | |
Phones (xs) | |
Large desktops (lg) | |
-- CSS new Layput flexbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Target container --> | |
<div class="react-container"></div> | |
<!-- React library & ReactDOM--> | |
<script src="https://unpkg.com/react@15.4.2/dist/react.js"></script> | |
<script src="https://unpkg.com/react-dom@15.4.2/dist/react-dom.js"></script> | |
<script> | |
// Pure React and JavaScript code | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Javascript LangGuide and What's New | |
//- Modules | |
//- Let and Const | |
// Const is variale that can't be changed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{/* | |
*/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// StartRating Component | |
const Star = ({ selected=false, onClick=f=>f }) => | |
<div className={(selected) ? "star selected" : "star"} | |
onClick={onClick}> | |
</div> | |
Star.propTypes = { | |
selected: PropTypes.bool, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No Arguments | |
// Single Argument | |
// Multiple Arguments | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to use Git & GitHub | |
a repo is container for a project you are working on it and you want to track with Git | |
Commit | |
Commit History, It's like save points | |
Start | |
Finished header |
OlderNewer