ubuntu-14.04

Can't start Idea 14.1.1

我们两清 提交于 2019-12-10 16:38:39
问题 I have installed Intellij Idea 14.1.1 After setting up by wizard screen on first run then error caught: Internal error. Please report to https://youtrack.jetbrains.com java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'org.intellij.images.fileTypes.impl.ImageFileTypeManagerImpl' at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) at java.awt.event

Installing Polymer through bower freezes

别说谁变了你拦得住时间么 提交于 2019-12-10 15:07:50
问题 I follow the instructions of the official page to install bower, but when I reach to the command line: bower install --save Polymer/core-elements bower get stuck and outputs nothing for a long while, in the end I get a "out of memory" error. What is wrong? I am using Ubuntu 14.04 回答1: There's a cyclical issue with Bower that's been fixed on master but hasn't made it to a release yet. https://github.com/bower/bower/issues/1169 回答2: according to http://github.com/bower/bower/issues/1324 there

Rbenv ruby 2.2.2 install fail Ubuntu 14.04

依然范特西╮ 提交于 2019-12-10 14:34:25
问题 I'm trying install ruby 2.2.2 with rbenv on server Ubuntu 14.04 with ssh. Error: Installing ruby-2.2.2... BUILD FAILED (Ubuntu 14.04 using ruby-build 20150928-2-g717a54c) Inspect or clean up the working tree at /tmp/ruby-build.20151021225325.5445 Results logged to /tmp/ruby-build.20151021225325.5445.log Last 10 log lines: 97% [943/967] sparc.c 97% [944/967] sprintf.c 97% [945/967] st.c 97% [946/967] strftime.c 97% [947/967] string.c 98% [948/967] struct.c 98% [949/967] symbol.c 98% [950/967]

How to resolve the error 'fe_sendauth: no password supplied' in Rails using PostgreSQL?

╄→гoц情女王★ 提交于 2019-12-10 13:04:49
问题 I've tried to create my Rails app with postgresql database, but when I started rails server , I got this error: fe_sendauth: no password supplied Here're my actions step by step: $ sudo apt-get install postgresql postgresql-contrib $ gem install pg $ rails new timetracker --database=postgresql --skip-unit-test My database.yml file looks like this: default: &default adapter: postgresql encoding: unicode pool: 5 host: localhost username: postgres password: development: <<: *default database:

How do I switch between different versions of Julia (specifically between v0.3 and v0.4 on Ubuntu)?

允我心安 提交于 2019-12-10 13:00:49
问题 I am working on some projects using Julia v0.3. However, I'd like to test my code in both v0.3 and v0.4 (since some of the people that are going to be using it are already using v0.4). I'm running Ubuntu 14.04 and have installed Julia using apt-get. I know v0.4 is available through the PPA julianightlies, but if I add this, v0.3 is replaced. Is there a way I can install and quickly switch between both versions for testing purposes? 回答1: You can install different versions of Julia in different

not able to clone repo via ssh (gitea)

回眸只為那壹抹淺笑 提交于 2019-12-10 11:41:01
问题 I've tried to deploy the 'gitea' on my virtual machine. gitea version is: $ ./gitea -v Gitea version 1.3.2 built with: bindata, sqlite os: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty gitea config: SSH_DOMAIN = <ip address> DOMAIN = <ip address> HTTP_PORT = 3000 ROOT_URL = https://<ip address>/ DISABLE_SSH = false SSH_PORT = 2222 LFS_START_SERVER = true LFS_CONTENT_PATH = /home/git/data/lfs LFS_JWT_SECRET

aws ec2: how to know public ip from inside ubuntu instance [closed]

旧时模样 提交于 2019-12-10 11:25:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I created a amazon-web-services instance and used the Ubuntu 14.04 amazon machine image. now I can ssh into that machine and use the shell to run different commands. my question is now, how I can find out the public IP from that machine from inside that ssh-session? I tried using netstat and ifconfig but cannot

How to send big chunk of data in one UDP packet?

百般思念 提交于 2019-12-10 11:07:12
问题 trying to send UDP packets using Netcat nc -u 127.0.0.1 1234 And using tcpdump to see actual packets tcpdump -i any -vv -n udp dst port 1234 In theory the UDP packet size can be about 64K, however when I'm sending a message with size bigger than 2048 the Netcat splits the data and sends in 2 separate UDP packets. For example if I send the following long string

error: XDG_RUNTIME_DIR not set in the environment. Gtk-WARNING **: cannot open display:

纵然是瞬间 提交于 2019-12-10 10:07:24
问题 I used to open text files with sublime, and for Read-only files, I used to do : sudo sublime . But now just suddenly the sudo sublime command gives the following error : (sublime:3931): Gtk-WARNING **: cannot open display: while sublime command is working fine. I tried the same with gedit , and the same thing happened, with the error with gedit being shown : error: XDG_RUNTIME_DIR not set in the environment. (gedit:3933): Gtk-WARNING **: cannot open display: I installed gtk , and tried gksudo

Unable to install pip in ubuntu?

浪子不回头ぞ 提交于 2019-12-10 08:13:32
问题 I tried to install pip several times but couldn't. This is how my terminal looks like while trying to install pip: aman@aman-HP-Pavilion-Notebook:~$ sudo apt-get install python-pip Reading package lists... Done Building dependency tree Reading state information... Done python-pip is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. aman@aman-HP-Pavilion-Notebook:~$ pip The program 'pip' is currently not installed. You can install it by typing: sudo apt