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
| <connectionStrings> | |
| <add name="HRManagementEntities" connectionString="metadata=res://*/Models.Entity.EntityModel.csdl|res://*/Models.Entity.EntityModel.ssdl|res://*/Models.Entity.EntityModel.msl;provider=System.Data.SqlClient;provider connection string="data source=SURABHI\SQLEXPRESS;initial catalog=NorthwindTest;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> | |
| <add name="HRManagementDbConn" | |
| connectionString="Server=SURABHI\SQLEXPRESS; Database=NorthwindTest;" | |
| providerName="System.Data.SqlClient" /> | |
| </connectionStrings> | |
| <system.web> | |
| <membership defaultProvider="HRManagementSqlMembershipProvider"> |
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
| def initiate_2d_array(n,m): | |
| arr = [None] * n | |
| for i in xrange(n): | |
| arr[i] = [None]*m | |
| return arr |
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
| public class CompareStrings { | |
| public static void main(String[] args) { | |
| String month = "February"; | |
| if(month.equals("February")){ | |
| System.out.println("its the second month"); | |
| } | |
| } |
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
| public class Main { | |
| public static void main(String[] args) { | |
| int monthNumber = 3; | |
| if (monthNumber>=1 && monthNumber<=3) { | |
| System.out.println("first quarter"); | |
| } | |
| else if(monthNumber>=4 && monthNumber<=6) { |
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
| public class Main { | |
| public static void main(String[] args) { | |
| } | |
| } |
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
| $(document).ready(function(){ | |
| $('element1').after('element2'); | |
| }); | |
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
| $(document).ready(function() { | |
| // jQuery code | |
| }); |
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
| def start_node(possessions): | |
| print 'there are zombies following you!!' | |
| print 'pick one: go \"left\" or go \"right\" ' | |
| direction = raw_input('>') | |
| if direction == "left" : | |
| chainsaw_node("start_node",possessions) | |
| elif direction == "right" : | |
| key_node("start_node",possessions) | |
| else : | |
| print 'dude .. theres zombies on our tail .. type correct or u r one dead meat !!' |