* create git repository

e.g. github, bitbucket


* command line

Set up your local directory

$ cd /path/to/your/project

$ git init

$ git remote add origin gitURL


Create your first file, commit, and push

$ git add -A

$ git commit -m 'Initial commit'

$ git push -u origin master


* eclipse

Share Project

Team > Share Project




'IDE & Build > Git' 카테고리의 다른 글

git - eclipse commit comment template  (0) 2016.01.03
git - gitignore  (0) 2015.12.16
git - eclipse에서 branch 생성하기  (0) 2015.08.11
Posted by linuxism
,


Re: What is Gnome Screensaver?

On 01/14/2014 03:21 PM, Steven Stern wrote:
> I have it installed, but AFAICT it doesn't do anything, nor is
> there a GUI to config it.
> 
> I've installed xscreensaver because I enjoy a few minutes of eye
> candy before the monitor is turned off.
> 
> 
> Please do not reply telling me you don't use gnome and I'm at fault
> or in some way deficient for using it. Thanks.
> 
> 

GNOME Screensaver is deprecated (as far as I'm aware) in GNOME in
favor of the GNOME Shell lock shield.

That being said, I believe it still exists in the repositories for use
with the Mate desktop, which uses it as both the standard screensaver
and the lock screen.



source - http://comments.gmane.org/gmane.linux.redhat.fedora.general/441228







Make Gnome screen lock after 1 hour, not 15 minutes?


I am using Fedora 20 with Gnome. The screen Power Savings blanks the screen after 15 minutes and then the screen gets automatically locked. I'd like to have the screen blanked and locked after an hour, but the pop-up only goes up to 15 minutes. Is there any way to make it an hour?


Answer

You can set the desired settings in GSettings directly.

Timeout for blanking the screen (seconds; 0 = never):

gsettings set org.gnome.desktop.session idle-delay 3600

Timeout for locking the screen after blanking (seconds; 0 = instant):

gsettings set org.gnome.desktop.screensaver lock-delay 0



source - http://superuser.com/questions/727120/make-gnome-screen-lock-after-1-hour-not-15-minutes








$ loginctl lock-sessions; pm-hibernate






'System > Linux' 카테고리의 다른 글

fedora - fedora.next  (0) 2015.06.12
linux - Add(Remove) a User to a Group (or Second Group) on Linux(usermod)  (0) 2015.06.03
centos -Upgrading PHP 5.3.3 to 5.4.4  (0) 2015.01.25
centos - inittab 5 not working  (0) 2015.01.19
linux - pgrep, pkill  (0) 2014.11.16
Posted by linuxism
,


* Drop all indexes 

> db.collection.dropIndexes();

{

"nIndexesWas" : 2,

"msg" : "non-_id indexes dropped for collection",

"ok" : 1

}


> db.collection.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "db.collection"
}
]



'DB > MongoDB' 카테고리의 다른 글

mongodb - /etc/mongod.conf  (0) 2016.01.03
mongodb - modify /etc/rc.d/init.d/mongod in fedora  (0) 2014.07.20
mongodb - mongodb.service for systemd  (0) 2014.07.20
mongodb - save, insert  (0) 2014.05.08
mongo - v2.6 error  (0) 2014.04.25
Posted by linuxism
,