code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/Admin/Xemdanhsachdethi.aspx.cs
C#
gpl3
3,021
using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace DOAN.Admin { ...
08b2-doan
trunk/Source/DoAn/DOAN/Admin/ExportToExcel.cs
C#
gpl3
5,287
<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="ChitietDethi.aspx.cs" Inherits="DOAN.Admin.ChitietDethi" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="Con...
08b2-doan
trunk/Source/DoAn/DOAN/Admin/ChitietDethi.aspx
ASP.NET
gpl3
1,547
<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="QL_Cauhoi.aspx.cs" Inherits="DOAN.Admin.QL_Cauhoi" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPl...
08b2-doan
trunk/Source/DoAn/DOAN/Admin/QL_Cauhoi.aspx
ASP.NET
gpl3
32,468
<%@ Application Language="C#" %> <%@ Import Namespace="System.IO" %> <script runat="server"> void Application_Start(object sender, EventArgs e) { // Code that runs on application startup Application["OnlineUsers"] = 0; } void Application_End(object sender, EventA...
08b2-doan
trunk/Source/DoAn/DOAN/Global.asax
ASP.NET
gpl3
2,628
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
08b2-doan
trunk/Source/DoAn/DOAN/Properties/AssemblyInfo.cs
C#
gpl3
1,379
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/DoiMK.aspx.cs
C#
gpl3
1,947
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; n...
08b2-doan
trunk/Source/DoAn/DOAN/Default.aspx.cs
C#
gpl3
499
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Thi.aspx.cs" Inherits="DOAN.Thi" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Untitle...
08b2-doan
trunk/Source/DoAn/DOAN/Thi.aspx
ASP.NET
gpl3
1,660
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/Lambai.aspx.cs
C#
gpl3
1,594
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/ThiTracNghiem.aspx.cs
C#
gpl3
1,537
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home2.aspx.cs" Inherits="DOAN.home2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page...
08b2-doan
trunk/Source/DoAn/DOAN/home2.aspx
ASP.NET
gpl3
447
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DOAN._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled...
08b2-doan
trunk/Source/DoAn/DOAN/Default.aspx
ASP.NET
gpl3
452
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/Baithi.aspx.cs
C#
gpl3
6,013
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; n...
08b2-doan
trunk/Source/DoAn/DOAN/TrangChu.Master.cs
C#
gpl3
1,127
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/Thi.aspx.cs
C#
gpl3
4,516
<%@ Page Language="C#" MasterPageFile="~/TrangChu.Master" AutoEventWireup="true" CodeBehind="Lambai.aspx.cs" Inherits="DOAN.Lambai" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <meta http-equiv="refresh" content="<%=seconds%>;url=thongbao.aspx"> </asp:Content...
08b2-doan
trunk/Source/DoAn/DOAN/Lambai.aspx
ASP.NET
gpl3
2,206
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; usi...
08b2-doan
trunk/Source/DoAn/DOAN/home.aspx.cs
C#
gpl3
1,867
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for ThongbaoBL /// </s...
08b2-doan
trunk/Source/DoAn/DOAN.BL/ThongbaoBL.cs
C#
gpl3
1,917
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for ThanhvienBL /// </...
08b2-doan
trunk/Source/DoAn/DOAN.BL/ThanhvienBL.cs
C#
gpl3
2,835
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for CT_DethiBL /// </sum...
08b2-doan
trunk/Source/DoAn/DOAN.BL/CT_DethiBL.cs
C#
gpl3
1,679
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for PhanquyenBL /// </su...
08b2-doan
trunk/Source/DoAn/DOAN.BL/PhanquyenBL.cs
C#
gpl3
1,706
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for MonhocBL /// </summa...
08b2-doan
trunk/Source/DoAn/DOAN.BL/MonhocBL.cs
C#
gpl3
1,986
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for CT_BailamBL /// </su...
08b2-doan
trunk/Source/DoAn/DOAN.BL/CT_BailamBL.cs
C#
gpl3
1,706
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
08b2-doan
trunk/Source/DoAn/DOAN.BL/Properties/AssemblyInfo.cs
C#
gpl3
1,426
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for BailamBL /// </summa...
08b2-doan
trunk/Source/DoAn/DOAN.BL/BailamBL.cs
C#
gpl3
1,794
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for YkienBL /// </summar...
08b2-doan
trunk/Source/DoAn/DOAN.BL/YkienBL.cs
C#
gpl3
1,724
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for CT_MonhocBL /// </su...
08b2-doan
trunk/Source/DoAn/DOAN.BL/CT_MonhocBL.cs
C#
gpl3
2,184
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DOAN.BL { public class Class1 { } }
08b2-doan
trunk/Source/DoAn/DOAN.BL/Class1.cs
C#
gpl3
159
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for DethiBL /// </summ...
08b2-doan
trunk/Source/DoAn/DOAN.BL/DethiBL.cs
C#
gpl3
2,049
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for CT_Bailam...
08b2-doan
trunk/Source/DoAn/DOAN.BL/CT_BailamDAL.cs
C#
gpl3
6,795
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using DOAN.DAL; using DOAN.DO; /// <summary> /// Summary description for CauhoiBL /// </summa...
08b2-doan
trunk/Source/DoAn/DOAN.BL/CauhoiBL.cs
C#
gpl3
2,485
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class MonhocDO { /// <summary> /// Summary description for MonhocDO...
08b2-doan
trunk/Source/DoAn/DOAN.DO/MonhocDO.cs
C#
gpl3
1,090
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class DethiDO { /// <summary> /// Summary description for DethiDO ...
08b2-doan
trunk/Source/DoAn/DOAN.DO/DethiDO.cs
C#
gpl3
2,532
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class CT_BailamDO { /// <summary> /// Summary description for CT_Ba...
08b2-doan
trunk/Source/DoAn/DOAN.DO/CT_BailamDO.cs
C#
gpl3
1,096
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class CauhoiDO { /// <summary> /// Summary description for CauhoiDO...
08b2-doan
trunk/Source/DoAn/DOAN.DO/CauhoiDO.cs
C#
gpl3
2,710
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class CT_DethiDO { /// <summary> /// Summary description for CT_Det...
08b2-doan
trunk/Source/DoAn/DOAN.DO/CT_DethiDO.cs
C#
gpl3
1,058
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class PhanquyenDO { /// <summary> /// Summary description for Phanq...
08b2-doan
trunk/Source/DoAn/DOAN.DO/PhanquyenDO.cs
C#
gpl3
888
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class ThongbaoDO { /// <summary> /// Summary description for Thongb...
08b2-doan
trunk/Source/DoAn/DOAN.DO/ThongbaoDO.cs
C#
gpl3
1,014
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class ThanhvienDO { /// <summary> /// Summary description for Thanh...
08b2-doan
trunk/Source/DoAn/DOAN.DO/ThanhvienDO.cs
C#
gpl3
2,216
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
08b2-doan
trunk/Source/DoAn/DOAN.DO/Properties/AssemblyInfo.cs
C#
gpl3
1,426
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DOAN.DO { public class Class1 { } }
08b2-doan
trunk/Source/DoAn/DOAN.DO/Class1.cs
C#
gpl3
159
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class CT_MonhocDO { /// <summary> /// Summary description for CT_Mo...
08b2-doan
trunk/Source/DoAn/DOAN.DO/CT_MonhocDO.cs
C#
gpl3
1,088
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class BailamDO { /// <summary> /// Summary description for BailamDO...
08b2-doan
trunk/Source/DoAn/DOAN.DO/BailamDO.cs
C#
gpl3
1,662
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Collections; namespace DOAN.DO { [Serializable ] public class YkienDO { /// <summary> /// Summary description for YkienDO ...
08b2-doan
trunk/Source/DoAn/DOAN.DO/YkienDO.cs
C#
gpl3
1,276
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for CT_Monho...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/CT_MonhocDAL.cs
C#
gpl3
9,400
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for YkienDAL...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/YkienDAL.cs
C#
gpl3
8,029
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for CT_Dethi...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/CT_DethiDAL.cs
C#
gpl3
6,641
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for Thongbao...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/ThongbaoDAL.cs
C#
gpl3
7,857
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for CauhoiDA...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/CauhoiDAL.cs
C#
gpl3
19,213
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Data.SqlClient; /// <summary> /// Summary description for BaseDAL /// </summary> namespace DOAN.DAL { ...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/BaseDAL.cs
C#
gpl3
2,905
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for DethiDAL...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/DethiDAL.cs
C#
gpl3
13,598
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/Properties/AssemblyInfo.cs
C#
gpl3
1,428
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for Phanquyen...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/PhanquyenDAL.cs
C#
gpl3
6,017
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for MonhocDA...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/MonhocDAL.cs
C#
gpl3
8,696
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for Thanhvie...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/ThanhvienDAL.cs
C#
gpl3
19,299
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DOAN.DAL { public class Class1 { } }
08b2-doan
trunk/Source/DoAn/DOAN.DAL/Class1.cs
C#
gpl3
160
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for CT_Baila...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/CT_BailamDAL.cs
C#
gpl3
7,301
/* Copyright 2009 Smart Enterprise Solution Corp. Email: contact@ses.vn - Website: http://www.ses.vn KimNgan Project. */ using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; using DOAN.DO; /// <summary> /// Summary description for BailamDA...
08b2-doan
trunk/Source/DoAn/DOAN.DAL/BailamDAL.cs
C#
gpl3
9,126
package integrity; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.Signature; import java.security.spec.X509EncodedKeySpec; import javax.crypto....
02239-cryptography-01
Java Authentication Lab/src/integrity/VerifyKey.java
Java
epl
2,085
package integrity; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.security.Pri...
02239-cryptography-01
Java Authentication Lab/src/integrity/SignKey.java
Java
epl
2,338
/* * @(#)SamplePrincipal.java 1.4 00/01/11 * * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * -Redistributions of source co...
02239-cryptography-01
Java Authentication Lab/src/sample/principal/SamplePrincipal.java
Java
epl
4,612
/* * @(#)SampleAcn.java * * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * -Redistributions of source code must retain the...
02239-cryptography-01
Java Authentication Lab/src/sample/SampleAcn.java
Java
epl
7,044
package sample.module; public class Credentials { String username; String password; String salt; public Credentials() { } public Credentials(String username, String password, String salt) { super(); this.username = username; this.password = password; this.salt = salt; } public String getU...
02239-cryptography-01
Java Authentication Lab/src/sample/module/Credentials.java
Java
epl
681
/* * @(#)SampleLoginModule.java 1.18 00/01/11 * * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * -Redistributions of source...
02239-cryptography-01
Java Authentication Lab/src/sample/module/SampleLoginModule.java
Java
epl
10,844
/* * @(#)SampleLoginModule.java 1.18 00/01/11 * * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * -Redistributions of source...
02239-cryptography-01
Java Authentication Lab/src/sample/module/SampleLoginModuleFileInput.java
Java
epl
12,767
import java.awt.Color; import java.awt.GridLayout; import java.awt.event.*; //import javax.swing.*; import com.sun.java.swing.*; import java.io.*; import java.net.*; import java.rmi.*; import java.rmi.server.*; import javax.crypto.*; import javax.swing.*; import java.security.*; import java.security.interfaces.*; ...
02239-cryptography-01
02239_Lab1_Cryptography/src/RMIClient1.java
Java
epl
7,123
public interface Send { void sendCustID(String custID); void sendAppleQnt(String apples); void sendPeachQnt(String peaches); void sendPearQnt(String pears); void sendTotalCost(double icost); void sendTotalItems(int itotal); String getCustID(); String getAppleQnt(); String getPeachQnt(); String getP...
02239-cryptography-01
02239_Lab1_Cryptography/src/Send.java
Java
epl
427
import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.PublicKey; import java.security.SecureRandom; public class RemoteServer { //Generate and getPublicKey public PublicKey getPublicKey(...
02239-cryptography-01
02239_Lab1_Cryptography/src/RemoteServer.java
Java
epl
918
public class Kryptering01 { public static void main() { } }
02239-cryptography-01
02239_Lab1_Cryptography/src/Kryptering01.java
Java
epl
69
import java.awt.Color; import java.awt.GridLayout; import java.awt.event.*; //import javax.swing.*; import com.sun.java.swing.*; import java.io.*; import java.net.*; import java.rmi.*; import java.rmi.server.*; import java.io.FileInputStream.*; import java.io.RandomAccessFile.*; import java.io.File; import java.uti...
02239-cryptography-01
02239_Lab1_Cryptography/src/RMIClient2.java
Java
epl
4,974
import javax.crypto.*; import javax.crypto.spec.SecretKeySpec; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.*; import java.security.interf...
02239-cryptography-01
FirstLabDataSec/src/GenerateSignature.java
Java
epl
5,808
# -*- coding: utf-8 -*- from ragendja.settings_pre import * # Increase this when you update your on the production site, so users # don't have to refresh their cache. By setting this your MEDIA_URL # automatically becomes /media/MEDIA_VERSION/ MEDIA_VERSION = 1 # By hosting media on a different domain we can get a s...
100uhaco
trunk/GAE/settings.py
Python
asf20
4,619
from ragendja.settings_post import settings settings.add_app_media('combined-%(LANGUAGE_CODE)s.js', 'myapp/code.js', )
100uhaco
trunk/GAE/myapp/settings.py
Python
asf20
123
# -*- coding: utf-8 -*- from django.conf.urls.defaults import * rootpatterns = patterns('', (r'^person/', include('myapp.urls')), )
100uhaco
trunk/GAE/myapp/urlsauto.py
Python
asf20
137
# -*- coding: utf-8 -*- from django.db.models import permalink, signals from google.appengine.ext import db from ragendja.dbutils import cleanup_relations class Person(db.Model): """Basic user profile with personal details.""" first_name = db.StringProperty(required=True) last_name = db.StringProperty(requ...
100uhaco
trunk/GAE/myapp/models.py
Python
asf20
1,346
# -*- coding: utf-8 -*- from django import forms from django.contrib.auth.models import User from django.core.files.uploadedfile import UploadedFile from django.utils.translation import ugettext_lazy as _, ugettext as __ from myapp.models import Person, File, Contract from ragendja.auth.models import UserTraits from ra...
100uhaco
trunk/GAE/myapp/forms.py
Python
asf20
4,129
# -*- coding: utf-8 -*- from django.conf.urls.defaults import * urlpatterns = patterns('myapp.views', (r'^create_admin_user$', 'create_admin_user'), (r'^$', 'list_people'), (r'^create/$', 'add_person'), (r'^show/(?P<key>.+)$', 'show_person'), (r'^edit/(?P<key>.+)$', 'edit_person'), (r'^delete/(...
100uhaco
trunk/GAE/myapp/urls.py
Python
asf20
417
(function($) { $('#clickme').live('click', function() { $(this).append(' Click!'); }); })(jQuery);
100uhaco
trunk/GAE/myapp/media/code.js
JavaScript
asf20
107
{% extends 'base.html' %} {% block title %}Admin created{% endblock %} {% block content %} <h1>Admin created</h1> <p>You've created an admin user with the username and password "admin". Let's have a look at the <a href="/admin/">admin interface</a>, now!</p> {% endblock %}
100uhaco
trunk/GAE/myapp/templates/admin_created.html
HTML
asf20
275
{% extends 'base.html' %} {% block title %}Person listing{% endblock %} {% block content %} <h1>Person listing</h1> <a href="{% url myapp.views.add_person %}">Create person</a> <ul> {% for person in object_list %} <li> <a href="{% url myapp.views.show_person key=person.key %}">{{ person.first_name }} {{ p...
100uhaco
trunk/GAE/myapp/templates/person_list.html
HTML
asf20
791
{% extends 'base.html' %} {% block title %}Create person{% endblock %} {% block content %} <h1>Create person</h1> <a href="{% url myapp.views.list_people %}">Back to listing</a> <form action="" method="post" enctype="multipart/form-data"> <table> {{ form.as_table }} <tr><td colspan="2"> <input type="s...
100uhaco
trunk/GAE/myapp/templates/person_form.html
HTML
asf20
451
{% extends 'base.html' %} {% block title %}Person details{% endblock %} {% block content %} <h1>Person details</h1> <a href="{% url myapp.views.list_people %}">Back to listing</a> <a href="{% url myapp.views.edit_person key=object.key %}">Edit</a> <a href="{% url myapp.views.delete_person key=object.key %}">Delete</a>...
100uhaco
trunk/GAE/myapp/templates/person_detail.html
HTML
asf20
1,052
{% extends 'base.html' %} {% block title %}Delete person{% endblock %} {% block content %} <h1>Delete person</h1> <a href="{% url myapp.views.list_people %}">Back to listing</a> <a href="{% url myapp.views.show_person key=object.key %}">Back to person</a> <p> Do you really want to delete {{ object.first_name }} {{ ob...
100uhaco
trunk/GAE/myapp/templates/person_confirm_delete.html
HTML
asf20
455
# -*- coding: utf-8 -*- from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.http import HttpResponse, Http404 from django.views.generic.list_detail import object_list, object_detail from django.views.generic.create_update import create_object, delete_object, \ update...
100uhaco
trunk/GAE/myapp/views.py
Python
asf20
2,052
from django.contrib import admin from myapp.models import Person, File class FileInline(admin.TabularInline): model = File class PersonAdmin(admin.ModelAdmin): inlines = (FileInline,) list_display = ('first_name', 'last_name') admin.site.register(Person, PersonAdmin)
100uhaco
trunk/GAE/myapp/admin.py
Python
asf20
283
#!/usr/bin/env python if __name__ == '__main__': from common.appenginepatch.aecmd import setup_env setup_env(manage_py_env=True) # Recompile translation files from mediautils.compilemessages import updatemessages updatemessages() # Generate compressed media files for manage.py update impor...
100uhaco
trunk/GAE/.svn/text-base/manage.py.svn-base
Python
asf20
566
''' Django middleware for HTTP authentication. Copyright (c) 2007, Accense Technology, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above cop...
100uhaco
trunk/GAE/httpauth.py
Python
asf20
4,442
# -*- coding: utf-8 -*- from django.contrib.auth.decorators import login_required from django.http import HttpResponse from django.http import HttpResponseRedirect from django.utils.translation import ugettext as _ from ragendja.template import render_to_response from django.template import Context, RequestCont...
100uhaco
trunk/GAE/haco/views2.py
Python
asf20
3,415
# -*- coding: utf-8 -*- from django.utils.translation import ugettext_lazy as _ from google.appengine.ext import db from django.contrib.auth.models import User #from datetime import * import datetime class HacoUser( db.Model): user =db.ReferenceProperty( User) zip =db.StringProperty() twitterID =db.StringP...
100uhaco
trunk/GAE/haco/models.py
Python
asf20
824
# -*- coding: utf-8 -*- from django import forms from django.contrib.auth.models import User from django.core.files.uploadedfile import UploadedFile from django.utils.translation import ugettext_lazy as _, ugettext as __ from myapp.models import Person, File, Contract from ragendja.auth.models import UserTraits from ra...
100uhaco
trunk/GAE/haco/forms.py
Python
asf20
7,775
#!/usr/bin/python """ NOTE: Tango is being renamed to Twython; all basic strings have been changed below, but there's still work ongoing in this department. Twython is an up-to-date library for Python that wraps the Twitter API. Other Python Twitter libraries seem to have fallen a bit behind, and Twitter's API...
100uhaco
trunk/GAE/haco/.svn/text-base/twython.py.svn-base
Python
asf20
26,871
#!/usr/bin/python2.4 # # Copyright 2007 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
100uhaco
trunk/GAE/haco/libs/.svn/text-base/twitter.py.svn-base
Python
asf20
67,981
# -*- coding: utf8 -*- from twitter import Api import simplejson import urllib2 import logging class Api(Api): ''' twitter.Apiクラスの拡張 self._cacheの影響でファイル入出力が発生するため、 Apiクラスのラッパーとして利用する。 ''' def __init__(self, username=None, password=None, inp...
100uhaco
trunk/GAE/haco/libs/gaetwitter.py
Python
asf20
1,758
#!/usr/bin/python2.4 # # Copyright 2007 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
100uhaco
trunk/GAE/haco/libs/twitter.py
Python
asf20
67,981
from django.conf.urls.defaults import * from django.contrib.auth import views as auth_views from views import * from views2 import * from twit import * urlpatterns =patterns( '', #url( r'^login/$', # auth_views.login, # {'template_name': 'haco/login.html', # 'redirect_field_name...
100uhaco
trunk/GAE/haco/urls.py
Python
asf20
862
# -*- coding: utf-8 -*- from decimal import * from math import * def v2W(volt): if float(volt) < 0: return -1 else: watt = (float(volt) * 1100.0 / 1024.0) * 3000 / (0.9 * 100) / 1000 * 100 watt = Decimal(str(watt)).quantize(Decimal('.0'), rounding=ROUND_HALF_UP) ...
100uhaco
trunk/GAE/haco/convert.py
Python
asf20
955
# -*- coding: utf-8 -*- from django.http import HttpResponse from django.http import HttpResponseRedirect from django.utils.translation import ugettext as _ from haco.models import * from haco.jsTime import * import logging import twython from datetime import * def twitBot( request): mes ="<html><he...
100uhaco
trunk/GAE/haco/twit.py
Python
asf20
1,503
#!/usr/bin/python """ NOTE: Tango is being renamed to Twython; all basic strings have been changed below, but there's still work ongoing in this department. Twython is an up-to-date library for Python that wraps the Twitter API. Other Python Twitter libraries seem to have fallen a bit behind, and Twitter's API...
100uhaco
trunk/GAE/haco/twython.py
Python
asf20
26,871
{% extends "base.html" %} {% block title %}Member{% endblock %} {% block content %} <h1>Member</h1> <div> {% for hacoUser in object_list %} {{ hacoUser.user.username }} <br> {% if not forloop.last %} {% endif %} {% endfor %} </div> </ul> {% endblock content %}
100uhaco
trunk/GAE/haco/templates/hacouser_list.html
HTML
asf20
293