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
import java.util.Random; | |
import java.util.Scanner; | |
public class Easy4 { | |
public static void main(String[] args) { | |
Scanner in = new Scanner(System.in); | |
System.out.println("How long would you like your password to be?"); | |
int length = in.nextInt(); |
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
import java.util.Scanner; | |
public class Card{ | |
private static String[] pairArray={"A,A","K,K","Q,Q","J,J","10,10","9,9","8,8","7,7","6,6","5,5","4,4","3,3","2,2"}; | |
public static void generateRandom(int i){ | |
int minimum = 0; | |
int maximum = 13; | |
int randomNum = minimum + (int)(Math.random()* maximum); |
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
import java.util.Scanner; | |
public class Card{ | |
private static String[] pairArray={"A,A","K,K","Q,Q","J,J","10,10","9,9","8,8","7,7","6,6","5,5","4,4","3,3","2,2"}; | |
public static void generateRandom(int i){ | |
int minimum = 0; | |
int maximum = 13; | |
for(int i = 1; i <= m; i++) |
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
import java.util.Scanner; | |
public class Card{ | |
private static String[] pairArray={"A,A","K,K","Q,Q","J,J","10,10","9,9","8,8","7,7","6,6","5,5","4,4","3,3","2,2"}; | |
public static void generateRandom(int k){ | |
int minimum = 0; | |
int maximum = 13; | |
for(int i = 1; i <= k; i++) |
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
import java.util.Scanner; | |
public class Card{ | |
private static String[] pairArray={"A,A","K,K","Q,Q","J,J","10,10","9,9","8,8","7,7","6,6","5,5","4,4","3,3","2,2"}; | |
public static void generateRandom(int k){ | |
int minimum = 0; | |
int maximum = 13; | |
for(int i = 1; i <= k; i++) |
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
.container { | |
width: 710px; | |
} | |
body { | |
background: #cff; | |
} | |
header { | |
padding-top: 20px; |
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
require 'spec_helper' | |
describe PagesController do | |
describe "GET 'home' " do | |
it "should be successful" do | |
get 'home' | |
response.should be_success | |
end | |
end |
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
<pcsTable> | |
<axis pos="1" values="1"> | |
<title>Section</title> | |
<label code="0">Medical and Surgical</label> | |
</axis> | |
<axis pos="2" values="1"> | |
<title>Body System</title> | |
<label code="0">Central Nervous System</label> | |
</axis> | |
<axis pos="3" values="1"> |
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
function getCookies() { | |
var c = document.cookie, v = 0, cookies = {}; | |
if (document.cookie.match(/^\s*\$Version=(?:"1"|1);\s*(.*)/)) { | |
c = RegExp.$1; | |
v = 1; | |
} | |
if (v === 0) { | |
c.split(/[,;]/).map(function(cookie) { | |
var parts = cookie.split(/=/, 2), | |
name = decodeURIComponent(parts[0].trimLeft()), |
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:var a=35;var b=["#FF57EB","#FF0000","#CE08FF"];var c=["Arial Black","Arial Narrow","Times","Comic Sans MS"];var c="Fuck you all";var d=0.5;var e=40;var f=20;var g=1;var sn=[];var mb,mr,tmr;var is=0;var xm=[];var crds=[];var lr=[];var browserinfos=navigator.userAgent;var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/);var ns6=document.getElementById&&!document.all;var op=browserinfos.match(/Opera/);var browserok=ie5||ns6||op;function rm(range){rand=Math.floor(range*Math.random());return rand;} | |
function go(){if(ie5||op){mb=document.body.clientHeight;mr=document.body.clientWidth;}else if(ns6){mb=window.innerHeight;mr=window.innerWidth;}var ssr=e-f; | |
for(i=0;i<=a;i++){crds[i]=0;lr[i]=Math.random()*15;xm[i]=0.03+Math.random()/10;sn[i]=document.getElementById("s"+i);sn[i].style.fontFamily=c[rm(c.length)];sn[i].size=rm(ssr)+f;sn[i].style.fontSize=sn[i].size;sn[i].style.color=b[rm(b.length)];sn[i].sink=d*sn[i].size/5;if(g==1){sn[i].posx=rm(mr-sn[i].size)}if(g==2){sn[i].posx=rm(mr/2-s |
OlderNewer