Entries from 2015-11-01 to 1 month

Ubuntu 14.04 wol Nic指定と永続化

ethtool -s eth1 wol g (確認は $ethtool eth1)でWOL設定できるが、一回限りで次回のリブート後同じ設定を繰り返さなくてはいけないので、以下で永続化をする。$ sudo nano /etc/init.d/wakeonlan ## /etc/init.d/wakeonlan # # description: Force NIC in…

ubuntu 14.04 - Replace Realtek r8168 network card to enable wake-on-lan

http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8111B/RTL8168B/RTL8111/RTL8168RTL8111C/RTL8111CP/RTL8111D(L)RTL8168C/RTL8111DP/RTL8111ERTL8168E/RTL8111F/RTL8411RTL8111…

Ubuntu 14.04 - Terminal command to list folder size and corresponding file sizes within

http://superuser.com/questions/869969/ubuntu-14-04-terminal-command-to-list-folder-size-and-corresponding-file-sizesdu -lah|grep -v -e '^.*K:space:'|sort -r -n

selenium cookie add_cookie

http://www.rubydoc.info/gems/selenium-webdriver/0.0.28/Selenium/WebDriver/Optionshttp://stackoverflow.com/questions/18692542/create-a-domain-specific-site-com-cookie-with-rubys-selenium-webdriverhttp://stackoverflow.com/questions/28187331/…

selenium webdriver phontomjs stop images loading

http://stackoverflow.com/questions/15371495/phantomjs-1-8-with-selenium-on-python-how-to-block-imageswebdriver.PhantomJS(service_args=['--load-images=no'])試していません

画像ダウンロードを停止する ruby selenium chromedriver

prefs = { 'profile' => { #'default_content_settings' => {'images' => 2}, 'managed_default_content_settings' => {'images' => 2}, } }ch = Selenium::WebDriver.for(:chrome, :prefs => prefs)但しchromedriverのバージョンは selenium-webdriver 2.37…

ubuntu selenium webdriver chromedriver chrome set up

download chromedriverhttps://github.com/SeleniumHQ/selenium/wiki/ChromeDriver https://sites.google.com/a/chromium.org/chromedriver/downloads unzip it to /usr/bin/chromedriverthen require 'selenium-webdriver'#Selenium初期化 ff = Selenium::W…

ubuntu14.04 Anthy Fcitx

Software Centerから fcitx Anthy Fcitx wrapper for Anthy IM engine

ubuntu server 14.04 gnome

sudo apt-get install xorg gnome-core gnome-system-tools gnome-app-install

NetworkManager PPTP "VPN Service failed to start" and Deep Packet Inspection (DPI)

https://answers.launchpad.net/ubuntu/+source/network-manager/+question/254531

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. fatal error: unexpectedly found nil while unwrapping an Optional value

http://d.hatena.ne.jp/kazukingband/20150910/1441875442

ios osx vnc to ubuntu , encryption off

http://interwebworld.co.uk/2014/11/23/fix-screen-sharing-mac-os-x-ubuntu/dconf-toolsでExpand ‘org’>‘gnome’>‘Desktop’>‘Remote Access’>‘Require Encrption'=Uncheck 要するにUbuntu側のencriptionを解除する。ios,osx側のvncに暗号化の設定がな…

osx suddenly "disk is almost full" check /core and delete them

osx suddenly "disk is almost full" check /core and delete them