recover

Recover admin password and email Odoo server

拥有回忆 提交于 2019-12-03 13:28:11
Months ago, I installed an Odoo server and it worked perfectly ! Problem is that I forgot the identification (email/pass) for the admin, wich is real bad. After uninstalling the server and reinstalling it I found out that the database was not wiped. So it didn't change at all ! Please, can anyone help me finding the admin's email and password ? I'm not very familiar with progresql but res_users displays empty passwords: You may change admin password using progresql from the terminal. You just need to do like these odoo@odedra:~$ psql testing_db psql (9.1.14) Type "help" for help. testing_db=#

How to locate and recover a deleted file

偶尔善良 提交于 2019-12-03 09:48:25
At some stage in the past I had a "foo.txt" which was under Mercurial source control. However it has now been deleted. How can I recover the file when I don't know the last Mercurial revision in which the file was deleted? If you know the exact path for the file, you can do something like : hg log -l 1 path/to/foo.txt This will show you the last changeset where foo.txt was modified, so you will be able to restore the file from this revision. Once you have the right revision, you can simply do : hg revert -r <my revision> path/to/foo.txt hg commit -m "add the foo.txt file again" Using revsets:

WCF ChannelFactory and channels - caching, reusing, closing and recovery

耗尽温柔 提交于 2019-12-03 07:26:18
问题 I have the following planned architecture for my WCF client library: using ChannelFactory instead of svcutil generated proxies because I need more control and also I want to keep the client in a separate assembly and avoid regenerating when my WCF service changes need to apply a behavior with a message inspector to my WCF endpoint, so each channel is able to send its own authentication token my client library will be used from a MVC front-end, so I'll have to think about possible threading

Need to recover older $PATH setting

浪子不回头ぞ 提交于 2019-12-03 03:10:51
I have just installed an app which overwrote my $PATH variable... so now, a bunch of stuff will not work. While I have a full backup, I am hoping that there is an easier approach than to restore, get the PATH, the "roll it forward" again. Is there a location in the windows registry (or anywhere else) that stores an older $PATH setting? Thanks, GS user1009073 If anyone is interested, I found the answer... using REGEDIT, it is under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment or HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\Environment In my case

git deleted everything, how to recover files and folders

孤者浪人 提交于 2019-12-01 02:09:26
问题 It was the first time that I was using git, I wanted to import an existing project into github and everything was deleted. After search for an answer I think git deleted the files after git pull, I'm trying to recover the files and folders but I can't find how to do it. I did exactly the next: jesus@jesus-K52F:~/Escritorio/Django/Ujixy$ git init Initialized empty Git repository in /home/jesus/Escritorio/Django/Ujixy/.git/ jesus@jesus-K52F:~/Escritorio/Django/Ujixy$ git add . jesus@jesus-K52F:

Can deleted files that are added but not committed in Git be recovered? [duplicate]

雨燕双飞 提交于 2019-11-30 21:40:46
This question already has an answer here: Recovering added file after doing git reset --hard HEAD^ 5 answers I am new to git, and I just made a stupid mistake, that I deleted some important files by "rm *" command. However, I did use "git add" to add those files, but not commit. the deletion is not added yet. So is there any way to recover these deleted files. Any suggestions or answers would be appreciated. Thanks. Since the files are already in your staging area (index), simply commit them using git commit without any arguments. This will commit the contents of the index regardless of the

Is it possible to get the deleted file from Eclipse workspace?

自古美人都是妖i 提交于 2019-11-30 12:21:08
I have accidentally deleted a Java file from my Eclipse workspace. Can i recover that? It's not in the recycle bin. karlphillip Check this page: How to restore deleted files in Eclipse Suppose you have deleted any file by mistake. No need to worry. Deleted files can be restored from the history. How to Do : Right click on the project and open the context menu. And go for the menu item "Restore from Local History...". I think local history can help you. Just recreate the same file in same location. Right click > Replace With > Local History... . Select the appropriate file data from history.

Recover postgreSQL databases from raw physical files

扶醉桌前 提交于 2019-11-29 21:31:37
I have the following problem and I need to know if there´s a way to fix it. I have a client who was cheap enough to decline buying a backup plan for his postgreSQL databases on the main system that runs his company and as I thought it would happen some day, some OS files crashed during a blackout and the OS needs to be reinstalled. This client didn't have any backups of the databases but I managed to save the PostgreSQL main directory. I read that the databases are stored somehow inside the data directory of the postgres main folder. My question is: Is there any way to recover the databases

Is it possible to get the deleted file from Eclipse workspace?

为君一笑 提交于 2019-11-29 17:42:21
问题 I have accidentally deleted a Java file from my Eclipse workspace. Can i recover that? It's not in the recycle bin. 回答1: Check this page: How to restore deleted files in Eclipse Suppose you have deleted any file by mistake. No need to worry. Deleted files can be restored from the history. How to Do : Right click on the project and open the context menu. And go for the menu item "Restore from Local History...". 回答2: I think local history can help you. 回答3: Just recreate the same file in same

Git recover uncommitted changes

瘦欲@ 提交于 2019-11-29 10:06:04
I had a lot of local changes. I just accidentally did git merge another_branch git reset --hard HEAD^ on a lot of work. :( with the intention I didn't want the merged changes in here. How do I recover the original state? No, the local changes were never committed/stashed. No way? If the changes had never been committed/stashed/staged, then you're out of luck. If they have, then you should be able to git your changes back by looking for them in git reflog . Foy anyone who is facing this problem in ide's, there is a solution. Search For the ide editor history files of your ide. I had a problem