This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
public static class AES { | |
private static string KEY = "********************************"; | |
private static string IV = "********************************"; | |
public static string encrypt(string clearText) { | |
return EncryptRJ256(KEY, IV, clearText); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
USER_NAME="test" | |
GIT_REPOGITORY="/var/www" | |
RELEASE1_URL="*" | |
RELEASE2_URL="*" | |
RELEASE3_URL="*" | |
RELEASE4_URL="*" | |
RELEASE_MANAGE_URL="*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log 'backgroud.js is working!!!!!!' | |
chrome.pushMessaging.onMessage.addListener (message) -> | |
alert 'GCM message: ' + message.payload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path = require 'path' | |
module.exports = (grunt) -> | |
grunt.initConfig | |
livereload: | |
port: 35729 | |
coffee: | |
compile: | |
files: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>web speech api</title> | |
</head> | |
<body> | |
<input type="button" value="talk" id="speech_button"> | |
<script type="text/javascript" src="./speech.js"></script> | |
</body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 文字コード | |
(set-language-environment "Japanese") | |
(set-default-coding-systems 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
(set-terminal-coding-system 'utf-8) | |
(set-buffer-file-coding-system 'utf-8) | |
(set-locale-environment nil) | |
(setq-default tab-width 4 indent-tabs-mode nil) | |
(setq default-major-mode 'text-mode) | |
(setq mac-pass-control-to-system nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option default-shell /bin/zsh | |
set-option -g prefix C-t | |
unbind-key C-b | |
bind-key C-t send-prefix | |
# ウィンドウ・ペインの最初の番号を指定を1に。デフォルトだと0から | |
set -g base-index 1 | |
set -g pane-base-index 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g prefix C-t | |
setw -g utf8 on | |
set -g status-utf8 on | |
set -g status-interval 10 | |
set -g status-bg colour100 | |
setw -g window-status-current-fg black | |
setw -g window-status-current-bg white | |
bind C-r source-file ~/.tmux.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ListViewController.h | |
// opus | |
// | |
// Created by Kashima Takumi on 2013/03/28. | |
// Copyright (c) 2013年 UNUUU FOUNDATION. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import <AssetsLibrary/AssetsLibrary.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.h | |
// Bluetooth | |
// | |
#import <UIKit/UIKit.h> | |
#import <CoreBluetooth/CoreBluetooth.h> | |
@interface ViewController : UIViewController <CBCentralManagerDelegate, CBPeripheralManagerDelegate, CBPeripheralDelegate> | |
@property (weak, nonatomic) IBOutlet UITextView *textView; |