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
package com.ch_linghu.fanfoudroid.util; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import android.util.Log; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterAppl...
061304011116lyj-fanfou
src/com/ch_linghu/fanfoudroid/util/DateTimeHelper.java
Java
asf20
3,539
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. 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 by ap...
061304011116lyj-fanfou
src/com/commonsware/cwac/sacklist/SackOfViewsAdapter.java
Java
asf20
4,593
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. 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 by ap...
061304011116lyj-fanfou
src/com/commonsware/cwac/merge/MergeAdapter.java
Java
asf20
8,420
package com.hlidskialf.android.hardware; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class ShakeListener implements SensorEventListener { private static final int FORCE...
061304011116lyj-fanfou
src/com/hlidskialf/android/hardware/ShakeListener.java
Java
asf20
2,826
/* Javadoc 样式表 */ /* 在此处定义颜色、字体和其他样式属性以覆盖默认值 */ /* 页面背景颜色 */ body { background-color: #FFFFFF; color:#000000 } /* 标题 */ h1 { font-size: 145% } /* 表格颜色 */ .TableHeadingColor { background: #CCCCFF; color:#000000 } /* 深紫色 */ .TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* 淡紫色 */ .TableRowColor ...
061304011116lyj-fanfou
doc/stylesheet.css
CSS
asf20
1,370
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
061304011116lyj-fanfou
tools/openHttpDebug.sh
Shell
asf20
229
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...
095g534roo8pehk37a3n
trunk/BUS/Properties/AssemblyInfo.cs
C#
gpl3
1,418
using System; using System.Collections.Generic; using System.Text; namespace BUS { public class Class1 { } }
095g534roo8pehk37a3n
trunk/BUS/Class1.cs
C#
gpl3
135
using System; using System.Collections.Generic; using System.Text; using DAO; using DTO; namespace BUS { public class XepLoaiBUS { public static int Insert(XepLoaiDTO data) { return XepLoaiDAO.Insert(data); } } }
095g534roo8pehk37a3n
trunk/BUS/XepLoaiBUS.cs
C#
gpl3
281
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class PhanCongDTO { private int _maPC, _maGV, _maLop, _maNamHoc; public int MaNamHoc { get { return _maNamHoc; } set { _maNamHoc = value; } } ...
095g534roo8pehk37a3n
trunk/DTO/PhanCongDTO.cs
C#
gpl3
859
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class XepLoaiDTO { private int _ma; public int Ma { get { return _ma; } set { _ma = value; } } private String _ten; public String...
095g534roo8pehk37a3n
trunk/DTO/XepLoaiDTO.cs
C#
gpl3
601
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class TongKetHocKyDTO { private int _maTKHK, _maHocSinh, _maHocKy, _maNamHoc, _maXepLoai; public int MaXepLoai { get { return _maXepLoai; } set { _maXepLoai =...
095g534roo8pehk37a3n
trunk/DTO/TongKetHocKyDTO.cs
C#
gpl3
1,030
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class TrinhDoDTO { private int _ma; public int Ma { get { return _ma; } set { _ma = value; } } private String _ten; public String...
095g534roo8pehk37a3n
trunk/DTO/TrinhDoDTO.cs
C#
gpl3
603
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...
095g534roo8pehk37a3n
trunk/DTO/Properties/AssemblyInfo.cs
C#
gpl3
1,418
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class ThamSoDTO { private int _siso, _solop; public int Solop { get { return _solop; } set { _solop = value; } } public int Siso ...
095g534roo8pehk37a3n
trunk/DTO/ThamSoDTO.cs
C#
gpl3
417
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class PhanLopDTO { private int _maHS, _maLop, _maNamHoc; public int MaNamHoc { get { return _maNamHoc; } set { _maNamHoc = value; } } publ...
095g534roo8pehk37a3n
trunk/DTO/PhanLopDTO.cs
C#
gpl3
731
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class TonGiaDTO { private int _ma; public int Ma { get { return _ma; } set { _ma = value; } } private String _ten; public String ...
095g534roo8pehk37a3n
trunk/DTO/TonGiaDTO.cs
C#
gpl3
598
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class TongKetNamHocDTO { private int _maTKNH, _maHocSinh, _maNamHoc, _maLop, _maXepLoai; public int MaXepLoai { get { return _maXepLoai; } set { _maXepLoai = ...
095g534roo8pehk37a3n
trunk/DTO/TongKetNamHocDTO.cs
C#
gpl3
1,021
/* * Metro JS for jQuery * http://drewgreenwell.com/ * For details and usage info see: http://drewgreenwell.com/projects/metrojs Copyright (C) 2012, Drew Greenwell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
095g534roo8pehk37a3n
trunk/ProjectX/Scripts/MetroJs.js
JavaScript
gpl3
72,924
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...
095g534roo8pehk37a3n
trunk/ProjectX/Properties/AssemblyInfo.cs
C#
gpl3
1,387
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using BUS; using DTO; namespace ProjectX { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } ...
095g534roo8pehk37a3n
trunk/ProjectX/Default.aspx.cs
C#
gpl3
332
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ProjectX._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>Metro...
095g534roo8pehk37a3n
trunk/ProjectX/Default.aspx
ASP.NET
gpl3
5,557
.metroBig { font-size:36px; line-height:36px; } .my-live-tile, .my-list-tile { color:#fff; float:left; height: 135px; margin:13px; overflow:hidden; position:relative; width: 129px; } .my-live-tile.two-wide, .my-list-tile.two-wide { width:390px; } .my-live-tile.two-tall, .my-list-tile.two-tall { h...
095g534roo8pehk37a3n
trunk/ProjectX/css/mycss.css
CSS
gpl3
24,154
.metroBig { font-size:36px; line-height:36px; } .my-live-tile, .my-list-tile { color:#fff; float:left; height: 140px; margin:10px; overflow:hidden; position:relative; width: 135px; } .my-live-tile.two-wide, .my-list-tile.two-wide { width:390px; } .my-live-tile.two-tall, .my-list-tile.two-tall...
095g534roo8pehk37a3n
trunk/ProjectX/css/MetroJs.css
CSS
gpl3
24,750
using System; using System.Collections.Generic; using System.Text; using DTO; using System.Data.OleDb; namespace DAO { public class XepLoaiDAO { public static int Insert(XepLoaiDTO data) { string sql = "insert into xeploai(ten,diemchuan) values( ?, ?)"; OleDb...
095g534roo8pehk37a3n
trunk/DAO/XepLoaiDAO.cs
C#
gpl3
657
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...
095g534roo8pehk37a3n
trunk/DAO/Properties/AssemblyInfo.cs
C#
gpl3
1,418
using System; using System.Collections.Generic; using System.Text; using System.Data.OleDb; namespace DAO { class DataProvider { public static OleDbConnection connDB() { string connectionString = "Provider=SQLOLEDB;Data Source=NGOAN-PC;Integrated Security=SSPI;Initial ...
095g534roo8pehk37a3n
trunk/DAO/DataProvider.cs
C#
gpl3
486
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication9/WindowsFormsApplication9/Properties/AssemblyInfo.cs
C#
asf20
1,460
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Sockets; using System.Threading; namespace WindowsFormsApplication9 { public partial class Form1 : Fo...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication9/WindowsFormsApplication9/Form1.cs
C#
asf20
1,575
using System; using System.Collections.Generic; using System.Windows.Forms; namespace WindowsFormsApplication9 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication9/WindowsFormsApplication9/Program.cs
C#
asf20
496
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication8/WindowsFormsApplication8/Properties/AssemblyInfo.cs
C#
asf20
1,460
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Net; using System.Threading; namespace WindowsFormsApplication8 { ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication8/WindowsFormsApplication8/Form1.cs
C#
asf20
1,829
using System; using System.Collections.Generic; using System.Windows.Forms; namespace WindowsFormsApplication8 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/demo+ebook/WindowsFormsApplication8/WindowsFormsApplication8/Program.cs
C#
asf20
496
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/ChatClient/Properties/AssemblyInfo.cs
C#
asf20
1,409
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ChatClient { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { }...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/ChatClient/Default.aspx.cs
C#
asf20
334
<html> <head> <title>Web Socket Chat</title> <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript"> var ws; $(document).ready(function () { // test if the browser supports web sockets if ("WebSocket" in window) { ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/ChatClient/Default.aspx
ASP.NET
asf20
3,313
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/ChatClient/Properties/AssemblyInfo.cs
C#
asf20
1,409
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ChatClient { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { }...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/ChatClient/Default.aspx.cs
C#
asf20
334
<html> <head> <title>Web Socket Chat</title> <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript"> var ws; $(document).ready(function () { // test if the browser supports web sockets if ("WebSocket" in window) { ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/ChatClient/Default.aspx
ASP.NET
asf20
3,313
using System; using System.Text; using System.Net.Sockets; using System.IO; namespace WebSocketServer { public class DataReceivedEventArgs { public int Size { get; private set; } public string Data { get; private set; } public DataReceivedEventArgs(int size, string data) ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketServer/WebSocketConnection.cs
C#
asf20
8,835
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketServer/Properties/AssemblyInfo.cs
C#
asf20
1,460
using System; using System.Collections.Generic; using System.Net.Sockets; using System.Net; using System.IO; namespace WebSocketServer { public enum ServerLogLevel { Nothing, Subtle, Verbose }; public delegate void ClientConnectedEventHandler(WebSocketConnection sender, EventArgs e); public cl...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketServer/WebSocketServer.cs
C#
asf20
7,547
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { class User { public string Name; public WebSocketServer.WebSocketConnection Connection; } }
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketChatServer/User.cs
C#
asf20
255
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { using WebSocketServer; class ChatServer { WebSocketServer wss; List<User> Users = new List<User>(); string unknownName = "john doe"; public...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketChatServer/ChatServer.cs
C#
asf20
3,061
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketChatServer/Properties/AssemblyInfo.cs
C#
asf20
1,468
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { using WebSocketServer; class Program { static void Main(string[] args) { var cs = new ChatServer(); } } }
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/Backup/WebSocketChatServer/Program.cs
C#
asf20
296
using System; using System.Text; using System.Net.Sockets; using System.IO; namespace WebSocketServer { public class DataReceivedEventArgs { public int Size { get; private set; } public string Data { get; private set; } public DataReceivedEventArgs(int size, string data) ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketServer/WebSocketConnection.cs
C#
asf20
8,835
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketServer/Properties/AssemblyInfo.cs
C#
asf20
1,460
using System; using System.Collections.Generic; using System.Net.Sockets; using System.Net; using System.IO; namespace WebSocketServer { public enum ServerLogLevel { Nothing, Subtle, Verbose }; public delegate void ClientConnectedEventHandler(WebSocketConnection sender, EventArgs e); public cl...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketServer/WebSocketServer.cs
C#
asf20
7,547
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { class User { public string Name; public WebSocketServer.WebSocketConnection Connection; } }
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketChatServer/User.cs
C#
asf20
255
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { using WebSocketServer; class ChatServer { WebSocketServer wss; List<User> Users = new List<User>(); string unknownName = "john doe"; public...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketChatServer/ChatServer.cs
C#
asf20
3,061
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...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketChatServer/Properties/AssemblyInfo.cs
C#
asf20
1,468
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebSocketChatServer { using WebSocketServer; class Program { static void Main(string[] args) { var cs = new ChatServer(); } } }
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/WebSocketChatServer/Program.cs
C#
asf20
296
<?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl='urn:schemas-microsoft-com:xslt'> <xsl:key name="ProjectKey" match="Event" use="@Project" /> <xsl:template match="Events" mode="createProjects"> <projects> ...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/_UpgradeReport_Files/UpgradeReport.xslt
XSLT
asf20
12,579
BODY { BACKGROUND-COLOR: white; FONT-FAMILY: "Verdana", sans-serif; FONT-SIZE: 100%; MARGIN-LEFT: 0px; MARGIN-TOP: 0px } P { FONT-FAMILY: "Verdana", sans-serif; FONT-SIZE: 70%; LINE-HEIGHT: 12pt; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 10px; MARGIN-TOP: 10px } .note { BACKGROUND-COLOR: #ffffff...
12-lthd-dack
trunk/Chat Source Code/Resource/Source Reference/WebSocketServer_src/_UpgradeReport_Files/UpgradeReport.css
CSS
asf20
3,348
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...
12-lthd-dack
trunk/Chat Source Code/Source Code/LTHD_DACK_Server/LTHD_DACK_Server/Properties/AssemblyInfo.cs
C#
asf20
1,444
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LTHD_DACK_Server { class Program { static void Main(string[] args) { } } }
12-lthd-dack
trunk/Chat Source Code/Source Code/LTHD_DACK_Server/LTHD_DACK_Server/Program.cs
C#
asf20
256
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { public class ServiceFactory { public void getDataFromBaoTuoiTre() { List<ItemNewsInfo> listCatelogesMenu = new List<ItemNewsInfo>(); listCatel...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/ServiceFactory.cs
C#
asf20
1,202
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { class vnexpressGetInfo { } }
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/vnexpressGetInfo.cs
C#
asf20
172
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; namespace NewsWcfWebService { public class htmlParse { HtmlDocument htmlDoc; public HtmlDocument HtmlDoc { get { return htmlDoc; } set { html...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/htmlParse.cs
C#
asf20
757
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { class bongdaGetInfo { } }
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/bongdaGetInfo.cs
C#
asf20
169
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace NewsWcfWebService { [DataContract] public class ItemNewsInfo { [DataMember] private string _tilte; public string Tilte { ...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/ItemNewsInfo.cs
C#
asf20
1,643
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { public class StringUtils { public static char getFirstCharOfString(string strSource) { if (strSource.Length == 0) return '\0'; ...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/StringUtils.cs
C#
asf20
714
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; namespace NewsWcfWebService { class tuoitreGetInfo { static string pageUrl = "http://tuoitre.vn"; static htmlParse request = new htmlParse(pageUrl); static HtmlNode...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/tuoitreGetInfo.cs
C#
asf20
7,357
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace NewsWcfWebService { public class ResourceLoader { static ResourceLoader instance; XmlDocument xDoc; static string _language; public static string L...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/ResourceLoader.cs
C#
asf20
2,566
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { public class ManagerVarible { public static List<ItemNewsInfo> dataNewsLocal; } }
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/ManagerVarible.cs
C#
asf20
234
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NewsWcfWebService { class kenh14GetInfo { } }
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/kenh14GetInfo.cs
C#
asf20
169
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...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/Properties/AssemblyInfo.cs
C#
asf20
1,446
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; namespace NewsWcfWebService { public class _24hGetInfo { static string pageUrl = "http://hcm.24h.com.vn/"; static htmlParse request = new htmlParse(pageUrl); public st...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/24hGetInfo.cs
C#
asf20
3,369
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.ServiceModel.Web; namespace NewsWcfWebService { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name ...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/IServiceNewsInfo.cs
C#
asf20
644
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace NewsWcfWebService { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config f...
12-lthd-dack
trunk/SourceCode/Service Get News Info/NewsWcfWebService/NewsWcfWebService/ServiceNewsInfo.cs
C#
asf20
1,325
<?php print 1;
1314sy
trunk/1.php
PHP
asf20
17
#ifndef _MAP_H_ #define _MAP_H_ #include "general.h" #include "graphics.h" #include <vector> #include <fstream> using std::vector; using std::ifstream; using std::string; using std::cout; using std::endl; string characterToImgLabel(char inp); bool characterToCollidable(char inp); extern bool camClip; class Map { p...
10-second-runny-guy-ld48
map.h
C++
gpl3
3,058
#ifndef _TIMER_H #define _TIMER_H #include "general.h" const int FPS = 20; int frame = 0; bool cap = true; class Timer { private: int startTicks; int pausedTicks; bool paused, started; public: Timer() { startTicks = pausedTicks = 0; paused = started = false; } void start() { started = true...
10-second-runny-guy-ld48
timer.h
C++
gpl3
1,107
#ifndef _GAMEPLAY_H #define _GAMEPLAY_H #include "general.h" //#include "character.h" //#include "map.h" extern const int SCRN_HEIGHT; class GameplayController { private: int curMap; int curState; public: GameplayController() { curMap = 0; } void changeMap(int amount = 0) { if (amount == 0) { ...
10-second-runny-guy-ld48
gameplay.h
C++
gpl3
1,191
#ifndef _GENERAL_H #define _GENERAL_H #include <vector> #include <SDL/SDL.h> #include <SDL/SDL_ttf.h> #include <SDL/SDL_image.h> #include <iostream> #include "timer.h" using std::cin; //Global variables SDL_Surface* screen = NULL; SDL_Rect dstrect; //only used for blitting SDL_Event event; bool camClip = true; cons...
10-second-runny-guy-ld48
general.h
C++
gpl3
1,239
#ifndef _GRAPHICS_H #define _GRAPHICS_H #include "general.h" #include "character.h" #include <cstring> using std::string; using std::cin; using std::cout; using std::endl; #include <SDL/SDL.h> #include <SDL/SDL_ttf.h> #include <SDL/SDL_image.h> #include <vector> extern SDL_Surface* screen; extern SDL_Rect dstrect; ex...
10-second-runny-guy-ld48
graphics.h
C++
gpl3
4,806
#ifndef _SCROLL_H #define _SCROLL_H #include "general.h" #include <cstring> using std::string; class Background { private: int xScrollRate, yScrollRate; int xCur, yCur; ImgRsrc* bgRsrc; string bgLabel; public: Background() { } Background(string lbl, int xInit = 0, int yInit = 0) { xScrollRate = yS...
10-second-runny-guy-ld48
scroll.h
C++
gpl3
864
#ifdef __cplusplus #include <cstdlib> #else #include <stdlib.h> #endif #include <cstdlib> #include <iostream> #include <SDL/SDL.h> #include <sstream> #include <cmath> #include "map.h" #include "general.h" #include "graphics.h" #include "character.h" #include "timer.h" #include "gameplay.h" #include "scroll.h" ...
10-second-runny-guy-ld48
main.cpp
C++
gpl3
15,091
#ifndef _CHARACTER_H #define _CHARACTER_H #include <cmath> #include <cstring> using std::string; #include "general.h" #include "timer.h" int xVelMax = 30; int yVelMax = 50; class ImgRsrc; extern SDL_Event event; extern const int SCRN_HEIGHT; extern const int SCRN_WIDTH; extern bool camClip; class Character { prote...
10-second-runny-guy-ld48
character.h
C++
gpl3
5,643
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test page for launching the application via JNLP</title> </head> <body> <h3>Test page for launching the application via JNLP</h3> <script src="http://java.com/js/deployJava.js"></script> ...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/preview-application.html
HTML
gpl3
611
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/InformacionServicioProteccionDerecho.java
Java
gpl3
2,702
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impor...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Seguimiento.java
Java
gpl3
2,650
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impo...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Comisaria.java
Java
gpl3
1,907
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/ServicioProteccionDerecho.java
Java
gpl3
2,028
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoLlamado { LLAMADO, PRESENTACION_ESPONTANEA, GUARDIA_TELEFONICA; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoLlamado.java
Java
gpl3
227
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoEscolaridad { PRIMARIO_COMPLETO, PRIMARIO_INCOMPLETO, SECUNDARIO_COMPLETO, SECUNDARIO_INCOMPLETO, TERCIARIO, UNIVERSITARIO; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoEscolaridad.java
Java
gpl3
287
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impo...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Direccion.java
Java
gpl3
2,490
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.OneToMany; /** * * @author NiCo */ @Entity public class Operador extends Persona implements S...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Operador.java
Java
gpl3
1,836
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Llamado.java
Java
gpl3
3,542
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoSustancia { POLICONSUMO, TABACO, ALCOHOL, TRANQUILIZANTE, ESTIMULANTE, SOLVENTES_E_INHALANTES, MARIHUANA, COCAINA, PASTA_BASE, HEROINA, EXTASIS, OTRAS; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoSustancia.java
Java
gpl3
315
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoCompleto { COMPLETO, INCOMPLETO; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoCompleto.java
Java
gpl3
196
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoPersona { ADULTO, NINIO, INSTITUCION; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoPersona.java
Java
gpl3
200
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Hijo.java
Java
gpl3
2,489
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Intervencion.java
Java
gpl3
2,085
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impor...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/Actualizacion.java
Java
gpl3
3,675
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoZona { NO, NE, SO, SE; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoZona.java
Java
gpl3
186
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import javax.persistence.Entity; /** * * @author NiCo */ @Entity public class IntervencionAdiccion extends Intervencion implements Serializ...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/IntervencionAdiccion.java
Java
gpl3
5,082
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoSexo { MASCULINO, FEMENINO; }
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/TipoSexo.java
Java
gpl3
191
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
102-lineadelosderechos
trunk/102-LineaDeLosDerechos/src/io/RelacionNinio.java
Java
gpl3
2,424