tag:blogger.com,1999:blog-53299374662740601142024-03-13T04:34:13.982-07:00Dirty CodingDoomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-5329937466274060114.post-78249878297488517052013-02-05T07:47:00.001-08:002013-02-22T10:31:53.275-08:00How to always run a program as administrator without prompt for passwordTry RunAsUser<br />
<iframe frameborder="0" height="120" scrolling="no" src="https://skydrive.live.com/embed?cid=09F09C7074A1DAC4&resid=9F09C7074A1DAC4%21211&authkey=ACuRVF1kvEsTuIk" width="98"></iframe><br />
Tested only in Windows XP, should work in Windows Vista/7, if this didn't work in your system use <a href="http://www.autoitscript.com/site/autoit/downloads/" target="_blank">AutoIt</a> and compile the macro script to always run the program as administrator.<br />
Before you extract the archive you have to disable your anti-virus because the installer can trigger a virus-alert as a false-positive.<br />
This software was discontinued and extinguished... until now.<br />
Here's some screenshots:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-vmrt3A6hF7k/UREkbFHYr3I/AAAAAAAAAJQ/G01B385G7Hc/s1600/win1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="106" src="http://1.bp.blogspot.com/-vmrt3A6hF7k/UREkbFHYr3I/AAAAAAAAAJQ/G01B385G7Hc/s320/win1.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-1mSViav67Q8/UREkn8gXAVI/AAAAAAAAAJY/GFgzwrKLY1s/s1600/win2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="209" src="http://4.bp.blogspot.com/-1mSViav67Q8/UREkn8gXAVI/AAAAAAAAAJY/GFgzwrKLY1s/s320/win2.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-mztZGSSgKew/URElN9Y57dI/AAAAAAAAAJo/RA1V5OzFR_c/s1600/win3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-mztZGSSgKew/URElN9Y57dI/AAAAAAAAAJo/RA1V5OzFR_c/s320/win3.bmp" width="243" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-9oUNQUr2HlM/USe5Vj7O5oI/AAAAAAAAAJ4/d-77g-vJOvM/s1600/win4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="216" src="http://3.bp.blogspot.com/-9oUNQUr2HlM/USe5Vj7O5oI/AAAAAAAAAJ4/d-77g-vJOvM/s320/win4.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-36023180652720311012012-12-14T13:54:00.000-08:002012-12-14T14:01:48.017-08:00Provas e exercícios resolvidos de ISMaterial IS on SkyDrive<br />
<a href="http://sdrv.ms/WchLJj" target="_blank">DOWNLOAD</a><br />
<br />
Algum problema ao fazer download por favor comentem.Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-15864953366789189942012-10-10T01:11:00.001-07:002012-11-11T10:07:52.026-08:00Exames Física ESTGExames resolvidos de Física:<br />
<a href="http://bit.ly/R6PwrV" target="_blank">Física on Google Docs</a>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-79601061526753298402012-08-20T15:11:00.000-07:002012-08-21T01:14:32.770-07:00Install Packet Tracer on LinuxI have already installed Cisco Packet Tracer® on Linux Mint 12 Lisa but it should work on the newest version of Mint and Ubuntu.
<br />
Do the following:<br />
<br />
<ol>
<li>
After login, click in the red box image</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.webpagescreenshot.info/i/68337-8202012101216pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://www.webpagescreenshot.info/i/68337-8202012101216pm.png" width="376" /></a></div>
<br />
<br />
<li>Next search for "Cisco Packet Tracer program downloads" and click on it</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.webpagescreenshot.info/i/77886-8202012102931pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://www.webpagescreenshot.info/i/77886-8202012102931pm.png" width="305" /></a></div>
<br />
<li>Click on the right of "Packet Tracer v5.3.3 Application + Tutorial - Generic Ubuntu" that will download the archive "PacketTracer533_Generic_Ubuntu.tar.gz"</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.webpagescreenshot.info/i/441278-8212012123519am.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://www.webpagescreenshot.info/i/441278-8212012123519am.png" width="285" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<li>Finished the download, open the terminal, navigate to the archive location and type:</li>
<code>tar -zxvf PacketTracer533_Generic_Ubuntu.tar.gz</code><br />
<code>cd </code><code>PacketTracer53/</code><br />
<code>chmod +x install</code><br />
<br />
<li>Now we must have root privileges in terminal to start the installer:</li>
<code>sudo su </code><code><will ask for your admin password></code><br />
<code>./install</code>
<br />
<br />
<li>Follow the installer instructions and after the installation run Packet Tracer with the command:</li>
<code>packettracer</code></ol>
Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com2tag:blogger.com,1999:blog-5329937466274060114.post-59350862023564677542012-06-20T01:18:00.000-07:002012-06-20T01:18:23.699-07:00How to getting work USB devices in VirtualBox in LinuxIf you got the message "No USB Devices Connected" in your vbox, do the following:<br />
<br />
<ol>
<li>Check if you really have installed the PUEL (Personal Use and Evaluation License) last version of VirtualBox from the official website in your system and not the OSE (Open Source Edition) VirtualBox version from your distro's repository (VitualBox OSE is out-of-date).</li>
<li><span style="background-color: white;">Open the terminal and type:</span></li>
<code>sudo adduser <your_user_name> vboxusers</code>
<li>Reboot and try again</li>
</ol>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-8202948932188717082012-04-19T19:50:00.001-07:002012-04-19T20:11:40.760-07:00Free Nokia Webinar session about developing S40 mobile applications<div>
From Nokia Developer (<a href="http://bit.ly/I2BUup" target="_blank">source</a>)</div>
<div>
<b><span style="font-size: large;">User-centric design of Series 40 applications</span></b></div>
<div>
Putting the user at the heart of your app designs is the key to creating winning apps. This webinar will walk you through a design example focusing on helping a user determine where they are, to facilitate the use of a location based application for Series 40 Touch and Type phones. </div>
<div>
<br /></div>
<div>
After giving an overview of the available methods for determining the user’s location, the webinar will discuss some of the fundamental drivers behind mobile apps design, such as user mind set, use context, and small screen limitations.</div>
<div>
<br /></div>
<div>
Armed with this knowledge, the webinar will explore practical design implementations to enable the user to estimate their location, with a focus on the ways in which you can translate technology into an easy-to-use application.</div>
<div>
<br /></div>
<div>
The presentation concludes with an overview of the Series 40 UI design tools and services offered by Nokia to help you deliver winning app design.</div>
<div>
<br /></div>
<div>
Overall, this session guides you on how to make complex technology accessible to Series 40 users.</div>
<div>
<br /></div>
<div>
<div>
<span style="font-size: large;"><b>Build a Series 40 web app in one hour </b></span></div>
<div>
Series 40 web apps are easy to build, and they make great information and entertainment apps that use frequently-updated content from the Internet. Using web development skills and tools, templates and information available from Nokia Developer, you can create an app in as little as one hour, start to finish. In this webinar, Michael from Futurice will show you how.</div>
<div>
<br /></div>
<div>
Michael suggests that you download and install Nokia Web Tools 1.5 before the webinar to get the most out of the session. That's the toolset he will be using in the presentation. You don't need to have it installed to learn a lot, but you'll learn more if you have it handy.</div>
<div>
<br /></div>
<div>
* Some attendees will become eligible for a free Nokia Asha 303 by publishing a Series 40 web app. We'll provide all the details during the session.</div>
</div>
<div>
<br /></div>
<div>
<a href="http://bit.ly/I2BUup" target="_blank">More Info and Free Registration</a></div>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-10527517035221909032012-04-17T21:57:00.003-07:002012-07-08T14:08:28.157-07:00Ripar um Livro: O Grande Livro dos LavoresExistem varias formas de ripar um livro, tudo depende dos meios que dispomos para fazer a captura das páginas. No meu caso tive de recorrer ao método caseiro, ou seja, digitalizar folha a folha todas as páginas do livro e acreditem é um trabalho demoroso que requer extrema paciência.<br />
Abaixo estão os dados do livro ripado:<br />
<br />
Titulo: <b>O Grande Livro dos Lavores</b><br />
Editora: Selecções Reader's Digest<br />
Ano: 1985<br />
1.ª Edição<br />
Nº de Páginas: 504 (aprox. 3 dias a ripar)<br />
Idioma: Português - Portugal<br />
<br />
Download<br />
<iframe frameborder="0" height="128" scrolling="no" src="https://skydrive.live.com/embed?cid=09F09C7074A1DAC4&resid=9F09C7074A1DAC4%21150&authkey=AARJOrYYGWCzirQ" width="165"></iframe><br />
<br />
<br />
Depois de fazer download de todas as partes do arquivo:<br />
<br />
<ul>
<li>Executar o ficheiro O_Grande_Livro_dos_Lavores_PT.djvu.00001 para extrair o livro</li>
<li>Instalar o programa WinDjView-1.0.3-Setup na pasta Djvu Reader para abrir ebooks .djvu</li>
<li>Abrir o ficheiro O_Grande_Livro_dos_Lavores_PT.djvu</li>
</ul>
<div>
<b>Nota: </b>É possível fazer a procura e cópia de texto do ebook mas como texto foi obtido a partir de mecanismos de OCR, não é assegurado a coerência do texto extraido.</div>
<div>
<br /></div>
<div>
<div>
<b>Ficha Técnica:</b></div>
<div>
O livro foi digitalizado com uma impressora multifunções EPSON Stylus DX3800 através do software EPSON Scan (não tem grande qualidade).</div>
<div>
De seguida, as imagens foram importadas para o programa gscan2pdf para serem processadas pelo mecanismo de OCR Ocropus (PT) e convertidas para o formato <a href="http://djvu.org/resources/whatisdjvu.php" target="_blank">DjVU</a> (melhor formato que PDF).<br />
<br />
<b>PS:</b> Quem souber de melhores formas de ripar um livro, sinta-se livre para comentar.</div>
</div>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com11tag:blogger.com,1999:blog-5329937466274060114.post-10280189598052077982012-04-13T08:37:00.001-07:002012-04-27T07:45:51.920-07:00Useful Linux Commands to get System Info Details<ul>
<li>Prints information about system hostname and kernel version installed:</li>
<code><b>uname -a</b></code></ul>
<ul>
<li>Prints information related with the X Window System:</li>
<code><b>X -version</b></code></ul>
<ul>
<li>List the installed library for S3TC compression (more info <a href="http://askubuntu.com/questions/56379/is-there-an-easy-way-to-enable-s3tc-on-intel-graphics" target="_blank">here</a>):</li>
<code><b>glxinfo | grep -i s3tc</b></code></ul>
<ul>
<li>Indicates the path of a particular configuration file:</li>
<code><b>whereis</b> xorg.conf <span style="font-family: Times, 'Times New Roman', serif;">or</span> <b>locate</b> xorg.conf</code></ul>
<ul>
<li>Indicates the path of the binary:</li>
<code><b>which</b> java</code></ul>
<ul>
<li>Check what Linux Desktop Environment is running (thanks to this <a href="http://sraji.wordpress.com/2011/08/04/how-to-check-linux-desktop-environment-gnome-or-kde/" target="_blank">source</a>):</li>
<code><b>echo $DESKTOP_SESSION</b></code></ul>
<ul>
<li>Executing a program in the terminal and close the terminal without killing the running program:</li>
<code><b>nohup</b> gedit</code></ul>
<ul>
<li>Enable core dump generation on Linux (more info <a href="http://www.randombugs.com/linux/core-dumps-linux.html" target="_blank">here</a>):</li>
<code> ulimit -c unlimited</code>
</ul>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-89551159167876478292012-03-25T08:49:00.001-07:002012-07-23T02:35:55.981-07:00Black Screen when Installing Linux on Acer? Here's a workaround to enable the display backlight!Boot your Linux live CD/DVD<br />
<ol>
<li>In the boot screen of Linux live CD/DVD press Tab and add </li>
<code>i915.broken=1</code>
<li>Press Enter</li>
</ol>
<div>
After the installation on the hard drive the computer should reboot now</div>
<div>
<ol>
<li>In the boot screen of Linux live CD/DVD press Tab and add </li>
<span style="font-family: monospace;"><span style="background-color: white; font-family: Verdana, Arial, Tahoma; font-size: 12px;">GRUB_CMDLINE_LINUX="acpi_osi=Linux"</span></span>
<li>Press Enter</li>
<li>When the system loads try press the key shortcut to adjust the screen backlight, in my case <Fn> + <Left/Right Arrow> </li>
<li>Open the terminal a type <code>sudo gedit /etc/rc.local</code> and add <br /><code>setpci -s 00:02.0 F4.B=00;</code>
</li>
</ol>
</div>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-49112164910336516322012-02-24T07:46:00.001-08:002012-02-24T07:46:06.351-08:00Useful Keyboard Hotkeys for LinuxAlt + F2 ➜ Graphical Run Application<br />
Ctrl + Alt + L ➜ Lock Screen (Works in almost all distros)<br />
Ctrl + Alt + F1 ➜ Switch to the first text terminals.<br />
Ctrl + Alt + F7 ➜ Switch to the first GUI terminal (if X-windows is running on the 7th terminal, where it typcially is).<br />
<br />
Source: <a href="http://linux.about.com/od/linux101/l/blnewbie5_1.htm">linux.about.com</a>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-78534698636028127622012-02-20T01:48:00.002-08:002012-04-14T10:47:34.619-07:00Actualização de firmware Zyxel P-660W-T1 da SapoPara quem tem um router wireless Zyxel P-660W-T1 da Sapo, aqui fica a última actualização do firmware.<br />
<iframe frameborder="0" height="128px" marginheight="0" marginwidth="0" scrolling="no" src="https://skydrive.live.com/embed?cid=09F09C7074A1DAC4&resid=9F09C7074A1DAC4%21161&authkey=AG1hljWSCcp7LQ4" style="background-color: #fcfcfc; padding: 0;" title="Preview" width="165px"></iframe>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com6tag:blogger.com,1999:blog-5329937466274060114.post-85169309275484067282012-01-22T16:36:00.000-08:002012-06-07T14:28:34.814-07:00Fichas Resolvidas BD_2011-2012Aqui esta, se encontrarem algum erro nas fichas, por favor comentem!<br />
<br />
<a href="https://docs.google.com/open?id=0B7NPrVcUU-NXYmYyMjVjYjQtOWFmYi00MDgyLWJmYzMtMGY4NmI2MWU4OTg4" target="_blank">BD_2011-2012</a><br />
<a href="https://docs.google.com/folder/d/0B7NPrVcUU-NXdWNMdDdqUFJDUGM/edit" target="_blank">Database Systems - Erasmus</a>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-40005056261022204322012-01-09T09:54:00.000-08:002012-01-09T11:32:27.159-08:00How execute the Prey configuration panel in Linux?Type in terminal:<br />
<code>gksu /usr/share/prey/platform/linux/prey-config.py</code>
<br />
<br />
And type your admin/root password.<br />
After you configure Prey properly check if the daemon is running<br />
<br />
<code>sudo /usr/share/prey/prey.sh --check</code>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-10456136816849300952012-01-05T14:11:00.000-08:002012-01-05T14:11:40.327-08:00Change Linux Mint hostname properlyOpen the terminal and to install the <a class="backlink" href="https://help.ubuntu.com/community/NetworkAdmin" rel="nofollow" title="Clique aqui para pesquisar por este título">NetworkAdmin</a> type:<br />
<code>sudo apt-get install gnome-network-admin </code><br />
<br />
Next type:<br />
<code>gksu network-admin</code> <br />
<br />
You can now change the hostname properly!Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-35953384932076407832012-01-03T04:42:00.000-08:002012-01-03T04:42:18.982-08:00Edit or Remove Connections in Linux Mint 12In terminal type:<br />
<br />
<code>nm-connection-editor<code></code></code>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-67817366212816773112011-12-20T10:01:00.000-08:002012-01-16T09:56:49.762-08:00Easy way to auto connect to a hidden wireless network in Linux/Ubuntu<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-HKBcjj8ttnY/TvDTYC6V8tI/AAAAAAAAAEE/Cizq8qcoroo/s1600/damn_hidden_wifi_face.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="177" src="http://2.bp.blogspot.com/-HKBcjj8ttnY/TvDTYC6V8tI/AAAAAAAAAEE/Cizq8qcoroo/s320/damn_hidden_wifi_face.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
If you are tired of this, follow this steps:<br />
<br />
1.- Open terminal<br />
2.- Type <code>gnome-session-properties</code><br />
3.- Click Add and in the window "Add Startup Program" set any Name and in Command type <code>nmcli con up id <HiddenWifiName> </code><br />
4.- Click in Add, reboot the machine, et voilà!<br />
<br />
You can now kiss the G33k!<br />
Many thanks to this source -> <a href="http://blog.nixpanic.net/2011/01/connect-automatically-and-immediately.html">Connect automatically (and immediately) to a hidden WiFi </a>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-505404983879396192011-12-12T10:03:00.000-08:002012-06-04T08:55:57.024-07:00Jogo Simon para Telemóvel<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-uoMrjO_9rvg/TuZBy_k3diI/AAAAAAAAADw/1cdpBcqVPQg/s1600/simon-game.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="330" src="http://3.bp.blogspot.com/-uoMrjO_9rvg/TuZBy_k3diI/AAAAAAAAADw/1cdpBcqVPQg/s400/simon-game.jpg" width="400" /></a></div>
Jogo Simon da ESTG em J2ME para instalar no telemóvel.<br />
<br />
Mirrors:<br />
<a href="http://turbobit.net/khjjp68i4ubo.html" target="_blank">turbobit.net</a><br />
<a href="http://rapidgator.net/file/15207079/simon_j2me.7z.html" target="_blank">rapidgator.net</a><br />
<a href="http://www.filelaser.com/file/LYMfqXoJBT/simon_j2me.7z">FileLaser</a><br />
<a href="http://uploading.com/files/c4ff545d/simon_j2me.7z/" target="_blank">Uploading.com</a><br />
<a href="http://fshare.in/35271" target="_blank">fShare.in</a><br />
<a href="http://mir.cr/0R6NONWL" target="_blank">Mirrorcreator</a><br />
<a href="http://www.multiupload.nl/3UCWSUM9W6L" target="_blank">MultiUpload.nl</a>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-37829702310740879122011-11-18T08:16:00.001-08:002011-11-20T04:59:49.539-08:00Provas de TAR de 2010-2011Aproveitem!
<iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="https://skydrive.live.com/embedicon.aspx/TAR?cid=09f09c7074a1dac4&sc=documents"></iframe>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0tag:blogger.com,1999:blog-5329937466274060114.post-91335481156268377272011-07-03T20:40:00.000-07:002012-04-17T10:47:18.251-07:00Unique ACL Editor in WebLooking for a good NTFS ACL Editor for Windows?<br />
Try ACLView<br />
<br />
<ul>
<li>Mirrors</li>
<li>Windows SkyDrive</li>
<iframe frameborder="0" height="128" scrolling="no" src="https://skydrive.live.com/embed?cid=09F09C7074A1DAC4&resid=9F09C7074A1DAC4%21178&authkey=AINyD3N5BCoHy18" width="165"></iframe></ul>
It's free and only available here!Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com1tag:blogger.com,1999:blog-5329937466274060114.post-50039494108662459722011-05-25T09:18:00.000-07:002011-12-20T10:34:01.406-08:00Auto-login as root in Ubuntu/Debian<span lang="EN-US">Warning: I hope you know what you doing, if something goes bad don’t blame me</span><br />
<ol>
<li><span lang="EN-US">Unlock the root account: </span></li>
<code>sudo passwd root<br /> sudo passwd -u root</code>
<li><span lang="EN-US">Open the session login file:</span></li>
<code>sudo gedit /etc/gdm/custom.conf</code>
<li><span lang="EN-US">Edit the user fields to root and save.</span></li>
</ol>Doomineerhttp://www.blogger.com/profile/01454026017678065536noreply@blogger.com0