Skip to content

Instantly share code, notes, and snippets.

public class MainActivity extends AppCompatActivity {
final static String TAG = "MainActivity";
final static int REQ_CODE = 1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
sendIntent1();
}
using System;
namespace ConsoleApp2
{
public class DelegateSample
{
public event Action<int>Fn;
public void Run()
{
var a = new VmSample(this);
a.Start();
@uchidev
uchidev / swiper.el
Last active January 7, 2018 11:38
swiper
(require 'swiper)
(setq swiper-include-line-number-in-search t)
(setq ivy-wrap t)
;; (global-set-key "\^s" 'swiper)
(global-set-key "\^[s" 'swiper)
(define-key ivy-minibuffer-map (kbd "C-w") 'ivy-yank-word)
(require 'recentf)
@uchidev
uchidev / python_tensorflow.md
Created October 29, 2017 18:57
python_tensorflow
<html>
<head>
<title> Home </title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=utf-8" />
<link href="./home.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link href="./home.ico" rel="icon" type="image/vnd.microsoft.icon" />
</head>
<body>
<form method=get action="http://www.google.co.jp/search">
(Space 半角空白 全変換 変換+次 変換+次 文節変換 全変換)
(Enter - 全確定 全確定 候補選択+確定 全確定 全確定)
(C-m - 全確定 全確定 候補選択+確定 全確定 全確定)
(Esc - 全確定 全戻し 全戻し 全戻し 全戻し)
(C-g - 全確定 全戻し 全戻し 全戻し 全戻し)
(半/全 on/off - - - - -)
(変換 on - - - - -)
(無変換 off 全消去 全消去 全消去 全消去 全消去)
(C-o on/off 全確定 全戻し 全戻し 全戻し on/off)
@uchidev
uchidev / config.py
Last active June 2, 2017 19:10
Keyhoc
mark_is_on = False
def configure(keymap):
keymap.editor = "notepad.exe"
keymap.setFont( "MS Gothic", 12)
keymap.setTheme("white")
keymap_global = keymap.defineWindowKeymap()
def delete_line_or_katakana():