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 re | |
drwho = "{{real world}}{{DISPLAYTITLE:List of ''Doctor Who'' television stories}}\\n__NOTOC__\\n<div id=\\\"box\\\" style=\\\"" \ | |
"width:250px;float:right;margin-left:10px\\\">\\n<div id=\\\"sfh\\\">Look by Doctor<\\/div>\\n[[#First Doctor|1]] \\" \ | |
"u2022 [[#Second Doctor|2]] \\u2022 [[#Third Doctor|3]] \\u2022 [[#Fourth Doctor|4]] \\u2022 " \ | |
"[[#Fifth Doctor|5]] \\u2022 [[#Sixth Doctor|6]] \\u2022 [[#Seventh Doctor|7]] \\u2022 [[#Eighth Doctor|8]]" \ | |
" \\u2022 [[#Ninth Doctor|9]] \\u2022 [[#Tenth Doctor|10]] \\u2022 [[#Eleventh Doctor|11]] \\u2022 " \ | |
"[[#Twelfth Doctor|12]]\\n<\\/div>\\nThe following is a '''list of ''[[Doctor Who]]'' televised stories'''. Names used" \ | |
" are those given by the [[British Broadcasting Corporation|BBC]] {{As of|2015|lc = y}}. For the [[1963 (production)" \ | |
"|1963]] version of the programme, this means that the list employs the DVD release name in most c |
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
create database animals; | |
use animals; | |
create table dogs (name varchar(30), age int, weight double, vaccinated boolean); | |
insert into dogs values ('Tilly', 4, 20, true); | |
insert into dogs values ('Poppy', 1, 24, false); | |
insert into dogs values ('Zelda', 4, 35, true); | |
insert into dogs values ('Einstein', 10, 40, false); | |
insert into dogs values ('Snoopy', 3, 10, true); | |
select * from dogs; |
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 com.company; | |
import com.google.maps.DirectionsApi; | |
import com.google.maps.GeoApiContext; | |
import com.google.maps.model.DirectionsLeg; | |
import com.google.maps.model.DirectionsRoute; | |
import com.google.maps.model.DirectionsStep; | |
import java.util.ArrayList; |
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 frmBookStore | |
Dim OnHand As New Inventory | |
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click | |
'Close the window and end the program | |
Me.Close() | |
End Sub |
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 com.company; | |
import java.util.Scanner; | |
public class Main { | |
//Create two scanners, one for Strings, and one for numbers - int and float values. | |
static Scanner stringScanner = new Scanner(System.in); | |
static Scanner numberScanner = new Scanner(System.in); |
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 com.bignerdranch.android.scavengerhunttemp; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class ActiveHuntActivity extends AppCompatActivity { | |
private static final String TAG = "Active hunt activity"; |
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 com.bignerdranch.android.scavengerhunttemp; | |
import android.app.DownloadManager; | |
import android.content.Intent; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.ArrayAdapter; | |
import android.widget.Button; | |
import android.widget.ListView; |
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 com.bignerdranch.android.scavengerhunttemp; | |
import android.app.DownloadManager; | |
import android.content.Intent; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.ArrayAdapter; | |
import android.widget.Button; | |
import android.widget.ListView; |
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
<script>alert()</script> |
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 com.miked; | |
import javax.swing.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.text.ParseException; | |
import java.util.ArrayList; |
OlderNewer