' union select @@version,null,null#
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 Flask class from flask module | |
from flask import Flask, render_template, redirect, \ | |
url_for, request, session, flash | |
from functools import wraps | |
from flask.ext.sqlalchemy import SQLAlchemy | |
#creating the application object | |
app = Flask(__name__) |
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
#include<stdio.h> | |
#include <stdlib.h> | |
#define _CRT_SECURE_NO_WARNINGS | |
int main() | |
{ | |
char firstName[20]; |
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
Viime viikolla | |
Viime viikolla Maanantai kävin syömässä lounas ravintolassa Helsingissä kello puoli 12 ystävällä. Iltapäivällä kävin harjoitella kuntosalilla. Yöllä minä kävin ystäviä kotiin syömään päivällinen kello 10 ja pelasin X-box yksi. | |
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
#include<stdio.h> | |
int main(){ | |
int carSales[]={14,21,40,65,77}; | |
int *ptr,i; | |
int n = sizeof(carSales)/sizeof(int); | |
ptr = carSales; | |
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
Scanner reader = new Scanner(System.in); | |
System.out.println("Top ten players based on goals"); | |
NHLStatistics.sortByGoals(); | |
NHLStatistics.top(10); | |
System.out.print("\n"); | |
System.out.println("Top 25 players based on penalty amounts"); | |
NHLStatistics.sortByPenalties(); |
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 Password { | |
public static void main(String[] args) { | |
Scanner reader = new Scanner(System.in); | |
String password = "carrot"; // Use carrot as password when running tests. | |
while(true){ | |
// Write your code here |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package homework; | |
import java.util.Scanner; | |
/** |
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
Hello all | |
For the first assignment please try to recreate the process we went through on the lecture (writing the transactions in the Journal -> Ledger -> Trial balance) | |
The transactions are as follows: | |
1. Bought furniture for cash. 400€ | |
2. Bought used car for the company on credit. 20 000€ | |
3. Bought goods (for resale) for cash. 500€ | |
4. Sold goods for cash. 20 000€ |
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
#Exam | |
* SQL-Injection |
OlderNewer