- インストールCDを作る
- Cキー押しながら起動
- Guestで起動
- Desktopのinstall Zorin OSを起動
-> continue
- internetうんたらがNGだけど無視してcontinue
| class Foo { | |
| String call() => "foo"; | |
| } | |
| class Greeting { | |
| void call(String name) => print("Hello, ${name}"); | |
| } | |
| void main() { | |
| var f = new Foo(); |
| map <c-j> scrollPageDown | |
| map <c-k> scrollPageUp |
| #!/bin/sh | |
| instanceType=t1.micro | |
| region=ap-northeast-1 | |
| availabilityZone=${region}b | |
| productDescription=Linux/UNIX | |
| offeringType="Linux Utilization" | |
| duration=$((60*60*24*365)) | |
| filters=`cat <<EOS |
| $ perl -MMIME::Base64 -e 'print encode_base64( | |
| > "username\0group\0password");' | |
| ** base64エンコードされた文字列A ** <- あとで使う | |
| $ telnet mail.example.com smtp | |
| Trying 127.0.0.1... | |
| Connected to 127.0.0.1. | |
| Escape character is '^]'. | |
| 220 mail.example.com ESMTP unknown | |
| EHLO example.com <- 1 SMTPで拡張している設定を表示 |
| さくらの専用サーバーが納品されましたので、仕事前にラジオ体操です。 | |
| あーたーらしーいー サーバが来たー♪ | |
| きーぼーのー サーバーだー♪ | |
| よろこーびにー ターミナルひーらけー♪ | |
| CPUファーン あーおーげー♪ | |
| dmesgのー 声にー すこやーかなー胸をー♪ | |
| この香る 文字列に ひらーけよー | |
| それ sysctl -w vm.drop_caches=1 ; sysctl -w vm.drop_caches=2 ; sysctl -w vm.drop_caches=3♪ |
| # -*- coding: utf-8 -*- | |
| import random | |
| import redis | |
| import predef | |
| r = redis.StrictRedis(host='localhost', port=6379, db=0) | |
| player_id = random.randint(100, 200) | |
| print("I'm %s" % player_id) |
| # Required my rtm-bot's fork: https://github.com/tomochikahara/python-rtmbot | |
| from __future__ import unicode_literals | |
| import logging | |
| from rtmbot import client | |
| crontable = [] | |
| outputs = [] | |
| target_channel_id = 'XXXXXXXXXXXX' |
| #!/bin/bash | |
| # ex: copy_jenkins_jobs.sh /tmp/jenkinsjobs | |
| JENKINS_URL="http://localhost:8080" | |
| AUTH="<username>:<API token>" | |
| CONFIG_TMP_XML="config_tmp.xml" | |
| DIR=$1 |
| import sys | |
| from pyquery import PyQuery as pq | |
| def list_categories(): | |
| d = pq(url="https://api.slack.com/methods") | |
| for e in d('#api_main_content div h2').items(): | |
| print(e.text()) | |