Showing posts with label or. Show all posts
Showing posts with label or. Show all posts

Saturday, September 9, 2017

Turn On One or More Computers Remotely Through WakeOnLAN

Turn On One or More Computers Remotely Through WakeOnLAN


Due to Surfing and Internet Research, I found out that you can really shut it down other computer by using LAN or Internet. PowerOff is one of the powerful tools in performing this kind of job. So, I research again and find out the best software I will use to turn it back on other computers by using my computer as a remote. And I found it, from this small and user friendly application called �WOL� (Wake-on-LAN). WOL is only 32KB size but it can Turn On your Pc in one click just Paste the right Mac Address of PC you want to turn On.

In finding Mac address the remote computer must be ONLINE to find and trace the right Mac Address. Click the link to download the software in which you can find the right Mac address of your Workgroup or LAN. Download �WakeOnLAN[CodeCatcher]� now. I hope this can help. Have Fun..Thanks...


Note: Before you continue and try my all stuff, I warn you to make a backup all of your data file first in case of errors and bugs you may be encounter. This Site is not liable of damage due to insufficient understanding. Like as I always said �Use at your on Risk�. Thanks.

Download WakeOnLAN[CodeCatcher]: Here


More Tags: Angry Bird, Blogger, Fate , Plants Vs Zombie, Special Force, Point Blank, Ai Maps, Deep Freeze UnFreezer, Ninja Saga, Deep Freeze, Samsung SGH, Guitar Pro, USB XP Install, Yahoo 443 Problem, Turtle Odyssey, GTA San-Andreas, PlayStation, Tips Tweaks Tricks, HTML, Facebook, Animated JPG, Counter-Strike, USB Windows Format, Screensaver, USB Security.

download file now

Read more »

Saturday, September 2, 2017

UES 357 Using IP address or domain name to access UES gadgets

UES 357 Using IP address or domain name to access UES gadgets


You may get the following error and your gadgets wont work as expected if you try to use an IP address/domain name instead of the default URL with https.

Eg :-

Default :
https://localhost:9443/portal/gadgets/intro-gadget-2/intro-gadget-2.xml

Updated :
https://10.100.0.128:9443/portal/gadgets/intro-gadget-2/intro-gadget-2.xml
or
https://ues.udara.me/portal/gadgets/intro-gadget-2/intro-gadget-2.xml
Detailed error: 500 javax.net.ssl.SSLException: hostname in certificate didnt match: <10.100.1.128> != <localhost> shindig.js:9
By default all WSO2 products shipped with a self signed certificate for the domain localhost, to overcome this issue you have to create and add a certificate for your IP/Domain name.
 1. Lets assume you need to add a self signed certificate for your IP address(10.100.0.128), run following command and provide information when required, here Im using wso2carbon as my keystore password so I dont have to do any configuration changes.

keytool -genkey -alias ues -keyalg RSA -keystore  ues.jks -keysize 2048

Note :- I have created ues.jks within /home/udara/key/ directory and you have to provide your IP or domain name as your first and last name (CN).
udara@thinkPad:~/key$ keytool -genkey -alias ues -keyalg RSA -keystore  ues.jks -keysize 2048
Enter keystore password: wso2carbon
Re-enter new password: wso2carbon
What is your first and last name?
  [Unknown]:  10.100.0.128
What is the name of your organizational unit?
  [Unknown]: 
What is the name of your organization?
  [Unknown]:  WSO2
What is the name of your City or Locality?
  [Unknown]:  Mountain View
What is the name of your State or Province?
  [Unknown]:  CA
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=10.100.0.128, OU=Unknown, O=WSO2, L=Mountain View, ST=CA, C=US correct?
  [no]:  yes

Enter key password for <wso2carbon>
    (RETURN if same as keystore password):  wso2carbon
Re-enter new password: wso2carbon

2.Take a back-up of the current <UES_HOME>/repository/resources/security/ directory.

3.Run following command within <UES_HOME>/repository/resources/security/ directory to import your certificate into wso2carbon.jks.

Since I have created my ues.jks inside /home/udara/key/ directory in step-1,
udara@thinkPad:/wso2/support/workspace/wso2ues-1.0.0/repository/resources/security$ keytool -importkeystore -srckeystore /home/udara/key/ues.jks -destkeystore wso2carbon.jks -srcstoretype jks -deststoretype jks -srcstorepass wso2carbon -deststorepass wso2carbon
Entry for alias ues successfully imported.
Import command completed:  1 entries successfully imported, 0 entries failed or cancelled
4. Since we cant have two different private keys, lets delete the previous one.
udara@thinkPad:/wso2/support/workspace/wso2ues-1.0.0/repository/resources/security$ keytool -delete -alias wso2carbon -keystore wso2carbon.jks -storepass wso2carbon
5.  Lets export our public key from wso2carbon.jks and import it in to the client-truststore.jks.

I) Export public key from wso2carbon.jks as test.cer.
udara@thinkPad:/wso2/support/workspace/wso2ues-1.0.0/repository/resources/security$ keytool -export -keystore ues.jks -alias ues -file test.cer
Enter keystore password: 
Certificate stored in file <test.cer>
II) Import public certificate test.cer into client-truststore.jks.
udara@thinkPad:/wso2/support/workspace/wso2ues-1.0.0/repository/resources/security$ keytool -import -alias ues -file test.cer -keystore client-truststore.jks
Enter keystore password: 
Owner: CN=10.100.0.128, OU=Unknown, O=WSO2, L=Mountain View, ST=CA, C=US
Issuer: CN=10.100.0.128, OU=Unknown, O=WSO2, L=Mountain View, ST=CA, C=US
Serial number: 4a460fad
Valid from: Tue Apr 08 11:49:26 IST 2014 until: Mon Jul 07 11:49:26 IST 2014
Certificate fingerprints:
     MD5:  54:CD:B8:CD:7D:3D:B5:29:2B:A4:45:61:18:C9:5A:59
     SHA1: 53:03:B5:6D:32:D2:07:33:0D:49:7A:37:32:C7:13:DA:4E:29:60:28
     SHA256: C5:23:6D:09:F3:97:45:3A:F8:19:A1:F9:14:18:DE:BC:F3:C7:C9:C1:FF:0E:D9:E6:94:EF:DA:A3:6D:79:36:B9
     Signature algorithm name: SHA256withRSA
     Version: 3

Extensions:

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 92 70 EA 1B 80 6B F8 07   84 0A D9 B0 FE 52 A3 41  .p...k.......R.A
0010: C0 DA B0 17                                        ....
]
]

Trust this certificate? [no]:  yes
Certificate was added to keystore
6. Since we have updated the key store alias from wso2carbon to ues, we have to modify this in few configs to make SSO works.

Update <UES_HOME>repository/conf/carbon.xml,
<KeyStore>
            <!-- Keystore file location-->
            <Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location>
            <!-- Keystore type (JKS/PKCS12 etc.)-->
            <Type>JKS</Type>
            <!-- Keystore password-->
            <Password>wso2carbon</Password>
            <!-- Private Key alias-->
            <KeyAlias>ues</KeyAlias>
            <!-- Private Key password-->
            <KeyPassword>wso2carbon</KeyPassword>
 </KeyStore>
If we take portal jaggery app(<UES_HOME>/repository/deployment/server/jaggeryapps/portal),

Update ssoConfiguration section in portal.json as follows,
    "ssoConfiguration" : {
        "enabled" : true,
        "issuer" : "portal",
        "identityProviderURL" : "%https.host%/sso/samlsso.jag",
        "keyStorePassword" : "wso2carbon",
        "identityAlias" : "ues",
        "responseSigningEnabled" : "true",
        "keyStoreName" : "/repository/resources/security/wso2carbon.jks",
        "storeAcs" : "%https.host%/store/sso.jag",
        "portalAcs" : "%https.host%/portal/sso.jag",
        "appAcsHost" : "%https.host%"
    }
You have to made the above update in all other jaggery apps within the  <UES_HOME>/repository/deployment/server/jaggeryapps/ directory.

Update ssoConfiguration section in portal/dashboard-template/files/login.jag.hbs, but in the lastest UES distribution you have to make this change within portal/dashboard-template/files/config.json.hbs.
        ssoConfiguration = {
            "enabled": true,
            "issuer": "{{appName}}",
            "identityProviderURL": config.ssoConfiguration.identityProviderURL,
            "keyStorePassword": "wso2carbon",
            "identityAlias": "ues",
            "responseSigningEnabled": "true",
            "keyStoreName": "/repository/resources/security/wso2carbon.jks"
        }

7. Restart WSO2 UES server.

If you browse Home>Configure>Key Stores>View Key Store, you can see the certificate of the private key section as follows.


By providing your IP address or domain name as the first and last name in step 1, you can overcome this host-name mismatch issue while loading UES gadgets.

You can refer this article[1] which explains how to create and add CA signed certificate to any Carbon product.

[1] . http://wso2.com/library/knowledge-base/2011/08/adding-ca-certificate-authority-signed-certificate-wso2-products/

download file now

Read more »

Thursday, August 24, 2017

ubuntu 9 10 Failed to execute child process testparm No such file or directory

ubuntu 9 10 Failed to execute child process testparm No such file or directory


when i want to share my folder between ubuntu 9.10 and window 7 i got this message.
"Failed to execute child process "testparm" (No such file or directory)"



all you need to do to resolved this just simply upgrade your samba
*update=contact the server to check all the package are sync with the server
  upgrade=make sure all package version are latest and up to date

type = sudo apt-get upgrade samba


download file now

Read more »

Friday, August 18, 2017

Ubuntu 12 04 12 10 rcconf needs dialog or whiptail

Ubuntu 12 04 12 10 rcconf needs dialog or whiptail


RCCONF is a TUI (text user interface) utility that lets you configure the services and daemons that are launched at system start-up.

When you install it on Ubuntu 12.04 / 12.10 and then launch, it returns the following error:

"rcconf needs dialog or whiptail"

Dialog and whiptail are utilities to display user-friendly dialog boxes from shell scripts. Despite the fact that whiptail comes preinstalled with the system, rcconf doesnt run.

Solution 1:

install dialog:

sudo apt-get install dialog

Now launch a terminal, and run rcconf.

Solution 2:

Whiptail is already there, but not in the folder the apps try to launch it from (see the comment by Viajemotu below). All you need to do is to create a symlink to the app in the /usr/bin directory. To do so, execute:

$ sudo ln -s /bin/whiptail /usr/bin/whiptail

After this, run rcconf.

download file now

Read more »

Thursday, August 17, 2017

Ubuntu root密� �� �� or 切换用户

Ubuntu root密� �� �� or 切换用户


Ubuntu 8.10
?????????root????????????????? ?????
$ sudo passwd root
??????root?????------------------------------------------------------------------------------------------------------------------------------------------------------
ubuntu????

root ?????????? ????? ?????? ?????????? GID ???????????????

????????????
/etc/passwd ??? ??? UID ??GID ?? $HOME?? ??Shell/etc/shadow ??? ????? ?????? ????/etc/group ??? ??? GID ????/etc/gshadow ????????????/etc/sudoers ??? ???? ??[/pre]???? pwconv ?????????? /etc/passwd ????????? /etc/shadow ??

su [???]
?????????????root??????????????? -f ???????????-l ????-m ?-p ???????-c ?????????????

sudo [??]
????????????????root????????????????? -s ???root shell-i ???root shell?????-u ???????-l ???????

passwd [???]
??????

-d ????-l ????-e ????????????????-S ????????-x ???????????-n ???????????-s ????Shell-f ??????

???
$passwdChanging password for user(current) UNIX password: ???Enter new UNIX password: ???Retype new UNIX password: ?????[/pre

chsh [-s ] [???]
????Shell

?? USB
?/proc/bus/usb?????USB????????????? USB ??????????? /proc/bus/usb?
# mount -t usbfs none /proc/bus/usb
???????????? USB ???????????????? /etc/fstab ?? /proc ?????? none /proc/bus/usb usbdevfs defaults 0 0

??usb??
sudo mount /dev/sdb1 /mnt/usb/ -t vfat -o iocharset=gb2312 #??gb2312

????***********************

Ubuntu?????????? /etc/network/interfaces????????dhcp??????
# The primary network interface
auto eth0
iface eth0 inet dhcp

??????
1)?? /etc/network/interfaces =?vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.183
netmask 255.255.255.0
gateway 192.168.1.1

2)?? /etc/resolv.conf???dns
nameserver 110.120.119.114
nameserver 110.120.119.114

------------------------------------------------------------------------------------------------------------------------------------------------------
?????
????Grub
$ grub
$ find /boot/grub/stage1
(hd0,*)
$ root (hd0,*)
$ setup (hd0,*)
$ quit
$ sudo dd if=/dev/sda(*+1) of=ubuntu.lnx bs=512 count=1
?ubuntu.lnx?????Windows????????C:???boot.ini???C:ubuntu.lnx="Ubuntu 7.10"?

???????????
??�>????�>???�>????�>??��>??�>tw.archive.ubuntu.com�>?????�>??�>????
??�>????�>?????Language Support?�>?????�>Chinese�>??�>?? $ sudo apt-get update
$ sudo apt-get upgrade

????nVidia????
??NVIDIA-Linux-x86-100.14.19-pkg1.run?????????ctrl+alt+F1~F6????
$ sudo /etc/init.d/gdm stop
$ sudo apt-get install build-essential #????libc6-dev
$ sudo sh NVIDIA-Linux-x86-100.14.19-pkg1.run
$ sudo /etc/init.d/gdm start

??????
??????????/home/(user_name)/fonts?
$ cd /usr/share/fonts/
$ ln -s /home/(user_name)/fonts myfonts/
#?? $ mkdir myfonts
# $ cp /home/(user_name)/fonts/* myfonts/
$ cd myfonts/
$ sudo mkfontscale
$ sudo mkfontdir
$ fc-cache
??�>???�>??�>?????????

?????SCIM
$ sudo im-switch -s scim -z default
$ sudo apt-get install scim-qtimm
$ sudo apt-get install scim scim-pinyin scim-tables-zh im-switch scim-qtimm scim-bridge scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-agent
$ gksu gedit /etc/X11/xinit/xinput.d/scim
???? GTK_IM_MODULE=scim ??? GTK_IM_MODULE="scim-bridge"?
????scim????????????scim???>?????>?????????????? ??????scim??->gtk->????????????

??NTFS??????
UBUNTU7.10?????NTFS?????????????NTFS??????????????????????????
$ sudo apt-get -y �force-yes install ntfs-3g
$ sudo apt-get -y �force-yes install ntfs-config
$ [ -x /usr/bin/ntfs-3g ] && sudo ln -sf /usr/bin/ntfs-3g /sbin/mount.ntfs
$ gksudo ntfs-config &
$ set +v

??????????
$ sudo apt-get install mplayer mozilla-mplayer totem-xine libxine1-ffmpeg
??w32codecs_20061022-0.1_i386.deb????
mplayer??(?????)???mplayer,???>Preferences?>Video?Available drivers??xv?????Font?? Font??????????Encoding????Simplified Chinese charset (CP936)? $

????????flashplayer?java????????
???????????????????? Totem ?????????????????????????? Mplayer ??????? audacious?
???????????????audacious Ubuntu????????????????? ogg*, flac*, mp3, wma, wav, 3gp ??????? mplayer ? totem (?? xvid/divx ??? avi ????, rm/rmvb/asf/wmv ????????? vcd/dvd??? mpeg2/mpeg4 ???)
????????????????
$ sudo apt-get install mplayer mozilla-mplayer totem-xine libxine1-ffmpeg audacious ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-* lame faad sox mjpegtools gstreamer0.10-* totem-xine ffmpeg lame faad sox mjpegtools sidplay-base xsidplay libggi-target-x libggi-target-emu libggi-target-monotext toolame mpeg2dec avifile-divx-plugin avifile-xvid-plugin mencoder drip libavifile-0.7c2 mpg123-el flac123 mpc mpd gmpc sonata gxine totem-xine kaffeine flac beep-media-player-* xine-ui bmpx gstreamer0.8* vlc
win32codes???http: //archive.ubuntu.org.cn/ubuntu-cn/dists/edgy/main/binary-i386/media/w32codecs_20060611 -1plf6.10_i386.deb?ftp://211.86.156.210/debian- multimedia/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb

????RAR??/?????
$ sudo apt-get install rar
??????
$ sudo ln -fs /usr/bin/rar /usr/bin/unrar
?????????????unrar???????????????????????????????rar???

??Firefox??
1. DownThemAll
2. Super DragAndGo
3. Fasterfox
4. MediaWarp https://addons.mozilla.org/en-US/firefox/addon/1879
5. FlashGot?https://addons.mozilla.org/en-US/firefox/addon/220
6. ??????????firefox?????????about:config ???????????: network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8(8?24????????? network.http.proxy.pipelining -> true

?????3D???
Compiz Fusion?Emerald?Avant Window Navigato?Screenlets
1. ??????
??????Ubuntu?????????????????�>????�>?????????????????
????compiz???????????????????????
$ sudo nvidia-xconfig �add-argb-glx-visuals #???????????
$ sudo gedit /etc/X11/xorg.conf
?"Module"?????? SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
?"Device"?????
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
???????????
Section "Extensions"
Option "Composite" "Enable"
EndSection
2. ???????????2??7.04?????????????7.10???????????????

3. ????Compiz?Compiz Fusion
$ sudo apt-get install compiz compiz-gnome
$ sudo apt-get install compizconfig-settings-manager
$ sudo apt-get install compiz-fusion-*

4. ??Compiz Fusion??????Alt+F2???compiz �replace?????
5. ?????�>???�>CompizConfig Settings Manager???????????????
?????? ????ctrl+Alt+????(Button 1)????Beryl??????
???? ????????Effect????"????????".????Shift+Win(Super)+B1??????????Shift+Win+C?
????? ????????Windows Management????Shift-Switcher?Win+Tab(?Vista???)?
????? Win+?????
????? ????????Extra?????.????Win+F3?

6. Compiz Fusion???????????
$ sudo apt-get install git git-core compiz-dev
$ git-clone git://anongit.opencompositing.org/users/crdlb/fusion-icon
$ cd fusion-icon/
$ make
$ sudo make install
???????????????????compiz fusion icon????????????????????????�>???�>?????????????fusion-icon?????

7.
??
1???PDF?????????
$ sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional

2???JAVA???JDK
$ sudo apt-get install sun-java6-jre
$ sudo apt-get install sun-java6-jdk
???????java???
$ sudo update-alternatives �config java
?????"sun"????????
??????JAVA Plugin(??)
$ sudo apt-get install sun-java6-plugin

3???????
????? gcc,g++,make ??
$ sudo apt-get install build-essential

4???????????????????????
$ sudo apt-get install nautilus-open-terminal
????????????????

5. ??????root???????
$ sudo apt-get install nautilus-gksu
????????????????????????

6. ????????Ctrl+ H

7???root???????? $ sudo passwd root ??????root?????

http://hi.baidu.com/xingxing_whu/blog/item/b3b9b2df7d848e1b49540334.html

download file now

Read more »

Tuesday, August 15, 2017

Transform your Ubuntu look and feel into Mac OSX Windows 7 or the good old windows XP

Transform your Ubuntu look and feel into Mac OSX Windows 7 or the good old windows XP


These screenshots are made within Ubuntu 10.10 by using these themes. All themes are installed using a script and can be uninstalled.
When used in one system in different accounts, I noticed that these themes sometimes interfere with each other.

Mac OS X transformation packs,
Windows XP transformations packs,  mirror
















Windows 7 transformation packs

 

download file now

Read more »

Friday, August 11, 2017

Turn Off Your Computer with an E mail or Cell Phone

Turn Off Your Computer with an E mail or Cell Phone


turn off pc

Using this method, the user can turn off, restart, hibernate, etc. his computer, simply by sending an e-mail from your phone.

To do this, all you need is Microsoft Outlook which should come with Microsoft Office, which many people have. This must be the computer that you want to want to stop.

So, this is how you do this:

1. First, you need the batch file to perform the Shutdown, Hibernate etc. You can make it very easily.

2. Open the notebook and write like this ...
c:windowssystem32shutdown -s -f -t 00

and save it as shutdown.bat

3. Open Microsoft Outlook. Make sure you have set for your email. Now must make sure that Outlook checks your mailbox for every minute (1 minute for testing time can be increased if desired switch-off delayed). You can do this by going to Tools >> Options.

4. Then click the Mail Setup tab, and then click the Send/Receive button.
 
5. Make sure that the Schedule an automatic send/receive every........ box is checked and set the number of minutes to 1. Now you can close all of these dialog boxes.

6. Now go to Tools >> Rules and Alerts. Then click the Options button in the upper right and press the import rules button.

7. Now select the file shutdown.bat (which you have created before).

8. Now, when you send a message from the phone to email with the subject of shutdown or
%smsshutdown%, your computer will turn off.

shutdown email

download file now

Read more »

Tuesday, August 8, 2017

Trick or Treat Beat

Trick or Treat Beat


Que tal um joguinho para comemorar o Halloween? Trick or Treat Beat � um jogo meio antiguinho do Cartoon Network. Lembro que eu tinha uns 9 ou 10 anos quando o lan�aram e naquela �poca ainda valia pena assistir o canal e acessar o site.
O jogo em si at� � bobinho, voc� tem apenas que andar pelo cen�rio procurando por moedas, balas e b�nus.
As instru��es e v�deos do jogo est�o depois do pulo.


http://www.cartoonnetwork.com/games/cc/trickortreatbeat/

Have fun! o/



Objetivo: Pegar todos os itens do jogo para conseguir o m�ximo de pontos. O jogo consiste em 20 n�veis com tempo divididos em 5 "vizinhan�as". Para passar de n�vel voc� precisa pegar todas as moedas. As balas e o b�nus n�o s�o obrigat�rios, mas valem mais pontos. Todos os itens podem ser encontrados pelo cen�rio, em po�os, casinhas de cachorro e casas ou dados pelos "astros" do Cartoon Network.







Controles: Basta usar as setas para andar e a tecla espa�o para usar o poder.







Monstros e poderes: Os poderes variam de acordo com a fantasia que voc� est� usando. Para trocar de fantasia voc� precisa passar pelos quadradinhos que giram com o desenho do monstrinho desejado.









O esqueleto tem o poder de abrir portas e port�es.










Frankenstein pode esmagar lixeiras e pedras marrons.










 A bruxa transforma fantasmas em sapos.










O monstro da �gua pode mergulhar na �gua e nadar. (nunca que eu ia imaginar isso)










O vampiro tem o poder de virar morcego. Ele pode voar por cima de l�pides, �rvores, ab�boras e pedras pretas. Pedras cinzas, cercas e �gua, n�o.

V�deos: N�o sei se isso pode ser considerado um "detonado", mas eu tava sem nada pra fazer e resolvi gravar o jogo. Lembrando que como o jogo � dividido em vizinhan�as ao gravar dividi do mesmo jeito, s� o v�deo da �ltima vizinhan�a que ficou muito grande ent�o tive que dividir em 2 partes... a� vai:

1� vizinhan�a:
http://www.youtube.com/watch?v=XWSk3QwYOVE

2� vizinhan�a:
http://www.youtube.com/watch?v=QtzLSfGzi78

3� vizinhan�a:
http://www.youtube.com/watch?v=VydPglwUM8M

4� vizinhan�a:
http://www.youtube.com/watch?v=ppdVuQTIQWg

5� vizinhan�a (parte 1):
http://www.youtube.com/watch?v=0z_EGdtn5pk

5� vizinhan�a (parte 2):
http://www.youtube.com/watch?v=GNpGnEDNtiM

Feliz Dia das Bruxas! Doce ou Travessura? ;D

download file now

Read more »