This file contains hidden or 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
| <div class="container up"> | |
| <div class="row"> | |
| <div class="col-xs-4 col-xs-offset-3">SESSION TIME | |
| <br> | |
| <button class="btn" onclick="decrementTimeSelectorVal('#session-time')" >-</button> | |
| <span class="time-selector" id="session-time">25</span> | |
| <button class="btn" onclick="incrementTimeSelectorVal('#session-time')">+</button> | |
| </div> | |
| <div class="col-xs-4">BREAK TIME |
This file contains hidden or 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
| <div class="container"> | |
| <h1 class="text-primary text-center">Tic Tac Toe</h1> | |
| <div id="game"> | |
| <div class="row"> | |
| <div id="chooser" class="col-xs-12 text-center">Choose<span class='xo-chooser' onclick="onChooseXOClick('X')">X</span> or <span onclick="onChooseXOClick('O')" class='xo-chooser'>O</span> | |
| </div> | |
| </div> | |
| <div class="row"> |
This file contains hidden or 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
| <div class="container"> | |
| <h1 class="text-primary text-center">SIMON</h1> | |
| <div class="row"> | |
| <div class="col-xs-6"> <button id="btnStart" class="form-control btn btn-primary">Start New Game</button></div> | |
| <div class="col-xs-6"><div class="checkbox"><label><input id="cbStrictMode" type='checkbox' value="">Strict Mode</label></div></div> | |
| </div> | |
| <div class="row"> | |
| <div class="col-xs-12"> | |
| <span id="messages"></span> |
This file contains hidden or 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
| <div class="row"> | |
| <div class="col-xs-3 col-xs-offset-4"> | |
| <div id="calContainer"> | |
| <label class=" control-label calendar-legend-section-header-text">Timezone Selector</label> | |
| <select class="form-control timezone-selector" name="eventsCalCountry" id="eventsCalCountry"><option value="AF">Afghanistan</option><option value="AL">Albania</option><option value="DZ">Algeria</option><option value="AD">Andorra</option><option value="AO">Angola</option><option value="AI">Anguilla</option><option value="AG">Antigua & Barbuda</option><option value="AR">Argentina</option><option value="AM">Armenia</option><option value="AW">Aruba</option><option value="AU">Australia</option><option value="AT">Austria</option><option value="AZ">Azerbaijan</option><option value="BS">Bahamas</option><option value="BH">Bahrain</option><option value="BD">Bangladesh</option><option value="BB">Barbados</option><option value="BY">Belarus</option><option value="BE">Belgium</option> |
This file contains hidden or 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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Sample stack for Spring Aws Sqs", | |
| "Resources": { | |
| "QuoteQueue": { | |
| "Type": "AWS::SQS::Queue", | |
| "Properties": {} | |
| }, | |
| "SqsAdmin": { | |
| "Type": "AWS::IAM::User", |
This file contains hidden or 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
| <div id="container"></div> |
This file contains hidden or 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
| #Get params specific to book here: http://www.readinglength.com | |
| #params | |
| hoursTotal = 16 | |
| percentLeft = .825 | |
| desiredDays = 24 | |
| totalPages = 192+576 | |
| #Process-oriented | |
| minsReadingPerDay = 33 |
This file contains hidden or 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
| Problem: https://www.codewars.com/kata/515decfd9dcfc23bb6000006/train/csharp | |
| Write an algorithm that will identify valid IPv4 addresses in dot-decimal format. Input to the function is guaranteed to be a single string. | |
| Examples of valid inputs: 1.2.3.4 123.45.67.89 | |
| Examples of invalid inputs: 1.2.3 1.2.3.4.5 123.456.78.90 123.045.067.089 | |
| Approach | |
| First, the problem description does not give me a precise definition of what the IPv4 format is. According to this: https://www.tutorialspoint.com/ipv4/ipv4_addressing.htm the format is the following: | |
| <<1 byte>>.<<1 byte>>.<<1 byte>>.<<1 byte>> |
This file contains hidden or 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
| <div class="container"> | |
| <h1 class="text-primary text-center">SIMON</h1> | |
| <div class="row"> | |
| <div class="col-xs-6"> <button id="btnStart" class="form-control btn btn-primary">Start New Game</button></div> | |
| <div class="col-xs-6"><div class="checkbox"><label><input id="cbStrictMode" type='checkbox' value="">Strict Mode</label></div></div> | |
| </div> | |
| <div class="row"> | |
| <div class="col-xs-12"> | |
| <span id="messages"></span> |
NewerOlder