Skip to content

Instantly share code, notes, and snippets.

abcdefhij

alert('hello');
public class Person {
  public string Name { get; set; }
 public void Say() {
#!/bin/bash
#yum update -y
# optional
#yum install -y vim
# Setup packages
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
@tsubakimoto
tsubakimoto / Vagrantfile
Created June 17, 2014 14:20
【WordPress 連載企画 第1回】Vagrant をインストールしてローカル開発環境を作ってみよう | バシャログ。 http://c-brains.jp/blog/wsg/14/06/16-150000.php
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
Encoding.default_external = 'UTF-8'
config.vm.box = "chef/centos-6.5"
url = WScript.Arguments.Item(0)
Set http = CreateObject("Microsoft.XMLHTTP")
http.open "POST", url, False
http.setRequestHeader "Content-Type", "text/plain;charset=UTF-8"
http.send ""
SET CSCRIPT=%windir%\system32\cscript.exe
SET VBSCRIPT=C:\Repositories\test\hooks\post-commit-hook-jenkins.vbs
SET JENKINS=http://localhost:8080/job/test/build
"%CSCRIPT%" "%VBSCRIPT%" %JENKINS%

仮想マシン作成時

仮想マシン ubuntu の登録に失敗しました。

Failed to replace 'C:\Users\y_matsumura/.VirtualBox\VirtualBox.xml' with 'C:\Users\y_matsumura/.VirtualBox\VirtualBox.xml-tmp': -119(Can't move file to another disk.).

D:\tinderbox\win-4.3\src\VBox\Main\src-server\VirtualBoxImpl.cpp[4287] (long __thiscall VirtualBox::saveSettings(void)).

終了コード : E_FAIL (0x80004005)
private void btnSync_Click(object sender_, RoutedEventArgs e_)
{
var client = new WebClient();
client.Encoding = Encoding.UTF8;
var json = client.DownloadString(this.txtUrl.Text);
this.txtJson.Text = json;
}
private void btnAsync_Click(object sender_, RoutedEventArgs e_)
{
{"allowiframeurl":"","allownexturl":"","apheight":500,"autoload":2,"autoloadfeed":["^ITトレメ"],"autopagerize":true,"autosearch":true,"cantdisplay":true,"basekey":"Z","denynexturl":"","disableitem":[],"iframetag":true,"noscripttag":true,"notloadfeed":[],"notread":"ITトレメ","openitem":true,"replacefullfeedurl":"","socialicon":false,"socialbuzzurl":false,"socialdelicious":false,"socialfacebook":false,"socialfc2":false,"socialhatena":false,"sociallivedoor":false,"socialtwitter":true,"socialyahoo":false,"siteinfo":"[{\"format\":\"JSON\",\"url\":\"http://wedata.net/databases/LDRFullFeed/items.json\"},{\"format\":\"JSONP\",\"url\":\"http://web.archive.org/web/20130626165149/http://wedata.net/databases/LDRFullFeed/items.json?callback=callback\",\"callback\":\"callback\"}]","siteinfoap":"[{\"format\":\"JSON\",\"url\":\"http://wedata.net/databases/AutoPagerize/items.json\"},{\"format\":\"JSON\",\"url\":\"http://ss-o.net/databases/AutoPagerize/items.json\"}]","usersiteinfo":"[{\"url\":\"\",\"xpath\":\"\",\"type\":\"\",\"enc

Snippets for Visual Studio

Private Class Person
Private _name As String
Public Property Name() As String
Get
Return _name
End Get
Set(ByVal value As String)
_name = value
End Set
End Property