2016/02/29
X509Certificate utils class
Download and add reference to BouncyCastle library: http://www.bouncycastle.org/csharp/
2016/02/28
2016/02/26
2016/02/21
How to force prestashop see all css from theme and moduls running
Change
- /themes/.htaccess
- /modules/.htaccess
from
<FilesMatch "\.tpl$">
Deny from all
</FilesMatch>
to
#<FilesMatch "\.tpl$">
#Deny from all
#</FilesMatch>
- /themes/.htaccess
- /modules/.htaccess
from
<FilesMatch "\.tpl$">
Deny from all
</FilesMatch>
to
#<FilesMatch "\.tpl$">
#Deny from all
#</FilesMatch>
2016/02/14
How to generate c# classes from xml ?
xsd is available in systems with .net installed.
Usually here: C:\Program Files (x86)\Microsoft SDKs\Windows\
fg. C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\xsd.exe
D:\temp>xsd test.xml
D:\temp>xsd test.xsd /classes
Solution found here: http://stackoverflow.com/a/4203551
Sometimes you will have to change generated cs files fg change double dimension array type [][] to []
Usually here: C:\Program Files (x86)\Microsoft SDKs\Windows\
fg. C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\xsd.exe
D:\temp>xsd test.xml
D:\temp>xsd test.xsd /classes
Solution found here: http://stackoverflow.com/a/4203551
Sometimes you will have to change generated cs files fg change double dimension array type [][] to []
2016/02/13
2016/02/11
Resharper shortcuts
Shortcut | Meaning |
---|---|
ctrl + shift + v | Recent clipboard items |
alt+end | Ctrl + click on class, method -> derived symbols | Navigate -> Derived symbosl | Show all object that inherit from class or override methods |
2016/02/10
How to compare sql server databases structure and data ?
- Install SQL Server Data Tools component https://msdn.microsoft.com/en-us/library/hh272686(v=vs.103).aspx in your Visual Studio version.
- Show Sql Server Object Explorer in Visual Studio - View -> SQL Server Object Explorer
- Connect to server where one of your db is maintained in SQL Server Object Explorer Window
- Right click on the database and choose "Schema compare.." or "Data comparison"
How to read \ write to windows registry in c# ?
Run application with administartor privilages.
2016/02/04
2016/02/03
How to list files that where modyfied in directory days ago
find . -type f -mtime -1 -exec ls -l {} \;
2016/02/01
How to connect to other comp with remote destctop in Windows8 ?
Search comp with prase: mstsc.
Run app: mstsc.exe.
Give proper credentials.
Subscribe to:
Posts (Atom)