import openpyxl
2020년 10월 25일 일요일
python excel(searchTableName.py, searchTableNameTest.py)
2020년 10월 11일 일요일
html div media screen
<!DOCTYPE html>
2020년 10월 10일 토요일
html div test
<!DOCTYPE html>
wpf test
MainWindow.xaml
<Window x:Class="WpfApplication1.MainWindow"
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"
xmlns:local="clr-namespace:WpfApplication1"
mc:Ignorable="d"
Title="MainWindow" Height="150" Width="900">
<Window.Resources>
<local:MYViewModel x:Key="myVM"/>
</Window.Resources>
<Grid DataContext="{Binding Source={StaticResource myVM}}" Width="500" HorizontalAlignment="Left">
<ItemsControl ItemsSource="{Binding ThingsList, Mode= OneWay}" >
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate >
<DataTemplate>
<!--<TextBlock Text="{Binding Name}" Foreground="{Binding Color}" TextAlignment="Left"/>-->
<TextBlock TextAlignment="Left">
<Run Text="{Binding Name}" Foreground="{Binding Color}" />
</TextBlock>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</Window>
-----------------------------------------------
MainWindow .xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace WpfApplication1
{
/// <summary>
/// MainWindow.xaml の相互作用ロジック
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
MainWindow.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApplication1
{
public class NamedThing
{
public string Name { get; set; }
public string Color { get; set; }
}
public class MYViewModel
{
public List<NamedThing> ThingsList { get; set; }
= new List<NamedThing>
{
new NamedThing {Name = "Short1",Color= "#FF0000"},
new NamedThing {Name = ", ", Color ="black"},
new NamedThing {Name = "Short2", Color= "red"},
new NamedThing {Name = ", ", Color ="black"},
new NamedThing {Name = "Short3", Color= "blue"},
new NamedThing {Name = ", ", Color ="black"},
new NamedThing {Name = "Short4", Color= "red"}
};
}
}
2018년 5월 27일 일요일
確認内容
・webRTC
Web RealTime Communication
WebRTCでは、ブラウザ同士の直接接続をネゴシエートするために、事前にお互いの情報をやりとりする必要があるため、サーバは必要です。
お互いの情報を作成/チェックするために、STUNやTURN、ICEなどのIRC関連プロトコルを利用しており、これらのサーバも必要になります。
PCのカメラやマイクから取得した画像や音声のストリーミングだけでなく、DataChannelを利用してピア接続上で双方向通信が行えます。
ORACLE
-------------------------------------------
DB接続設定ファイル情報
-------------------------------------------
tnsname.ora
ORCL1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl1.japan.com)
)
)
-------------------------------------------
http://blog.naver.com/gmjroc/40111049928
http://seandb.tistory.com/entry/%EC%98%A4%EB%9D%BC%ED%81%B4-SID
SQL> select instance from v$thread;
----------------
ORCL
2. 오라클 데이타베이스명을 확인하는 방법
SELECT NAME, DB_UNIQUE_NAME FROM v$database;
SQL> select * from v$database;
지금껏 오라클을 사용하면서도 SID와 Service Name은 거의 구분해서 사용하지 않았다.
덕분에 최근까지는 SID와 Service의 차이를 인식하지 못하고 사용해 왔다.
사실 일반적인 테스트 환경이나 소규모의 경우 한개의 DB서버에 한개의 인스턴스만 사용한다.
이런 환경에서는 SID와 Service Name을 구분할 필요가 없었던것.
단순히 구분짓자면 이렇게 말할수 있다.
SID = DB 하나의 인스턴스
Service Name = 여러개의 인스턴스를 모아 하나의 서버 혹은 시스템을 구성한것
쉽게 예를 들어보자.
서버 한대에 인스턴스를 여러개 생성하여 orcl1, orcl2 로 각각 생성했다고 하자.
각각의 인스턴스는 orcl1, orcl2 라는 SID를 갖게 된다.
해당 서버에서 두개의 인스턴스를 묶어 사용할경우, orcl 이라는 Service Name을 갖을수 있다.
이외에도 서버 두대에 설치하여 각각 미러링 처리하여 동일한 서버인것 처럼 활용할경우
각각의 서버는 서로다른 SID를 갖게 되지만 Service Name을 동일하게 하여 같은 서버 처럼 활용할수 있다.
[출처] Oracle TNS에서 SID와 service_name의 차이 | |작성자 xxsaintxx
출처: http://seandb.tistory.com/entry/오라클-SID [DB공부합시다]