16 June 2016

The retarded windows 10 auto-download software

Now the new "feature" of windows 10 is automatic download to your computer. There's a shitload of CRAP that microsoft decided to push into your windows without your consent. And guess what? If you uninstall, they'll install again and again!
All the extra uninstalable crap in windows 10 isn't enough, microsoft? WTF?

Well then, just stop with this nonsense, open regedit and go to this key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent

Create a new 32-bit DWORD value named DisableWindowsConsumerFeatures and set its value data to 1

Or use this with an administrative prompt:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /d 1 /t REG_DWORD /f

Source: WinAreo

22 May 2016

The HELL of automatic keyboards on Windows (8, 8.1, 10, and probably the next versions)

     Probably everyone in the same situation are thinking about this crap...

     Actually, I have a Toshiba Qosmio with a windows machine and after the "free" upgrade to windows 10, I see that even my notebook with a US-English Windows, US-English Keyboard, and yes US configurations for everything, give me automatic keyboards because I'm in Brazil (WTF?). Not sufficient, that's a ridiculous arbitrary retarded feature, because he gives not one, but, FOUR LAYOUTS!! WTF? (US, US-English, ABNT, ABNT2). And guess what? He changes from one to another automagically, just to mess up your work, your brains, your life and everything else, because yeah, you're using windows so fuck you!
     After mining google, someone had the solution here.

     Simply change this thing on registry (because windows doesn't want to give you an option to change THIS SIMPLE THING):

Disable the obnoxious "Auto Detect Keyboard Layout":

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard\Layout]
"IgnoreRemoteKeyboardLayout"=dword:00000001

Administrative command version:

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard\Layout" /v IgnoreRemoteKeyboardLayout /d 1 /t REG_DWORD /f

If the language crapbar still shows, use this DWORD:

[HKEY_CURRRENT_USER\Software\Microsoft\CTF\LangBar]
"ShowStatus"=dword:00000003

Administrative command version:

reg add "HKEY_CURRRENT_USER\Software\Microsoft\CTF\LangBar" /v ShowStatus /d 3 /t REG_DWORD /f


Source: http://www.microsoftpro.nl/2011/02/24/windows-2008-r2-language-bar-keeps-changing-keyboard-settings/

01 April 2016

Accessing Ubuntu VM using putty giving an error

     After update my ubuntu virtual machine, I see ssh stopped working for me and /var/log/auth.log show me this error:

Apr  1 09:17:50 ubuntuVM sshd[1638]: error: Hm, kex protocol error: type 30 seq 1 [preauth]

    If I try to connect from another linux machine or from localhost, it's fine. So after researching, I see the problem is the goddamit putty. So, it seems putty will not be fixed in the nearly future (and I don't know how bad this is for security, but I was in a hurry to access the machine via putty), so move the Diffie-hellman group exchange to the bottom (where is "warn below here"'):






22 September 2015

21 August 2015

How to stop Microsoft messing up your privacy in Windows 10 (updated 16/Jun/2016)

Disregard the fanboys saying “hurr you don’t need to change becuz windows is already perfect”,  there’s some things I can’t agree even that I run windows on a virtual machine, specially when privacy is the concern.
I will try to update this post every time I know something about it.

22 February 2015

Tuning Yoga Tablet B8000-F to suck less

So I put my hands on a Lenovo Yoga Tablet. It's not a bad device, but ffs Lenovo, you can do better than that. There's several flaws on the device, specially in the software level. I'm unable to believe that Lenovo are able to customize even in theme level but unable to make the device better in several ways.

To make the things harder, the only site full of custom stuff for this device is a russian forum.
The device itself is rock-solid, good design and the software isn't too much bloated, is simple to make workarounds, so let's get started.

Last observation: You have adb and drivers installed properly, right?


21 October 2014

GPD G7a review

REVIEW:

It's a portable game from GPD company, you can visit their website on http://www.gpd.hk
It's a Chinese company (hong kong to be exactly) that came to compete with JXD (In my honest opinion, I think the quality is way better because I have bad experience in the past).


06 October 2014

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 3


Now we go further down to tune up, to make things works better than the default configuration.

1) powerdown-git (AUR), laptop-mode-tools (AUR) and upower (OFFICIAL).
This will increase a lot your batttery. Install, and then, edit your .xinitrc:

xset +dpms
xset dpms 0 0 300
upower -e

2) lightum-git (AUR)

This will helps with the light sensor

3) mba6x_bl-dkms (AUR)

Without this one, the brightness of your mba will not work correctly after waking up. I wasn't able to install him correctly using yaourt, so I did a manual install and then adding it on mkinitcpio.conf

4) acpid (OFFICIAL)

Double-check if you have acpid up and running, this can cause some trouble after suspending and waking up some times.

----

This post isn't complete yet, but I let the incomplete version for further reference and, of course, the credits of what I've used to make this manual.

Arch Wiki
Dedicated thread to Macbook Air 2013

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 2



In this post I'll just show some apps that can help you and some recommendations, let's get started (you can use whatever you want, of course):

1) Libreoffice 
Instead of Openoffice, I feel libreoffice is way more "light" than openoffice, so yeah. You can also use playonlinux and install your favorite microsoft office, they works quite fine using playonlinux.
2) Chrome
Stable, Dev and Beta are available through AUR, so you can install via yaourt. Firefox is also available for people that doesn't feel comfortable using chrome
3) Thunderbird
If you don't like evolution or kmail, thunderbird is available.
4) Pidgin
Personal choice, I'm not a huge fan of empathy...
5) Skype
If you don't have any issues about security, skype is available too.
6) vlc
Forget about installing a shitload of binaries, and libraries, and drivers and whatever else. Just install this guy to see videos and stuff.
7) digikam/shotwell
If you need something fast to see images from cellphones or whatever else, use digikam (for kde) or shotwell (for gnome), both of them do a nice job. If you need something more, just install gimp.
8) clementine/amarok/banshee
It's a matter of preference. I like banshee for a music player, but I gave here three choices.
9) guake/yakuake
I don't know about you, but having a terminal in the "quake" way is quite sexy. Available for QT desktops (yakuake) and GTK desktops (guake).
10) dropbox
Why not? You can also make encrypted containers with whatever crypto you like and store on dropbox.

-------------------------------------------------------------------------------------------------------

EXPERIMENTAL FEATURES

This features isn't really necessary, but gives you some eyecandy and stuff..

1) Fonts
I have two sets of fonts I can't live without it: terminus-font (for terminal) and ttf-liberation (for desktop)
2) Fonts (again)
If you really want something way better to your eyes while working, give fontconfig-infinality a try. Is available at AUR.

Continue reading here

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 1



Hi all

It's been a long time I didn't post here, so I'll post about my Arch Linux install on this macbook air.
REMEMBER: It's about to format everything on your macbook air and leave only linux.
Right now, I'm just doing the default install, so I'll post more details according I'm updating.

This is my setup:

Partition 1: EFI: 200Mb
Partition 2: JFS: 233Gb

I'm using JFS because I got a lot of performance than other FS, but you can use whatever you want.

Let's start:

- Default install as the wiki says, nothing different. Disregard my install uses pacstrap /mnt base base-devel instead of only base.
- Install xorg and gnome (you can install kde or whatever you like it, isn't too different).  Don' t boot yet.
- Install network-manager, because is quite usefull, even with most desktop managers (I also installing some vpn frontends because is useful for my work):

# pacman -S network-manager networkmanager-pptp networkmanager-vpnc networkmanager-openvpn

- Install grub and fix the boot with efibootmanager:

# pacman -S grub efibootmgr

Edit /etc/defaults/grub and change this line:

GRUB_CMDLINE_LINUX_DEFAULT="verbose elevator=deadline root=/dev/sda2 rootfstype=jfs"

And change your fstab to something like this:

/dev/sda2   /   jfs   rw,discard,noatime  0  1

Create your grub.cfg

# grub-mkconfig -o /boot/grub/grub.cfg

Install your grub

# grub-install /dev/sda

Type efibootmgr and see your boot options, delete whatever boot extras there. After that, add your linux entry there:

# efibootmgr -c -d /dev/sda -p 1 -l /EFI/arch/grubx64.efi -L "Arch Linux"

Now see the number of your new entry:

# efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
Boot0000* arch <- This is my pendrive
Boot0001* Arch Linux <- This is the entry I've just created
Boot0082*

Now lets fix it:

# efibootmgr -o 0001

Don't reboot yet.
In /etc/pacman.conf, uncoment multilib, you'll thanks me later
Add archlinux.fr at your servers (or install aur by hand, it's your choice). To use archlinux.fr, add this lines at the end of your /etc/pacman.conf

[archlinuxfr]
SigLevel = Optional TrustAll
Server = http://repo.archlinux.fr/$arch

Sync and install yaourt

# pacman -Syu yaourt

Create your user and su - (and put a password in your user, if you still didn't do it yet)
Install the infamous broadcom driver:

# yaourt -S broadcom-wl-dkms

And finally, put network manager and your favorite xdm on systemd:

# systemctl enable NetworkManager
# systemctl enable gdm

Don't forget to add your user to any related group that you need before boot.
Also is nice if you want to use an encrypted home to set up right now.

Continue reading here.

27 August 2013

VPN L2TP without IPsec: how to share the love beyond the OS limits

Well.. I know that this will be possible using OpenVPN but... I need to deal with users, and you know how limited users are.. Also, PPTP is compromised since some time ago, and the options are turning dark.
But I needed a VPN solution, and fast. At least temporary so I can think about in something else later. So I choose L2TP since is easily to configure in windows and.. you know how "clever" windows users use to be.. :D

Well. after the configuration in my work's pfsense and testing in my windows vm, I need to test on a Mac OS X cause some people in my work have Macbooks.. so I discovered that MacOS (ATM) only accepts out-of-the-box Cisco IPsec, PPTP and L2TP+IPSEC. Apple please...

Well, nothing is lost, just open Terminal.app and do this:

echo "plugin L2TP.ppp" > options
echo "l2tpnoipsec" >> options
sudo mv options /etc/ppp

And voilá, now your mac can connect to a goddamit L2TP without IPsec.

Obs: I don't know how much I can trust in L2TP but...

Source: Pandapow

21 August 2013

WCH341 USB Serial Converter for OSX

WCH341 is a quite nice (and cheap) USB adapter (I got one by almost 3USD). Works perfect in Windows and Linux, but for mac it's another story…..


After lots of searches and drivers, I found this guy .


Note: Isn't a driver, it's a software that can connect using your cable, but don't worry, the software is very nice and works perfect.


Also, the developer is a nice guy and answer my mail quite fast when I had a problem with the last version. Thanks Aaron.