While adding new user in crowd this error may appear when you accidently attempt to create new user in Active Directory(LDAP).
INFO: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
]; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
]; remaining name 'cn=newtestuser,cn=users,dc=vantage,dc=com'
Solution :
If you dont want to add new user in Active Directory then you can:
Remove 'Add User' permission from Active directory in your crowd application settings:
1) Goto Aplications list in crowd server.
2) Select your application..
3)Select Permissions tab.
4)Select Active directory from the list of directories in your application.
5)Uncheck Add User.
6) Click Update.
Make sure you have other directories in the list with 'Add User' permission.
'pwd' command on windows command prompt(cmd)
On windows command prompt, the command to print current directory is :cd
Contents of pwd.bat file :
This should create a pwd.bat at system32 directory. Now running pwd command should print current directory.
Mapping 'pwd' command to 'cd':
Create a pwd.bat file on C:\Windows\System32 directory that have cd inside:
Create a pwd.bat file on C:\Windows\System32 directory that have cd inside:
Contents of pwd.bat file :
- @echo off
- echo %cd%
This should create a pwd.bat at system32 directory. Now running pwd command should print current directory.
'clear' command on windows command prompt(cmd)
Create a batch file at C:\Windows\System32\clear.bat.
Place cls command inside it. You can do this by running the following command on an elevated Command Prompt:
- echo cls > %WINDIR%\system32\clear.bat
This should create a clear.bat on system32 directory.
VB.NET : Copy or Transfer .m3u playlist
- Private Function createplaylist(ByVal srcPl As String, ByVal destDr As String, ByVal destPl As String)
- Dim fso As New Scripting.FileSystemObject
- Dim fxo As Scripting.TextStream = fso.OpenTextFile(srcPl, Scripting.IOMode.ForReading, False, Scripting.Tristate.TristateUseDefault)
- Dim fxo2 As Scripting.TextStream = fso.OpenTextFile(destPl, Scripting.IOMode.ForWriting, True, Scripting.Tristate.TristateUseDefault)
- Dim s, drv As String
- drv = srcPl(0)
- While (1)
- Try
- s = fxo.ReadLine()
- If s(0) = "#" Then
- fxo2.WriteLine(s)
- Continue While
- Else
- If s(1) <> ":" Then
- s = drv + ":\" + s
- End If
- Try
- fso.CopyFile(s, destdr + "\" + fso.GetFileName(s))
- fxo2.WriteLine(destdr + "\" + fso.GetFileName(s))
- Catch ex As Exception
- End Try
- End If
- Catch ex As Exception
- GoTo xxx
- End Try
- End While
- xxx:
- Return Nothing
- End Function
Download full working example code (*.vbproj)
Be sure to include scrrun.dll (which can be found in c:\windows\system32 directory) in your project.
Getting started with PhoneGap/Cordova with iOS,Your first Helloworld iphone app using PhoneGap/Cordova on iOS
Install homebrew if already not installed:
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Install nodejs npm utility:
- brew install nodejs
Install cordova:
- npm install -g cordova
Create a hello world project:
- cordova create hello com.example.hello HelloWorld
cd into project root dir where config.xml is located:
- cd hello
Add ios platform specific libraries.Run:
- cordova platform add ios
Check add platforms by running:
You should see something like this:
Installed platforms: ios 3.5.0
Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu
Install iphone emulator:
- cordova platforms ls
You should see something like this:
Installed platforms: ios 3.5.0
Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu
Install iphone emulator:
- npm install -g ios-sim
Build helloworld project:
- cordova build
Install/Configure and run HTML pre-render service on CentOS
To serve javascript rendered page as html page to search engine crawlers so that our site becomes SEO friendly, we can use node server like prerender.We configure and run prerender server by using this .sh script:
Right click on document and click view page source.You won't find any javascript there cause the page comes after all javascripts are executed.
Be careful about url syntax.Omitting protocol(http/https) and www will not work.Like these urls will not work:
http://localhost:3000/www.facebook.com
http://localhost:3000/http://facebook.com
Related:-
Making javascript heavy sites crawlable / SEO with Prerender.IO / Getting started with Prerender.io for java sites
Running web application & prerender node server on same machine
- #install nodejs(Run "yum clean all && rpm --rebuilddb && yum update" in case yum cant find them)
- yum install nodejs
- #install nodejs,s npm utility
- yum install npm
- #install Font configuration and customization library
- yum install fontconfig-2.8.0-3.el6.i686
- cd /usr/local/
- #download prerender server
- git clone https://github.com/collectiveip/prerender.git
- cd prerender/
- #build and install
- npm install
- #create runner and log file
- echo "node server.js >> \"prerender_log.txt\"" >> prerender_runner.sh
- #set to run at startup
- echo "nohup /usr/local/prerender/prerender_runner.sh &" >> /etc/rc.local
- #start prerender
- sh prerender_runner.sh &
- #check output from prerender server
- tail -f prerender_log.txt
By default it starts on port 3000.So you will find it at : localhost:3000
To test if it successfully installed simply browse to this url:
http://localhost:3000/http://www.facebook.com
Right click on document and click view page source.You won't find any javascript there cause the page comes after all javascripts are executed.
Be careful about url syntax.Omitting protocol(http/https) and www will not work.Like these urls will not work:
http://localhost:3000/www.facebook.com
http://localhost:3000/http://facebook.com
Related:-
Making javascript heavy sites crawlable / SEO with Prerender.IO / Getting started with Prerender.io for java sites
Running web application & prerender node server on same machine