- http://extrea.hatenablog.com/entry/2012/07/31/104749
- https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
VirtualBox+NATの場合、eth0が無くてenp0s3となってしまうようだ。
| Private Sub CommandButton1_Click() | |
| Dim i As Long | |
| Dim outFile As String | |
| Dim hashSheet As Worksheet | |
| hashSheet = ActiveSheet | |
| Workbooks.Open Filename:=ThisWorkbook.Path & "\template.xls" | |
| For i = 1 To ActiveSheet.UsedRange.Rows.Count | |
| Dim key As String | |
| Dim val As String | |
| key = Cells(1, i).Value |
VirtualBox+NATの場合、eth0が無くてenp0s3となってしまうようだ。
| require 'webrick' | |
| server = WEBrick::HTTPServer.new(:DocumentRoot => Dir.pwd, :Port => 3000) | |
| ['INT', 'TERM'].each do |signal| | |
| trap(signal){ server.shutdown } | |
| end | |
| server.start |
| var sh = new ActiveXObject( "WScript.Shell" ); | |
| sh.Run( "C:/WINDOWS/system32/notepad.exe",1,true ); | |
| WScript.Echo("hmm"); |
| fs = new ActiveXObject("Scripting.FileSystemObject"); | |
| base = fs.BuildPath(String(WScript.ScriptFullName).replace(WScript.ScriptName,""), "."); | |
| objFile = fs.GetFolder(base); | |
| a = new Date(objFile.DateLastModified).getTime(); | |
| while(true){ | |
| WScript.sleep(1000); | |
| b = new Date(objFile.DateLastModified).getTime(); | |
| if(a != b){ | |
| //WScript.echo("ファイルが更新されました" + a +"vs" + b); | |
| var sh = new ActiveXObject( "WScript.Shell" ); |
| set nocompatible | |
| filetype off | |
| if has('vim_starting') | |
| set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
| call neobundle#rc(expand('~/.vim/bundle/')) | |
| endif | |
| NeoBundleFetch 'Shougo/neobundle.vim' | |
| NeoBundle 'Shougo/vimproc' |
| class Perm { | |
| //最終的に返すもの(組み合わせのパターン) | |
| private var patterns:Array<Array<Int>>; | |
| //入力数字列 | |
| private var in_ary:Array<Int>; | |
| /** | |
| * コンストラクタ | |
| * @param in_ary 入力数字列 | |
| */ |
| <!doctype html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Title</title> | |
| <!-- for Mobile view --> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
| <!-- iOS Application Setting --> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
| (function(){ | |
| var s = document.createElement('link'); | |
| s.setAttribute('href','http://perchouli.github.com/ixedit/stylesheets/ixedit.css'); | |
| s.setAttribute('rel','stylesheet'); | |
| s.setAttribute('type','text/css');document.getElementsByTagName('head')[0].appendChild(s); | |
| s = document.createElement("script"); | |
| s.type = "text/javascript"; | |
| s.src = "http://code.jquery.com/jquery.min.js"; |
| var spawn = require('child_process').spawn; | |
| var ps = spawn("ping", ["192.168.5.56", "-c 1", "-t 1"]); | |
| ps.on('exit', function(code) { | |
| console.log('ps process exited with code ' + code); | |
| }) |