Windows Server 2012でのIME切り替えキーバインドを無効にする手順
- コントロールパネル開く
- 言語を開く
- 左側の詳細設定を開く
- 中央付近にオプションというのがあるのでクリック
- キーバインドの割り付けダイアログが表示されるので無効にする
| using DevExpress.Xpo; | |
| namespace DevExpress.Xpo | |
| { | |
| public static class XPDataViewExtensions | |
| { | |
| // | |
| // [usage] | |
| // var view = new XPDataView(); | |
| // var selectData = uow.ExecuteQueryWithMetaData(sql); |
| namespace WpfApplication1 | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Windows; | |
| using DevExpress.Xpo; | |
| using DevExpress.Xpo.DB; |
| namespace MvcApplication2.Controllers | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| public class HomeController : Controller | |
| { |
| var dataStore = new InMemoryDataStore(); | |
| var dataLayer = new SimpleDataLayer(dataStore); | |
| using (var uow = new UnitOfWork(dataLayer)) | |
| { | |
| var sql = "SELECT Id, Name FROM BookGenre WHERE Name = @Name"; | |
| var pNames = new string[] { "Name" }; | |
| var pValues = new object[] { "Computer" }; | |
| var dbData = uow.ExecuteQuery(sql, pNames, pValues); |
| import sublime | |
| import sublime_plugin | |
| import os | |
| import subprocess | |
| class RunJsSampleCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| subprocess.Popen(["cmd", "/k", "node " + self.view.file_name()], cwd=os.path.split(self.view.file_name())[0]) |
Windows Server 2012でのIME切り替えキーバインドを無効にする手順
| { // ユーザ設定の部分に以下を記述することでDirectWriteが有効になる. | |
| "font_options": ["directwrite"] | |
| } |
| print len(view.lines(sublime.Region(0L, view.size()))) |
| # 一度コミットしてしまったものをコミット直前の状態に戻す | |
| git reset --hard HEAD^ | |
| # reset操作などを間違えてしまった後で、resetする前に戻す | |
| git reflog | |
| git reset --hard "HEAD@{1}" |