Installing .Net 3.5 using the Control Panel in Windows 10 (anniversary update) can sometimes be very slow. Alternative option is to install from DVD/ISO, like: c:\>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs Where: E: is the drive letter of DVD/ISO Reference: https://technet.microsoft.com/en-us/library/dn482069.aspx
I was able to install BlackBerry Playbook Simulator 2.1 on Ubuntu 16.04 64-bit by installing supported libraries, see here . Running the IDE ( /opt/bbndk-2.1.0/bbndk.sh ) fails with a message as shown below. /opt/bbndk-2.1.0/host/linux/x86/usr/bin/../..//usr/qde/eclipse/qde: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory The above message says we don't have libgtk-x11-2.0 libraries. Since the IDE was compiled as i386 we need to install the library like: sudo apt install libgtk2.0-0:i386 Running the IDE again yields the following error message: (qde:2418): Gtk-WARNING **: Unable to locate theme engine in module_path: "hcengine", # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xf771179d, pid=2418, tid=4131637376 # # JRE version: 6.0_24-b07 # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 ) # Problematic frame: # C
Tried to install BlackBerry Play Simulator 2.1 on Ubuntu 16.04 64-bit but it fails with error message below. sudo ./installer-bbndk-2.1.0-linux-1032-201209271809-201209280007.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... ./installer-bbndk-2.1.0-linux-1032-201209271809-201209280007.bin: 3320: exec: /tmp/install.dir.3056/Linux/resource/jre/bin/java: not found The installation is failing because it has dependencies to 32-bit libraries. To fix it, do: $ sudo dpkg --add-architecture i386 $ sudo apt install libc6:i386 $ sudo ./installer-bbndk-2.1.0-linux-1032-201209271809-201209280007.bin Installation should now complete but the IDE will not be working. Next post details how to fix it. Follow-up post is here .
It is good practice to get the latest updates before installing VMware Tools. Open terminal and run the following: $ sudo apt update $ sudo apt upgrade $ sudo reboot If the update needs to upgrade the kernel, it is a good idea to reboot the machine before installing the tools so that we are compiling against the correct kernel. From VMware Workstation menu, do VM | Install VMware Tools... . $ mount cdrom $ mkdir ~/tmp $ tar -xvzf /media/u1/VMware\ Tools/VMwareTools-9.9.5-3735633.tar.gz -C ~/tmp $ cd ~/tmp/vmware-tools-distrib/ $ sudo ./vmware-install.pl -d $ eject $ sudo reboot Where: u1 = is the username, replace it with your username VMwareTools-9.9.5-3735633.tar.gz = version of VMware Tools in the ISO, change it with what's in /media/<user>/VMware Tools/ .
This is probably my silly mistake but it took me a while to figure out why it is not updating - it was paused!!! Did I do it? Maybe... but could be Windows just deciding to pause it. Anyway, un-pause it like as shown below. Reference: http://www.tenforums.com/performance-maintenance/31047-task-manager-not-updating.html
Even when the floppy hardware is removed from the VM configuration of a Ubuntu guest under VMware Workstation 11, the icon for floppy disk drive still shows up in the Launcher . To fix this you need to disable Legacy Diskette A in the virtual BIOS of the guest. An easy way to boot to the virtual BIOS is to shutdown the VM, then select VM | Power | Power On to Firmware . Then change Legacy Diskette A: to [Disabled], F10 to save and exit. This should reboot the machine. References: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004129 https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1034616 https://communities.vmware.com/thread/449235?start=0&tstart=0
169.254.x.x is a link-local IP address that gets assigned automatically when, generally, DHCP is not available. On Windows operating system, this is called APIPA (Automatic Private IP Addressing). RFC 3927 defines the 169.254.0.0/16 address block for use in the link-local assignments. Note that routers are not supposed to route traffic from this address block. Reference: https://en.wikipedia.org/wiki/Link-local_address
Mouse Gestures for BlackBerry Tablet Simulator Description Mouse Show top bar (notification area) Move mouse top middle and click Show Browser options Move mouse top right and click Show applications running Move mouse bottom middle and click Show application home screen (aka desktop) Move mouse bottom middle and click twice Show on screen keyboard Move mouse to lower left and click https://developer.blackberry.com/develop/simulator/simulator_gestures.html
On Windows 10 Enterprise version 1511 build 10586.589 + VMware Workstation 11.1.4, powering up a BlackBerry PlayBook Simulator 2.1 shows blank/black screen. The simulator was created around September 2012, it may have worked back in the day but with latest versions of the host OS and VMware it is not working using default configuration. The link from here mentions about supported graphics card, thus say, should support OpenGL 2.0. I am using a machine that supports Open GL 4.1 and still not working. To have a partially working simulator, change QNX boot option to 2. You can play with the simulator but developing an application that needs EGL does not work. Reference: https://developer.blackberry.com/develop/simulator/simulator_installing.html Hints/Keywords: Blank screen Black screen BlackBerry Table Simulator Not working on VMware Workstation
Installing BlackBerry Tablet Simulator 2.1 on Windows 10 fails with the error message as shown below. --------------------------- LaunchAnywhere Error --------------------------- Windows error 2 occured while loading the Java VM --------------------------- OK --------------------------- To fix this install x86 version of JRE (tested with jre-8u102-windows-i586.exe). Running the installer again will still fail. Workaround is to pass command line argument to the installer, like: BlackBerryPlayBookSimulator-Installer-2.1.0-1032-Win-201209272349 LAX_VM "C:\Program Files (x86)\Java\jre1.8.0_102\bin\java.exe" -i GUI Run the above command on elevated prompt. Tested on Windows 10 1511 (OS Build 10586.545) Reference: https://supportforums.blackberry.com/t5/Adobe-AIR-Development/Window-error-2-occurred-when-loading-java-vm/td-p/1300033
Create a new user, say timus . # adduser timus Add user to sudoers group. This enables the user to become root when needed, for example to install new software. # usermod -a -G sudo timus References: http://8thstring.blogspot.com/2013/07/howto-create-new-user-in-lubuntu.html http://8thstring.blogspot.com/2012/12/adding-existing-user-to-group-in-ubuntu.html
In Kali Linux 2016.2, Linux headers were not installed when build-essential package was installed. Linux-headers is need when installing VirtualBox guest additions. To install the headers, do: # apt install linux-headers-$(uname -r) This should apply to the following distribution as well: - Debian - Ubuntu and derivatives Reference(s): http://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files
Key Action Notes ⌘+⇧+4 Screen capture of user defined screen Saves the screenshot on the Desktop Document Shortcuts Fn+Left Arrow Home: Scroll to the beginning of a document. Fn+Right Arrow End: Scroll to the end of a document. Fn+Up Arrow Page Up: Scroll up one page. Fn+Down Arrow Page Down: Scroll down one page. mc - Midnight Commander Esc+c Quick cd (M-c) Change directory Esc+s Search/Go to directory Legends ⌘ Command ⌥ Option ⇧ Shift ⌃ Control https://support.apple.com/en-us/HT201236 http://www.osxkeyboardshortcuts.com/keyboard-symbols.html Under construction. References: https://gist.github.com/sgergely/3793166
To view Console.Write/Console.WriteLine output from within Xamarin Studio UI Test, do: If Unit Test pad/window is not visible, using App menu, do View | Pads | Unit Tests . On a test that passed (e.g., ), select test and right click, then select Show results pad ( )
Got OS X El Capitan running inside VMware Fusion 8. The default drive size is around 40GB and I wanted to change it to 120GB. Disk Utility seems like the tool to do the job but is not working properly. To resize, do: $ sudo disktuil resizeVolume / R Reference(s): https://themacwrangler.wordpress.com/2015/10/21/resizing-el-capitan-mac-volumes-under-vmware-fusion/
When changing Application Windows Event Log maximum size and you are seeing the message below then it is possible that it is set by group policy (local or Active Directory). --------------------------- Event Viewer --------------------------- The Maximum Log Size specified is not valid. It is too large or too small. The Maximum Log Size will be set to the following: 1028 KB --------------------------- OK --------------------------- This behavior can be modified allow changes via Windows Event View application. To do so open Group Policy Editor (gpedit.msc). Then navigate to Computer Configuration | Administrative Templates | Windows Components | Event Log Service | Application (for example) then change Maximum Log Size (KB) to Not configured . Note that you need to be an administrator to make the changes.
Running on liner Python is sometimes just fells awesome, practice with caution though. Below spits out uuid4 using Python one liner. c:\> ipy -c "import uuid; print(uuid.uuid4())" Reference(s): http://stackoverflow.com/questions/2043453/executing-python-multi-line-statements-in-the-one-line-command-line
When I remote desktop to Windows machines most of the time the fonts just looks ugly. This can be improved by enabling ClearType and I do this every time I connect to a box which I do several times a day. Below is a Python code that enables ClearType which I shamelessly copied from StackOverflow. Reference(s): http://stackoverflow.com/questions/5676768/enable-disable-cleartype-in-windows7
OpenSUSE Tumbleweed kernel update as of 3/31/2016 does not boot to the UI anymore. This was observed on VirtualBox 5.0.16. Workaround is to pass iomem=relaxed to the kernel, see below for details. Reboot the machine. During the boot-up press e at the screen below. Look for the line with linux and add iomem=relaxed Reference: https://forums.opensuse.org/showthread.php/514436-X-server-not-starting-after-update
#: apt install gdm3 xserver-xorg-legacy This will install just the GNOME shell, pretty lean and mean (for GNOME standard :) Note: This is a pre-release of Debian Strech Need to add xserver-xorg-legacy otherwise it will not work, might be related to this bug .
Installing Python for Windows Extensions on Python 3.5.1 64-bit C:\>pip install pypiwin32 If you are getting the following error message in importing win32gui install VC++ 2010 redistributable. >>> import win32gui Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed: The specified module could not be found. Reference(s): http://sourceforge.net/projects/pywin32/ https://www.python.org/downloads/
LXDE is pretty lightweight desktop environment. There are other lighter weight DEs out there mind you but for most practical purposes LXDE serves most of the modern x86 machines. To install minimalist (just the core) LXDE on Debian Strech, do: #: apt-get install lxde-core lightdm Note: This will also install a lighter version desktop manager LightDM This is a pre-release version, it may change without notice.
Modifying an SQL Server table that requires the table to be re-created is not allowed by default using SQL Server Management Studio for good reason. For example, changing a column of type nvarchar from 10 to 20 will result with the following error: Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created. To allow schema change for the above situation using SSMS, do the following: Open SSMS (SQL Server Management Studio). I am using SSMS 2014. For good measure, back-up the database. Navigate to Tools | Options . Click on Designers . Remove the check box on Prevent saving changes that require table re-creation . Click on OK . Proceed with changing the table schema. Again for good measure, enable Prevent saving changes that require table re-crea
On Hyper-V virtual machine with integration services installed the host machine can be identified by reading HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters\Hostname on the guest machine itself. Reference(s): http://social.technet.microsoft.com/wiki/contents/articles/219.hyper-v-how-to-find-the-host-of-a-vm.aspx
You have a .Net application that fails to load and you are suspecting that it may have to do with assembly dependencies. On a development machine fuslogvw.exe will aid you in collecting failed assembly binding but fuslogvw.exe is not normally available on production environment. So what do you do? Logging of assembly binding can be enabled via the Registry, to do so navigate to HKLM\Software\Microsoft\Fusion . Add the following keys with corresponding values: Key Type Value ForceLog DWORD 1 LogFailures DWORD 1 LogResourceBinds DWORD 1 LogPath String C:\FusionLog\ You need to restart the .Net application under test for this to take effect. The log files will be saved in C:\FusionLog . Reference(s): http://stackoverflow.com/questions/1012252/using-fuslogvw-exe-on-a-machine-with-no-visual-studio-installed
Squeak 5.0 stable as of this writing (3/21/2016) only supports 32-bit on Linux. To get this to work on 64-bit install follow the instructions below. Download Squeak 5.0 from http://squeak.org/ Extract to location, e.g., ~/apps/ Open a console $: cd ~/Downloads $: unzip Squeak-5.0-All-in-One.zip -d ~/apps/ Get 32-bit libraries Use the Squeak built-in script to get most (not all is installed) $: cd ~/apps/Squeak-5.0-All-in-One $: Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/install-libs32 This will fail with the error message below (at least on Ubuntu 15.10) Fail with the following error message: E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by regex 'lib32bz2-1.0' E: Unable to locate package libgl1-mesa-dri-lts-utopic E: Unable to locate package libgl1-mesa-glx-lts-utopic Let us fix this by running command below: $: sudo dpkg --add-architecture i386 $: sudo apt-get update $: sudo apt install lib32z1 $: sudo apt in
I was trying to get Squeak VM 5.0 running on Ubuntu 16.04 beta 1 and got the following: /home/timus/Downloads/Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/bin/squeak could not find display driver vm-display-X11; either: - check that /home/timus/Downloads/Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397//vm-display-X11.so exists, or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. ./squeak.sh: line 1: 8289 Aborted (core dumped) ./Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/squeak.sh To view library dependencies in Linux, do: $: ldd Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397/vm-display-X11 This should display library dependencies of vm-display-X11.