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
func.drawBurnDown = function () { | |
var $svg = $('#BurnDown'); | |
if ($svg.length !== 1) { | |
return; | |
} | |
$svg.empty(); | |
var dataSet = JSON.parse($('#BurnDownJson').val()); | |
if (dataSet.length === 0) { | |
$svg.hide(); | |
return; |
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
var mouseX; | |
var mouseY; | |
// マウス移動時にマウスポインタのXY座標をメモリに保持 | |
$(window).mousemove(function (e) { | |
mouseX = e.pageX; | |
mouseY = e.pageY; | |
}); | |
// マウスポインタが重なっている要素を返却 |
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
function request(requestUrl, methodType, data) { | |
return $.ajax({ | |
url: requestUrl, | |
type: methodType, | |
cache: false, | |
data: data, | |
dataType: 'json' | |
}) | |
.done(function (json, textStatus, jqXHR) { | |
if (json) { |
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
CREATE DATABASE [TestDB] | |
GO | |
USE [TestDB]; | |
CREATE TABLE [dbo].[Images]( | |
[Id] [bigint] IDENTITY(1,1) NOT NULL, | |
[Bin] [image] NOT NULL, | |
CONSTRAINT [PK_Images] PRIMARY KEY CLUSTERED | |
( | |
[Id] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
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
using Implem.Libraries.Utilities; | |
using System; | |
using System.Collections.Generic; | |
namespace Implem.CodeDefiner | |
{ | |
internal class Program | |
{ | |
// 関数の使用例 | |
static void Main(string[] args) | |
{ |
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
Option Explicit | |
Const CodeColumnNo As Integer = 2 | |
Public Sub EditCode() | |
Application.ScreenUpdating = False | |
Dim FN, Folder As String | |
Dim fso, TextFile, wsh As Object | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
Set wsh = CreateObject("WScript.Shell") |
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
using System.Collections.Specialized; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Web; | |
namespace Implem.Sample | |
{ | |
public class Logger | |
{ | |
public HttpContext HttpContext; | |
public NameValueCollection Form { get { return HttpContext.Request.Form; } } |
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
use [dbname]; | |
declare @p1 nvarchar(4); set @p1 = 'hoge'; | |
select [abc].[a], [abc].[b], [abc].[c], | |
[abc].[d], [abc].[e] | |
from [abc] | |
where @p1 |
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
var a = GetCascade("", null, "abc", "def"); |
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
using System.Linq; | |
using System.Text; | |
namespace Implem.Sample | |
{ | |
public static class Extensions | |
{ | |
// 連続Append用拡張メソッド | |
public static void Append(this StringBuilder stringBuilder, params string[] strings) | |
{ | |
strings.ForEach(str => stringBuilder.Append(str)); |