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
| import java.util.Scanner; | |
| public class Hello { | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); | |
| String answer = ""; | |
| String result = ""; | |
| char[] arrayOfCharacters; | |
| System.out.println("Give me a string and ill put spaces in it"); |
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
| for(i=0;i<toUnassign.length;i++) { | |
| form.append($('<input type="hidden" name="ToUnassign[' + i + ']" value=' + toUnassign[i] + '></input>')); | |
| } |
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
| import java.util.Scanner; | |
| class cs210L3 | |
| { | |
| public static void main(String[] args) | |
| { | |
| Scanner input = new Scanner(System.in); | |
| //prompt me for a number | |
| System.out.println("pick a number"); |
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
| #r @"..\..\lib\NAudio\NAudio.dll" | |
| #load "MiscConsts.fs" | |
| #load "Enums.fs" | |
| #load "WaveFunctions.fs" | |
| #load "NAudioWaveStreamSource.fs" | |
| #load "Player.fs" | |
| #load "Player.net.fs" | |
| #load "IO.fs" | |
| open System.IO | |
| open Undertone |
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
| package guessinggame; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| public class GuessingGame { | |
| public static void main(String[] args) { | |
| Scanner scan = new Scanner(System.in); | |
| System.out.println("********************************"); |
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
| using FluentNHibernate.Cfg; | |
| using FluentNHibernate.Cfg.Db; | |
| using NHibernate; | |
| using NHibernate.Tool.hbm2ddl; | |
| using TeaLeague.Core.Domain; | |
| namespace TeaLeague.Core.Database | |
| { | |
| public interface INHibernateHelper | |
| { |
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
| package lotterynumbergenerator; | |
| import java.util.Arrays; | |
| import java.util.Random; | |
| public class LotteryNumberGenerator { | |
| public static void main(String[] args) { | |
| //an array to keep track of the numbers that have been created |
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
| using System; | |
| using System.Collections.Generic; | |
| using TeaLeague.Core.Domain; | |
| namespace TeaLeague.Core.Repository | |
| { | |
| //What's the best way to approach this, seen as StructureMap seems to have problems with open generics.... | |
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
| <form action="https://secure-test.worldpay.com/wcc/purchase" method="post" class="buyForm"> | |
| <input type="hidden" name="amount" ID="amount" value="" runat="server"/><!-- amount due NOW--> | |
| <input type="hidden" name="testMode" id="testMode" value="100" runat="server"/> | |
| <input type="hidden" name="desc" id="desc" value="removed!" runat="server"/> | |
| <input type="hidden" name="cartId" id="cartId" value="Monthly Membership" runat="server"/> | |
| <input type="hidden" name="instId" id="instId" value="removed!" runat="server"/> | |
| <input type="hidden" name="currency" id="currency" value="GBP" runat="server"/> | |
| <input type="hidden" name="futurePayType" id="futurePayType" value="regular" runat="server"/> | |
| <input type="hidden" name="option" id="option" value="0" runat="server"/> | |
| <input type="hidden" name="startDelayMult" value="4" runat="server" id="startDelayMult"/> |