Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace LockWorkStation
{
class Program
{
static void Main(string[] args)
<html>
<head><title>Google 検索</title></head>
<body>
<form onSubmit="return googlesearch();">Google検索:<input type="text" id="searchword"><input type="submit" value="検索"></form>
<div id="googlejsondiv">検索結果をここに表示します...</div>
<script>
<!--
function googlecallback(json)
{
var results = json.responseData.results;
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
namespace NoDuplicatedStart
{
class Program
#!/usr/bin/ruby
interval = 5
path = File::dirname(File.expand_path(__FILE__)) + "/"
Dir::chdir(path)
p path
while true
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Threading;
using System.Runtime.InteropServices;
namespace StandbyResetter
{
class Program
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;
using System.Text.RegularExpressions;
using System.Threading;
namespace MassMeasurement
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace StandByPreventor
{
class Program
{
using System;
using System.Collections.Generic;
using System.Text;
using PdfSharp.Pdf;
using PdfSharp.Drawing;
using PdfSharp;
using System.Reflection;
using System.IO;
using System.Windows.Forms;
#include "gba.h"
int main()
{
// 画面モード設定
SetMode(MODE_0 | BG0_ENABLE | 0x0);
REG_BG0CNT = (BG_SIZE_0 | BG_256_COLOR | CHAR_BASE(0) | MAP_BASE(28));
u16* chr = CHAR_BASE_ADR(0); // キャラクタデータ
u16* map = MAP_BASE_ADR(28); // マップデータ
/************************************/
/* Sprite */
/************************************/
#include <gba.h>
void SpriteMove(u16 num, s16 x, s16 y)
{
OBJATTR* sp = (OBJATTR*)OAM + num;