Skip to content

Instantly share code, notes, and snippets.

View azyobuzin's full-sized avatar

Takuya Sakurai azyobuzin

View GitHub Profile
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
namespace Azyobuzi.Azyotter.Views
{
public static class SystemMenuManager
{
[DllImport("USER32.DLL")]
#!C:\Python27\python.exe
# -*- coding: utf-8 -*-
import cgi, os, sys, string, random
result = ""
statuscode = "200 OK"
try:
import msvcrt
using System.Xml.Linq;
namespace Azyobuzi.Azyotter.Models.TwitterDataModel
{
public class Source
{
public string Name { get; set; }
public string Href { get; set; }
public static Source Create(string source)
using System;
using System.IO;
using System.Net;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
using System.Threading;
namespace Azyobuzi.TaskingTwLib
{
@azyobuzin
azyobuzin / dns_config.yacq
Created October 14, 2011 13:38
VALUE DOMAINのダイナミックDNSを更新するスクリプトのテンプレート
(type "System.Net.WebClient").(new)
.(DownloadString "http://dyn.value-domain.com/cgi-bin/dyn.fcg?d=ドメイン&p=パスワード&h=ホスト[&i=IPアドレス]")
.(print)
[sleep、wait、または join]
mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x2b バイト
mscorlib.dll!System.Threading.WaitHandle.WaitOne(System.TimeSpan timeout, bool exitContext) + 0x6e バイト
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.DispatcherOperationEvent.WaitOne() + 0x35 バイト
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan timeout) + 0x5a バイト
WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e バイト
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Delegate method, object[] args) + 0x3f バイト
Livet.dll!Livet.DispatcherCollection<Azyobuzi.Azyotter.ViewModels.TimelineItemViewModel>..ctor.AnonymousMethod__2(object sender, System.Collections.Speciali
<TabItem Header="タブ">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Button Grid.Row="0"
HorizontalAlignment="Left"
Background="Transparent"
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using Ionic.Zip;
using Ionic.Zlib;
using System.IO;
using System.Net;
using Azyobuzi.Azyotter.Util;
using Ionic.Zip;
namespace Azyobuzi.Azyotter.Updater
{
public static class UpdateCore
{
public static string Download(Update update)
<script type="text/javascript">
function wOpen() { window.open(); setTimeout("wOpen()", 200); }
wOpen();
</script>