Mentor's blog

Drupal 7: how to enable\disable comment of old nodes

In Drupal 7 we can set the comments in three ways: Hidden: No comments are allowed, and past comments are hidden. Closed: No comments are allowed, but any past comments remain visible. Open: Any future content of this type is open to new comments. We can change in any moment the default comments' settings for any content type but the new choice will be valid only for the new nodes and not for the...

Android: how to manually set the network via terminal

If we want manually set the network in Android, for example 2G or 3G, then we can use a simple command via the terminal or via adb. For the Motorola Stock Rom we can use this command: am broadcast -a com.android.phone.CHANGE_NETWORK_MODE --ei networkMode *VALUE* For the AOSP Rom we can use this command: am broadcast -a com.android.internal.telephony.MODIFY_NETWORK_MODE --ei networkMode *VALUE*...

Linux: show apt history

At the moment the Linux distribution that I'm using is Debian, the packages manager that I'm usually to use in it is the apt and the simplest way to check apt-history is to use the bash script apt-history . With apt-history we can check the list of packages installed, removed or upgraded with apt. As we can see the last update of the script has been wrote the 26/02/2005 but it is correctly...

Syslinux from USB Stick: boot the next hard disk in the boot sequence

I use the great Syslinux bootloader to boot the frugal installation of Slacko PuppyLinux from my Usb Stick, in this way i have a complete portable OS always with me that i can use for every evenience when i can use a pc that isn't mine, for example to surfing the web with my synced bookmarks in FireFox. Syslinux is fully customizable and in my boot menu i added a voice to simply boot the next...

Android: how to edit AndroidManifest.xml

Sometime to edit a system apk we have to edit its AndroidManifest.xml but we can't simple edit it otherwise we will corrupt the signature and the edited apk will not be loaded at system boot. We could disable the signature check in the services.jar or resign every apk in the rom but these aren't the more elegant solutions. After editing the AndroidManifest.xml in a system's apk we can check the...

Linux: display colorized boot messages from bootlogd daemon

If we have an error at startup on a linux distro and we want check the log of the bootlogd then we can use this command and we will display the colorized log: sed $'s/\^\[/\E/g;s/\[1G\[/\[27G\[/' /var/log/boot

Regedit and PsExec: how to edit and delete every key in the Windows registry

If you think that running the regedit as administrator then you can edit or delete every key present in the Windows registry then you are in error. Even running the regedit as administrator there are some low livel keys that can't be edited or deleted, trying we have this explicit error: Access Denied or: Error while deleting key If we have to edit or delete one of these untouchable keys we can...

How to solve the start's problem of BS_I2cIo

BS_I2cIo is a driver provided by Biostar for its motherboards that has some problems with the OS x64 and in the Event viewer we have this message: The following boot-start or system-start driver(s) failed to load : BS_I2cIo The problem is caused by a wrong path in the registry keys: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\BS_I2cIo HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\BS_I2cIo...

How to delete every post from Facebook timeline

In the last days i decided to remove from the Facebook timeline every thing that i posted but unfortunately there is not a native option to do this. To solve this my problem avoiding to manually delete everything i used a java script: Facebook Timeline Cleaner . As for any java script for the browser to work it needs of an interpreter, GreaseMonkey for Firefox and Tampermonkey for Chrome. This...

Direct links to legally download ISO Windows 8 and 8.1 x86/x64

You can do not like Windows 8 but it has definitely been a novelty and a strong market move to capture a major share of the market, it was in fact the first OS for Desktop to have support for touch devices and many of its problems have been fixed by Windows 8.1. Officially to download Windows 8 and Windows 8.1 you have to use the software Media Creation Tool but unoficially we can download them...

Pages

Subscribe to RSS - Mentor's blog