Centos 㧠Gnome
macã°ãã使ã£ã¦ããã®ã§ãGnomeã§ãMacã®æä½ã«ããã
Â
ãã¼ãã¼ããããã³ã°
Terminalã¯
   編é-Preferences-ã·ã§ã¼ãã«ããã§
             ã³ãã¼ãã   Super+C
             貼ãä»ãã   Super+V
ã¨ããã°å¤æ´ã§ããã
Â
GnomeDesktopã¯æ¨æºã§ã¯å ¨ãè¨å®ã§ããªãã®ã§ã調ã¹ã¾ãã£ã¦xkeysnailãã¤ã³ã¹ãã¼ã«ãããã¨ã«
$ sudo pip3 install xkeysnail
# cd
# vi xkeysnail_config.pyÂ
---
import re
from xkeysnail.transform import *
#define_keymap(re.compile("Firefox|Google-chrome"), {
define_keymap(lambda wm_class: wm_class not in ('Terminator'), {
  K("Super-a"): K("C-a"),
   K("Super-v"): K("C-v"),
   K("Super-x"): K("C-x"),
   K("Super-c"): K("C-c"),
})
---
# xhost +SI:localuser:root ; sudo /usr/local/bin/xkeysnail xkeysnail_config.py
ï¼èªåèµ·åã¯èª¿æ»ä¸ï¼
Â
ãã¼ãªãã¼ããè¨å®ãã¦ãããããéããªããªãã®ã§
# gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 25
# gsettings set org.gnome.desktop.peripherals.keyboard delay 250
ã¨ãã¦ãã
Â
è±æ°ï¼ããªå¤æã¯è¨å®ã®Keyboardãããåã®å ¥åã½ã¼ã¹ã¸åãæãããã
Super + Hangul Hanja
ã«ãã¦ãããè±æ°ãã¼ããªãã¼ã§åãæ¿ãããããã¾ã®ã¨ããä¸æããããªã
ä¸å ã
Â
Â
Â
ã¨ã¯ãããmacOSã¯ãã£ã±ãããosã ãªã£ã¦
Â
        Â
            Â
            Â
re:dash & docker
[re:dash docker]ã§ãããã°å
人ããã£ã¦ãã®ãããããã¿ãããã
ä¸ã®ä¸ç§»ãå¤ãããæ©ãã®ã§ãéå»æ
å ±ã«ãªã£ã¦ãã¾ã£ã¦ããã
dockerãcloneãã¦ãããããã¡ã¤ã«ãç¡ãã£ããã»ã»
ï¼setup/docker/create_database.shã¨ãã¨ãã¨ãï¼
ï¼ããããsetup/dockerãããªãï¼
ããã§ã試è¡é¯èª¤ãããã©ããç¡çã£ã½ãã¦
https://github.com/getredash/redash/tree/release_v0.11.1
ããcloneããã°è¯ãããªã®ã次ã®æ¥æ°ã¥ãï½
ãã¨ãCentOS7ãããªãã¨Dockerã®æ°ããã®ã¯ä½¿ããªã
Dockerã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ã¨ããåæã§
# wget https://github.com/getredash/redash/archive/release_v0.11.1.zip # unzip release_v0.11.1.zip # mv redash-release_v0.11.1 redash # cp docker-compose-example.yml docker-compose.yml # cd redash # service docker start # ./setup/docker/create_database.sh # docker-compose up -d Starting redash_redis_1 Starting redash_postgres_1 Starting redash_redash_1 Starting redash_redash-nginx_1
ã§ã
http://Centos7serverIP
ID admin
PASS admin
ã§ãããã¨æãã¾ãã
easy_install -U setuptoolsã§RuntimeError: maximum recursion depth exceeded while calling a Python objectã«ãªã£ã
easy_install -U setuptools
ããã
# easy_install -U setuptools Searching for setuptools Reading https://pypi.python.org/simple/setuptools/ Best match: setuptools 34.2.0 Downloading https://pypi.python.org/packages/16/ef/44baff6e9b1f8125d759d026757677a8a82d14d9974726f13726dee9adfb/setuptools-34.2.0.zip#md5=41b630da4ea6cfa5894d9eb3142922be Processing setuptools-34.2.0.zip Writing /tmp/easy_install-ckKuPn/setuptools-34.2.0/setup.cfg Running setuptools-34.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ckKuPn/setuptools-34.2.0/egg-dist-tmp-fwNrcY Traceback (most recent call last): File "/usr/bin/easy_install", line 9, inload_entry_point('setuptools==0.9.8', 'console_scripts', 'easy_install')() File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1992, in main with_ei_usage(lambda: File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1979, in with_ei_usage return f() çç¥ File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 814, in scan for dist in find_distributions(item): File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1958, in find_distributions importer = get_importer(path_item) File "/usr/lib64/python2.7/pkgutil.py", line 394, in get_importer importer = ImpImporter(path_item) RuntimeError: maximum recursion depth exceeded while calling a Python object
ã¨ãªã£ãã»ã»
pip install --upgrade distribute
ãå®è¡ããããªãã¨ããªã£ã
pythoné£ããã»ã»
docker: Network timed out...
Docker for macã§åãã¦Dockerã«è§¦ã£ã¦ã¿ãã
$ docker run hello-world
ããã¨
Unable to find image 'hello-world:latest' locally Pulling repository docker.io/library/hello-world docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy.. See 'docker run --help'.
ã¦ãªå ·åã§ãå ã«é²ããªãã
ãããã¨
$ docker-machine restart default $ eval $(docker-machine env default)
https://blogdoparanga.wordpress.com/2015/12/27/docker-network-timed-out-while-trying-to-connect-to-httpsindex-docker-iov1repositoriesdockerwhalesayimages-you-may-want-to-check-your-internet-connection-or-if-you-are-behind-a-proxy/
ããã¨ããã¨åºã¦æ¥ãã
Host does not exist: "default"
ã¨ãªãã
ããããdefaultã¨è¨ããã®ããªãã
defaultã«ã¤ãã¦ããã«ãããã¨
$ docker-machine create -d virtualbox default
ã¨ããè¨è¿°ãè¦ã¤ãã
ï¼èªåã®Macã«ã¯virtualboxã¯ãã§ã«Installæ¸ã¿ãã ããInstallãã¦ããvirtualboxã®ãã¨ãªã®ã ãããï¼ï¼
$ docker-machine create -d virtualbox default Creating CA: /Users/abcdefg/.docker/machine/certs/ca.pem Creating client certificate: /Users/abcdefg/.docker/machine/certs/cert.pem Running pre-create checks... (default) Image cache directory does not exist, creating it at /Users/abcdefg/.docker/machine/cache... (default) No default Boot2Docker ISO found locally, downloading the latest release... (default) Latest release for github.com/boot2docker/boot2docker is v1.12.6 (default) Downloading /Users/abcdefg/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.12.6/boot2docker.iso... (default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100% Creating machine... (default) Copying /Users/abcdefg/.docker/machine/cache/boot2docker.iso to /Users/abcdefg/.docker/machine/machines/default/boot2docker.iso... (default) Creating VirtualBox VM... (default) Creating SSH key... (default) Starting the VM... (default) Check network to re-create if needed... (default) Found a new host-only adapter: "vboxnet0" (default) Waiting for an IP... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with boot2docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... Checking connection to Docker... Docker is up and running! To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env default
$ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS default - virtualbox Running tcp://192.168.99.100:2376 v1.12.6
ãªããåºæ¥ã¦ãããVirtualboxã«ããªããåºæ¥ã¦ãã
ãããDockerã³ã³ãããåãããã¹ããªã®ããªï¼
$ docker-machine restart default Restarting "default"... (default) Check network to re-create if needed... (default) Waiting for an IP... Waiting for SSH to be available... Detecting the provisioner... Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
ãããã¼ãããã ï¼
$ eval $(docker-machine env default)
$ docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 78445dd45222: Pull complete Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7 Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker ID: https://cloud.docker.com/ For more examples and ideas, visit: https://docs.docker.com/engine/userguide/
ãã¼ï¼åãããããï¼ï¼
https://docs.docker.com/docker-for-mac/
ã«æ»ã£ã¦
$ docker run -d -p 80:80 --name webserver nginx Unable to find image 'nginx:latest' locally latest: Pulling from library/nginx 75a822cd7888: Pull complete 0aefb9dc4a57: Pull complete 046e44ee6057: Pull complete Digest: sha256:fab482910aae9630c93bd24fc6fcecb9f9f792c24a8974f5e46d8ad625ac2357 Status: Downloaded newer image for nginx:latest ed83898c498d41796a90fe2368e0181d22267562b95e684dc6ff9c88d5de944c
å
¥ã£ãããããã©ãããã°ãããã ããï¼
ãµã³ãã«ã§ã¯http://localhost/ã«ã¢ã¯ã»ã¹ããã£ã¦è¨ã£ã¦ããã©ãã ãã ã£ã
$ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS default - virtualbox Running tcp://192.168.99.100:2376 v1.12.6
ãã®IPããªï¼ã£ã¦ãã¨ã§
http://192.168.99.100
ã«ã¢ã¯ã»ã¹ããã
ãã£ãã¼ï¼
Outlook 2016 for macã§ã«ã¬ã³ãã¼ã«ç¥æ¥ãè¨å®ãããã£ãã²ã¨ã¤ã®æ¹æ³
MSã®Macã«å¯¾ããä¸éå端ãã¯é æ¥ããã§ãã
ã¨ã«ããWindowsçã®ãµãã»ããã®ãµãã»ããã§ããç¡ããOutlook 2016 for macãã«ã¯
ä¼æ¥ã®è¡¨ç¤ºãããæ¹æ³ããªãï¼
æ¬å½ã«ãªãï¼ï¼
ãã«ãã§ç¥æ¥ãä¼æ¥ãæ¤ç´¢ãã¦ãåºã¦ããªãï¼ï¼ï¼
ãã¶ãMSãããæ¹ãç¥ããªã
ãããµãã¹ã¯ãªãã·ã§ã³çãã¤ãã£ã¦ãããªãoffice365ãæãã¯ããªã®ã§
ãã©ã¦ã¶ããOffice365ã®outlook365ã«ã¢ã¯ã»ã¹ãã
ä¸é¨ã«ãã«ã¬ã³ãã¼ã®è¿½å ãã£ã¦ã®ãããã®ã§
ã¯ãªãã¯ããã¨ã念é¡ã®ãä¼æ¥ã®äºå®è¡¨ããããã£ã¨ã§ã¦ããw
ãããããæ¥æ¬ããé¸ã¹ã°è¿½å ãããã®ã§
Macã®outlookã«ãä¼æ¥ã追å ããã¦ããã¯ãã
MS製åã¯ãªããç¡çã»ã»
â
åå³ã£ãããããã人ã®é ã®ãªãã¯ã©ããªã£ã¦ããã®ã ããï¼
å»ã¿æ ¹æ§ã§åºæ¥ã¦ãã®ããªï¼
æ¨æºåºåã¨æ¨æºã¨ã©ã¼åºåããã¡ã¤ã«ã«è½ã¨ã
ã³ãã³ã > ãã¡ã¤ã«å.log 2>&1 &
ãã¤ãå¿ããã»ã»