Skip to content

Instantly share code, notes, and snippets.

View wzhsunn's full-sized avatar
💭
github

sunny wzhsunn

💭
github
View GitHub Profile

###vimium

shortcuts

Navigating the page
j, <c-e> : Scroll down
k, <c-y> : Scroll up
h : Scroll left
l : Scroll right
gg : Scroll to the top of the page
@wzhsunn
wzhsunn / 闪动效果
Created January 12, 2015 08:34
闪动效果
<Window
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" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="WpfApplication1.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<StackPanel Margin="20">
<!-- The Opacity and Color of the SolidColorBrush
used to fill this rectangle is animated. -->
@wzhsunn
wzhsunn / 闪动效果.xml
Last active August 29, 2015 14:13
闪动效果
<Window
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" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="WpfApplication1.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<StackPanel Margin="20">
<!-- The Opacity and Color of the SolidColorBrush
used to fill this rectangle is animated. -->
<Grid x:Name="LayoutRoot">
<Canvas Name="canvas" Height="220" Width="220">
<Polygon Points="110,10 16,6 16,16 11,210" Name="polygon">
<Polygon.Fill>
<SolidColorBrush x:Name="brush" Color="Black"/>
</Polygon.Fill>
<Polygon.Triggers>
@wzhsunn
wzhsunn / pathAni.xml
Created January 16, 2015 09:33
path 闪动
<Grid x:Name="LayoutRoot">
<Canvas Name="canvas" Height="220" Width="220">
<Path Stroke="Black"
Data="M 10,100 C 10,300 300,-200 300,100" >
<Path.Fill>
<SolidColorBrush x:Name="brush2" Color="Black"/>
</Path.Fill>
<Path.Triggers>
@wzhsunn
wzhsunn / pathAni.xml
Created January 16, 2015 09:33
path 闪动
<Grid x:Name="LayoutRoot">
<Canvas Name="canvas" Height="220" Width="220">
<Path Stroke="Black"
Data="M 10,100 C 10,300 300,-200 300,100" >
<Path.Fill>
<SolidColorBrush x:Name="brush2" Color="Black"/>
</Path.Fill>
<Path.Triggers>
@wzhsunn
wzhsunn / pathAni.xml
Created January 16, 2015 09:34
path 闪动
<Grid x:Name="LayoutRoot">
<Canvas Name="canvas" Height="220" Width="220">
<Path Stroke="Black"
Data="M 10,100 C 10,300 300,-200 300,100" >
<Path.Fill>
<SolidColorBrush x:Name="brush2" Color="Black"/>
</Path.Fill>
<Path.Triggers>
@wzhsunn
wzhsunn / poller.log.md
Created February 4, 2015 05:13
librenms debug poller with win7 device.
LibreNMS 2014.master Poller

DEBUG!
Starting polling run:


SQL[�[33mSELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'mywinhost' ORDER BY `device_id` ASC�[0m] 
SQL[�[33mSELECT * FROM `devices` WHERE `device_id` = '6'�[0m] 
LibreNMS 2014.master Discovery

DEBUG!

SQL[�[33mSELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1�[0m] 
SQL[�[33mSELECT revision FROM `dbSchema`�[0m] 
SQL[�[33mSELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'mywinhost' ORDER BY device_id DESC�[0m] 
SQL[�[33mSELECT * FROM devices_attribs WHERE `device_id` = '6'�[0m] mywinhost 6 windows 
DEBUG: SNMP Auth options =  -v2c -c public

This Wiki page provides an overview of CEF3 and general usage information.

Note to Editors: Changes made to this Wiki page without prior approval via the CEF Forum or Issue Tracker may be lost or reverted.


[TOC]


Introduction