Skip to content

Instantly share code, notes, and snippets.

View YutaWatanabe's full-sized avatar

Yuta Watanabe YutaWatanabe

  • Civitas, Inc.
  • Tokyo, Japan
View GitHub Profile
<script type="text/javascript">
Skype.ui({
name: "call",
element: "genSkypeCall", // ここで div タグの id を指定
participants: ["echo123"], // 通話に参加するユーザの指定
listparticipants: "true"
});
</script>
@YutaWatanabe
YutaWatanabe / skype-uris-basic.html
Last active December 21, 2015 01:28
Skype URIs basic
<a href="skype:echo123?call">Call the Skype Echo / Sound Test Service</a>
@YutaWatanabe
YutaWatanabe / array_sale.php
Created November 24, 2011 17:55
Array exemplo da operação SALE
// Array exemplo da operação SALE
$sale = array(
"verification" => array(
"merchantId" => "100",
"merchantKey" => "NotAValidKey21g8u6gh6szw1",
),
"order" => array(
"sale" => array(
"referenceNum" => "123456789",
"ipAddress" => "123.123.123.123",
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace CdonApp
{
public class App : Application
@YutaWatanabe
YutaWatanabe / Program.cs
Created December 3, 2014 03:52
LED Blink Once
public partial class Program
{
void ProgramStarted()
{
Debug.Print("Program Started");
button.ButtonPressed += button_ButtonPressed;
}
void button_ButtonPressed(Button sender, Button.ButtonState state)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace CdonApp
{
public partial class CdonPage : ContentPage
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="CdonApp.CdonPage"
Padding="0, 30, 0, 0"
BackgroundColor="#5F328F">
<ContentPage.Content>
<StackLayout>
<Image Source="cdonwhite.png"></Image>
@YutaWatanabe
YutaWatanabe / AdMediatorControlXaml.xaml
Created November 12, 2014 23:27
XAML code of AdMediatorControl
<WindowsPhone81:AdMediatorControl
x:Name="AdMediator_Block"
HorizontalAlignment="Left"
Height="66"
Id="AdMediator-Id-unique-id-is-here"
Margin="0,100,0,0"
VerticalAlignment="Top"
Width="400"/>
@YutaWatanabe
YutaWatanabe / MainPage.xaml.cs
Last active August 29, 2015 14:09
Debugging AdMediator
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Phone8AppWithMediation.Resources;
@YutaWatanabe
YutaWatanabe / bs3-snippet.html
Created October 20, 2014 13:57
Bootstrap 3 Snippets: bs3-col:6
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
</div>