Skip to content

Instantly share code, notes, and snippets.

@t-min
t-min / lsusb
Created September 27, 2016 09:18
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
@t-min
t-min / lspci
Created September 27, 2016 09:17
lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI Bridge (Internal gfx)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 Non-Raid-5 SATA
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI0)
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI1)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI2)
00:13.3 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI3)
00:13.4 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI4)
@t-min
t-min / cpuinfo
Created September 27, 2016 09:16
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
stepping : 2
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
@t-min
t-min / lsproc
Created September 27, 2016 09:15
$ ls /proc
1 130 17832 2 32075 5794 835 diskstats pagetypeinfo
10 1311 17833 20 36 5821 84 dma partitions
102 1328 17900 20486 3662 637 85 driver sched_debug
103 1335 17904 21 3778 6600 86 execdomains self
1070 13541 17905 22 3783 662 87 fb slabinfo
10932 1358 17911 23 38 672 88 filesystems softirqs
10938 1362 17915 231 3808 681 9 fs stat
10942 1367 17916 232 39 7 90 interrupts swaps
11 1374 18 23463 4380 703 927 iomem sys
$ ls /dev
autofs lp0 snapshot tty24 tty49 vcs
block mapper snd tty25 tty5 vcs1
bsg mcelog sophos-pe tty26 tty50 vcs2
btrfs-control mem sophos-vc tty27 tty51 vcs3
bus mqueue stderr tty28 tty52 vcs4
char net stdin tty29 tty53 vcs5
console network_latency stdout tty3 tty54 vcs6
core network_throughput talpa-pe tty30 tty55 vcs7
cpu null talpa-vc tty31 tty56 vcsa
>ruby mikutter.rb --debug
notice: {MIKUTTER_DIR}/core/configloader.rb:41:in `boot': load setting data from C:/Users/tmin/.mikutter/settings/setting.yml
notice: {MIKUTTER_DIR}/core/miquire_plugin.rb:152:in `load': plugin loaded: {MIKUTTER_DIR}/core/plugin/uitranslator/uitranslator.rb
notice: {MIKUTTER_DIR}/core/miquire_plugin.rb:152:in `load': plugin loaded: {MIKUTTER_DIR}/core/plugin/gui/gui.rb
notice: {MIKUTTER_DIR}/core/miquire_plugin.rb:152:in `load': plugin loaded: {MIKUTTER_DIR}/core/plugin/gtk/gtk.rb
C:/Ruby23-x64/lib/ruby/2.3.0/x64-mingw32/continuation.so: warning: callcc is obsolete; use Fiber instead
notice: {MIKUTTER_DIR}/core/miquire_plugin.rb:152:in `load': plugin loaded: {MIKUTTER_DIR}/core/plugin/settings/settings.rb
notice: {MIKUTTER_DIR}/core/miquire_plugin.rb:152:in `load': plugin loaded: {MIKUTTER_DIR}/core/plugin/activity/activity.rb
warning: C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/glib2-3.0.9-x64-mingw32/lib/glib2/deprecatable.rb:123:in `const_missing': {MIKUTTER_DIR}/core/plugin/activity/a
upstream unicorn {
server unix:/tmp/unicorn.redmine.sock fail_timeout=0;
}
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
@t-min
t-min / config.ru
Created October 27, 2015 18:39
config.ru
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
#run RedmineApp::Application
if ENV['RAILS_RELATIVE_URL_ROOT']
map ENV['RAILS_RELATIVE_URL_ROOT'] do
run RedmineApp::Application
end
else
run RedmineApp::Application
end
@t-min
t-min / redmine-unicorn-nginx
Created October 27, 2015 18:26
redmine-unicorn-nginx
upstream unicorn {
server unix:/tmp/unicorn.redmine.sock fail_timeout=0;
}
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
.affix-bottom {
position: relative
}