Skip to content

Instantly share code, notes, and snippets.

View tmyt's full-sized avatar
🏠
Working from home

Yutaka TSUMORI tmyt

🏠
Working from home
View GitHub Profile

今日から使えるAristeaフィルタ式例文集

Aristeaで使えるフィルタ式のサンプル集です。切り貼りして使ってね!

  • 画像タイムライン

entities.media.length > 0

  • 本文に特定のキーワードが含まれる場合

text =@ { 'hoge', 'fuga', 'piyo' }

@tmyt
tmyt / gist:89888b5ed42c738cfe0b
Created May 2, 2014 01:13
Direct2D putty を96DPI以外の環境で実行すると、描画サイズがおかしくなる不具合を修正するパッチ
windows/window.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/windows/window.cpp b/windows/window.cpp
index 63f9a95..0eff4e0 100644
--- a/windows/window.cpp
+++ b/windows/window.cpp
@@ -6640,6 +6640,7 @@ static void d2d_init()
dwrpm->GetPixelGeometry(),
rendering_mode_dw, &dwrpc);
public class ListViewOffset
{
public double GetValue(ListBox listBox)
{
// Get parts
var scrollViewer = listBox.FindElement<ScrollViewer>();
var scrollBar = scrollViewer.FindElement<ScrollBar>();
return scrollBar.Value;
}
}

#UserControlのぷろぱてぃ UserControlにプロパティ作って、UserControlからもそのプロパティを参照したいときに何作る?というはなし

##元のコード

<UserControl
    x:Class="App1.MyUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
@tmyt
tmyt / MainPage.xaml
Created June 21, 2014 09:56
いまにゅーにお昼きかれたやつ、こうすればいいんじゃないん、って思ったやつ(その1)
<StackPanel>
<local:myControl MyButtonClick="MyButtonClick" />
<Grid x:Name="HogeGrid" Visibility="Collapsed" />
</StackPanel>
@tmyt
tmyt / MainPage.xaml
Last active August 29, 2015 14:02
いまにゅーにお昼きかれたやつ、こうすればいいんじゃないん、って思ったやつ(その2)
<StackPanel>
<local:MyControl Button.Click="ButtonClick" />
<Grid x:Name="HogeGrid" Visibility="Collapsed" />
</StackPanel>
@tmyt
tmyt / gist:fbc98ed9b8e57fff20a2
Created June 23, 2014 15:28
C++/CXでお手軽にプロパティつくるマクロ
#define prop(__type, __name) \
private: \
__type m_##__name; \
public: \
property __type __name { \
__type get() { return m_##__name; } \
void set(__type value) { m_##__name = value; } \
}
#define propr(__type, __name) \
@tmyt
tmyt / SelectorCondition.cs
Created July 6, 2014 16:53
かずきさんがやってたのでやってみました
using Windows.UI.Xaml;
namespace XamlUtils.Common
{
public class SelectorCondition
{
public static object GetValue(DependencyObject obj)
{
return obj.GetValue(ValueProperty);
}
using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.CompilerServices;
using Windows.ApplicationModel.Resources;
using Windows.Storage;
namespace App28
{
public class AppConfigBase<Impl> : INotifyPropertyChanged

Aristea 1.2.1 既知の不具合

現在以下の不具合が確認されています。これらの不具合は、次のバージョンですべて修正されます。

  • ミュート設定がある状態でタイムラインを更新するとアプリがクラッシュすることがあります
    • 回避方法: 通信を無効にした状態で起動し、ミュート設定をすべて削除する
  • エラーレポートを送信できません。エラーレポート送信先サーバの不具合でエラーレポートをアップロードできません