//create git
git config --global user.name "Your Name"
git config --global user.name "GraySH"
git config --global user.email res18zt5@gmail.com
git config --list
git remote -v
//set remote address for git
git remote add origin git@github.com:GraySH/CSH_CODE_WORRIOR.git
git remote set-url origin git@github.com:GraySH/CSH_CODE_WORRIOR.git
//commands
git status
git branch
//Adding files
git add *
git commit -m "Version 000"
//replace local changes
git fetch origin
git reset --hard origin/master
##
git checkout -- filename
//create branch local
git checkout -b V_000
//delete branch local
git branch -d the_local_branch
//adding branch to remote server
git push remote-name branch-name
git push origin V_001
//Delete branch from remote server
git push remote-name :branch-name
git push origin :V_000
2015년 3월 8일 일요일
2014년 12월 20일 토요일
2014년 11월 7일 금요일
grub windows 7 and 8 dual boot.
http://askubuntu.com/questions/135272/how-to-boot-into-windows-7-when-grub-is-installed-in-the-windows-partition
Currently your
If the above work-around succeeds in loading the Windows 7 boot menu, then you could make it semi-persistent by
I think ... but am not 100% sure ... that the Windows recovery command
Note 2:
While searching for other things, I ran across two other questions on AskUbuntu which are related to your problem.
I'm not sure how much help these questions provide. The answer to the second question was to use the command
But the second question insists that
(Beats the heck out of me as to what might be going on there.)
A possible work-around to boot Windows 7
Below is a suggestion for editing your GRUB boot commands which may allow you to boot Windows 7. I am not sure this will work, but it seems worth trying.Currently your
grub.cfg uses the GRUB boot commands below to boot Windows 7.menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 1EA0019AA0017A13
chainloader +1
}
I am suggesting you try changing this and use these commands instead.menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 1EA0019AA0017A13
ntldr ($root)/bootmgr
}
Here are the steps to do this. - Boot your system to the GRUB menu.
- Select (highlight) the GRUB boot menu entry
Windows 7 (loader) (on /dev/sda1). - Press e to edit the GRUB boot commands for Windows 7.
- Make two changes to this list of commands as illustrated in the
menuentryabove.- Add the command
insmod ntldr - Change the command
chainloader +1
tontldr ($root)/bootmgr
- Add the command
- Press either Ctrl+X or F10 to boot using these edited commands.
If the above work-around succeeds in loading the Windows 7 boot menu, then you could make it semi-persistent by
- Using
sudoto edit the file/etc/grub.d/40_customand add the second, modifiedmenuentryshown above. (If you do this, I'd also suggest you change the title of this "custom" entry.) - Run the command
sudo update-grubto update/boot/grub/grub.cfgto include your customized entry. (It will be on the bottom of the GRUB menu when you boot.)
I think ... but am not 100% sure ... that the Windows recovery command
bootsect can be used to do this. If you want to risk it, one possible way to do this is outlined below.- When booting Windows, press F8 to bring up the
Advanced Boot Optionsmenu. - Select the
Repair Your Computerentry. - Walk through the next windows until you reach
System Recovery Options. - Select
Command Prompt - Run the command
bootsect /nt60 C:
Note 2:
While searching for other things, I ran across two other questions on AskUbuntu which are related to your problem.
I'm not sure how much help these questions provide. The answer to the second question was to use the command
bootrec /fixboot to restore the VBR for the Windows partition. My understanding from that question was that using the bootrec /fixboot command solved the problem.But the second question insists that
bootrec /fixboot did not solve the problem.(Beats the heck out of me as to what might be going on there.)
2014년 9월 20일 토요일
extend trial period of windows 8.1 enterprise
Re: 'Windows is in notification mode' message
Hi, Actually I have found another solution : just go to cmd.exe, open as
admistrator and then type in : "slmgr -rearm" and restart computer.
It give another delay, and it is repeatable to inifnity.
I'll try your way too, thought. Thanks!
It give another delay, and it is repeatable to inifnity.
I'll try your way too, thought. Thanks!
2014년 8월 28일 목요일
How to freeze date/time in VMWARE
https://forums.virtualbox.org/viewtopic.php?t=11234
this can be achived by editing the *.vmx file and adding:
http://www.mbari.org/staff/rich/utccalc.htm
How to freeze date/time in VirtualBox?
this can be achived by editing the *.vmx file and adding:
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"
rtc.startTime = 1199206860
time.synchronize.tools.startup = FALSE
UTC seconds calculator
http://www.mbari.org/staff/rich/utccalc.htm
2014년 8월 9일 토요일
Keep video full screen with multiple monitors (Firefox)
2012-11-24: Browser tip: Keep video full screen with multiple monitors (Firefox)
Posted at 2012-11-24 22:46:28 by SHD
If you have multiple monitors and use Firefox to view a HTML5 video (using the
tag, such as in the YouTube HTML5 player) or perhaps have a WebGL game
that runs full-screen, you will find that the moment you click away to
another window on the other monitor, Firefox leaves full-screen mode.
This makes it completely useless for watching video while doing
something else. There is a fix for it.

In Firefox, go to about:config, find a property called full-screen-api.exit-on-deactivate and set it to false (which you can do by doubleclicking on it). No need to restart the browser. It'll keep your full-screen content full-screen. Quite why this isn't the default is beyond me. Of course, to get out of full-screen mode, just press Esc.
Source: Bugzilla Bug #724554.
In Firefox, go to about:config, find a property called full-screen-api.exit-on-deactivate and set it to false (which you can do by doubleclicking on it). No need to restart the browser. It'll keep your full-screen content full-screen. Quite why this isn't the default is beyond me. Of course, to get out of full-screen mode, just press Esc.
Source: Bugzilla Bug #724554.
Tags:
Comments
Posted at 2013-01-22 15:29:46 by Brad
Nice find and huge thanks.
Cheers.
피드 구독하기:
글 (Atom)
sublime close without confirmation
Close without confirm Yes, you can just write a plugin to set the view as scratch and close it. Then create a keybinding for that c...
-
http://blog.wensheng.com/2007/05/putty-utf8-and-chinese.html Putty setting. open putty -> window -> Translation -> remote charac...
-
http://askubuntu.com/questions/21934/how-to-change-the-binding-of-windows-key-which-runs-unitys-dash just installed Ubuntu 11.04 and I w...
-
http://unix.stackexchange.com/questions/68489/command-to-zip-multiple-directories-into-individual-zip-files for i in */; do zip -r "$...