Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
Unix, Linux, JBoss, Websphere, Ant, Python, Oracle DB, Arduino, Raspberry Pi.
10 Nisan 2013 Çarşamba
Windows'ta komut satırından Proxy etkinleştirme
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="10.12.20.230:8080"
"ProxyOverride"="192.168.*;10.*"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="10.12.20.230:8080"
"ProxyOverride"="192.168.*;10.*"
9 Nisan 2013 Salı
Ant - Delete, dizin silme
<target name="clean-folders">
<delete dir="${silinecekdizin}" includeemptydirs="true" />
</target>
<delete dir="${silinecekdizin}" includeemptydirs="true" />
</target>
Ant - lokale scp
<target name="dummy"> <scp keyfile="${keyfile.location}"
file="user@hostname:/data/allatori_opdir/ObfuscationTest/app-jar-out/*"
trust="true" failonerror="false"
todir="/data/tarTemp/app-jars" >
<fileset>
<include name="*"/>
</fileset>
</scp>
</target>
todir="/data/tarTemp/app-jars" >
<fileset>
<include name="*"/>
</fileset>
</scp>
</target>
Ant - Lokalden scp
<target name="dummy">
<scp keyfile="${keyfile.location}" trust="true" failonerror="false"
todir="${app.server.user}@${app.server.ip}:${cms.folder.dest}/${page.postfix}" >
<fileset dir="${temp.deploy.dir}/${backup.page.dir}">
<include name="*"/>
</fileset>
</scp>
</target>
<scp keyfile="${keyfile.location}" trust="true" failonerror="false"
todir="${app.server.user}@${app.server.ip}:${cms.folder.dest}/${page.postfix}" >
<fileset dir="${temp.deploy.dir}/${backup.page.dir}">
<include name="*"/>
</fileset>
</scp>
</target>
Ant - sshexec
<sshexec host="${app.server.ip}"
username="${app.server.user}"
keyfile="${keyfile.location}"
command="${jboss.stop.cmd}"
timeout="20000"
trust="true"
failonerror="false" />
username="${app.server.user}"
keyfile="${keyfile.location}"
command="${jboss.stop.cmd}"
timeout="20000"
trust="true"
failonerror="false" />
8 Nisan 2013 Pazartesi
7 Nisan 2013 Pazar
Unix - Grep'te grepi almamak
http://www.cyberciti.biz/tips/grepping-ps-output-without-getting-grep.html
4 Nisan 2013 Perşembe
Raspberry - Boot'ta ssh'ı açmak
ssh'ı kurmak
sudo apt-get install ssh
ssh dinlemeye başlamak
sudo /etc/init.d/ssh start
tek sefere mahsus boot ile dinlemeyi öğretmek
sudo update-rc.d ssh defaults
reboot
sudo reboot
3 Nisan 2013 Çarşamba
Svn mkdir - Repository üzerinde komut satırından dizin oluşturma
svn mkdir https://svn.cs.com.tr/svn/release/ALFA/ --parents --editor-cmd vi
2 Nisan 2013 Salı
Raspberry - SD boot sürücüsü oluşturmak / yedeklemek
http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi
Java cacerts sertifikasının görüntülenmesi
C:\j2sdk1.4.2_04\jre\bin>keytool -list -keystore ./cacerts Enter keystore password: changeit
(default şifre: changeit)
Kaydol:
Kayıtlar (Atom)