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<iostream> | |
#include<conio.h> | |
using namespace std; | |
class Box | |
{ | |
public: | |
Box(); | |
void input(); | |
void print(); |
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<iostream> | |
#include<conio.h> | |
#include<string> | |
using namespace std; | |
class Book_Store | |
{ | |
public: | |
void input(); | |
void print(); |
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
//Answer to A | |
using System; | |
using System.Linq; | |
namespace ConsoleApp2_for_test | |
{ | |
class Program | |
{ | |
public static void Main() | |
{ |
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
org 100h | |
;set display mode to 320x200 for drawing | |
MOV AX,0013H | |
INT 10H | |
;set up drawing | |
MOV CX,60 ; x coordinate | |
MOV DX,60 ; y coordinate |
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
org 100h | |
.DATA | |
STR DB 30 DUP(' ') | |
LEN DW 0 | |
CHAR DB ? | |
.CODE | |
LEA DI,STR |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
p{ | |
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> |
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 string | |
def AffineEncrypt(input :string, key1: int, key2: int): | |
input = input.replace(" ", "") | |
result = "" | |
for letter in input: | |
cipheredLetter = (GetLetterIndex(letter)*key1+key2)%26 | |
result += GetLetterFromIndex(cipheredLetter) | |
return result |
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 string | |
import numpy | |
from sympy import Matrix | |
def HillEncrypt(message : string, key: numpy.ndarray): | |
message = message.replace(" ", "") | |
if len(message)%2 != 0: | |
message += 'a' |
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
services: | |
owncloud: | |
image: "owncloud/server" | |
ports: | |
- "8080:8080" | |
environment: | |
OWNCLOUD_TRUSTED_DOMAINS: "*yourlocalIP*:8080" | |
collabora: | |
image: collabora/code |