Category: Tips

  • Cannot login into Somfy website with my email address

    Come on Somfy’s guys… I failed to login into your Somfy Tahoma Website because of a stupid “Case” coding !

    Click to Read More

    I did create an account on Somfy Connect Website as I always do on all websites; with the first letters in uppercase for my first-name and surname.

    But on Somfy Tahoma Website, I couldn’t login with that account. I lost long minutes to figure out that on this second website, I had to type my email in lower case!!!

    Beginners !

    Loading

  • Start with DJI Spark – my own notes.

    These are a few notes for myself. I did indeed struggle to start with my DJI Spark

    Click to Read More

    Power on/off

    The power button is:

    1. on the top-right for the RC (the Remote Control).
    2. on the battery for the aircraft (the DJI Spark)

    Before switching on the RC or the aircraft, charge them by plugging the batteries on the battery loader + connecting the remote with the white USB cable on the same loader.

    Both the RC and the aircraft can be switch on by:

    1. pressing the power button once and immediately after
    2. pressing+holding it until the 4 leds are on (White leds on the RC, green leds on the aircraft).

    Once the RC or the aircraft switched on, the amount of leds being on represents the power level (1, 2, 3 or 4). The aircraft will play a short music. Its two front led should keep red while the two back leds will blink quickly.

    The switch off the RC or the aircraft, do the same operation as to switch it on.

    If the aircraft is switch off but not the RC, this one will start to beep after some time. Press any button to stop the beeps.

    Leds

    Front Leds (same side as the camera) are used to show the orientation.

    • Solid red (= not flashing) once the aircraft is turned on, to indicate the nose of the aircraft.

    Back Leds (same side as the battery) are used to show status (See User Manual for details):

    • Slow green flashing = Positioning mode with GPS
    • Two green flashes = Positioning mode with Vision System (no GPS signal)
    • Slow yellow flashing = Neither GPS signal nor Vision System (Ex: not enough light or uniform surface)

    Update the firmware.

    I found it much more easy (stable) to update the aircraft via a PC (using the DJI Assistant 2 software) than via a mobile (using the DJI GO 4 app).

    1. Install DJI Assistant 2, to be found here, on your PC and run it.
    2. Plug a battery into your DJI Spark.
    3. Connect the DJI Spark to the PC using the usb cable. The usb connector is behind a small trap, at the back of the device, above the battery.
    4. Turn on the DJI Spark. DJI Assistant 2 will soon detect it.
    5. Do a Firmware update.
    6. Redo this for each battery. Indeed, they are Intelligent Flight Batteries that need also a firmware
    7. Connect next the Remote Control to the PC.

    Notice: the remote control cannot be updated via DJI Assistant 2. It may only be updated from GJI GO 4, installed on a mobile device.

    Official Videos to update firmware:

    1. with DJI Assitant: https://youtu.be/PRlV8fsVV0U
    2. with DJI GO 4: https://youtu.be/HZE-fP28htI

    Some users report that they had to install an older version of the DJI Go 4 on their mobile, available here:
    https://www.apkmirror.com/apk/dj … droid-apk-download/

    Solve trouble to link RC and Spark.

    Linking the RC and the aircraft using the DJI Go 4 app can be difficult… if it’s the case, you can do it manually (without the app)

    Reset first the DJI Spark with the steps 1 to 5:

    1. Power up your aircraft .
    2. Press next its power button for 9 seconds (until you hear 1, next 2, and finally 3 beeps)
    3. Restart your aircraft (power off and on again)
    4. Press next its power button for 6 seconds (until you hear 1 and next 2 beeps)
    5. Restart your aircraft one more time.
    6. Now power up your remote (just now) and keep it next to the DJI Spark (< 20cm). If the led on the left is red, it means the RC needs to be linked with the aircraft.
    7. Press the power button of the aircraft for 3 seconds (until it does 1 beep). The front light should blink red.
    8. Press 3 keys on your remote to start the connection: the Pause button, the Fn button and the Custom button (which is bottom right, under the ‘camera’ shooter button). press them until the RC starts to beep continuously.
    9. Wait until the leds start to blink slowly red.

    If you don’t want to link the RC with the aircraft but only your mobile, skip the step 5 to 9 and instead, connect you mobile on the aircraft’s wifi.

    If not working, do it again but skip step 3 to 9. If DJI GO 4 is prompting you to switch the WLAN settings because you fly in another country, click CANCEL! This is said to be caused by the flight simulator which is ‘flying’ the drone in China. It should be fixed if the drone has enough GPS signal and a new home position.

    Video: https://youtu.be/GOi9WiS-PF8

    Asked for a China Mainland Number

    I didn’t test this yet, but keep it here, just in case… So far, I just click ‘Cancel’ when I am asked to switch the WLAN settings. If I accept by mistake, I am not able to connect to the aricraft WIFI anymore and has to do a complete reset as explained above.

    1. Uninstall DJI App
    2. Install a File Browser app on your phone (I used FX)
    3. Delete all folder and files you can see with the word DJI in it
    4. (Main Storage > DJI Folder), (Main Storage > dji.go.v4 Folder) and there may also be a DJI text file in Main Storage also.
    5. Reinstall the app
    6. Log into app and turn off BOTH China settings
    7. Restart App
    8. Turn on RC and AC and connect as normal

    Fly with just the Remote Control

    Yes, it’s doable! Connect the RC with the aircraft. Once done, move the left sticks bottom-right (pointing at 4h30) and the right stick bottom-left (pointing at 7h30). The motors will start to turn slowly but the aircraft won’t take off.

    Next, push the left stick up to take off. Keep it down for a few seconds to land.

    The button Pause can be used to immediately ‘stop’ and hover. The button RTH (Return To Home) should also work, but who knows where ‘Home’ is defined! (NB.: the home Point should have been recorded automatically when the aircraft was turned on.. But the GPS was possibly missing a signal. So, always check the status LED before flying: they should slowly flash green. Also note that the Home Point is redefined every 15m if the aircraft is following a subject (ActiveTrack) with Dynamic Home Point enabled).

    Without a mobile connected, you won’t see any warnings, etc… The flight will be limited to ~30m (To be verified… )

    https://www.djivideos.com/watch/84606e93-55cc-47d8-aec0-942e6ad354a9?autoplay=false&poster

    NB: I am using this cable to connect the RC and my mobile: Lindy USB 2.0 Cable Type Micro B – USB cable – Micro USB B OTG. The red end must be connected to the RC and the black one on the mobile. it is the OTG end. Always plug the cable first into the mobile and only next the OTG end in the remote.

    Use Gesture Mode

    Once the aircraft turned on and the front Leds is solid red, tap twice the power button of the battery to enter the gesture mode. Keep the aircraft in front of your face, camera pointing at you.

    The aircraft should beep twice and the front Leds should become solid green, meaning that it has succeeded in face detection. Otherwise retry to tap twice the power button of the battery and keep the camera well aligned in front of your face.

    After face detection, the leds turn solid red and the aircraft will take off and hover. You can start doing gesture at ~0.7m of the aircraft. Check that the front Leds are solid green. Solid red means that the gesture mode has quit. Blinking yellow means that it’s not working fine. (Blinking red means that the aircraft will take a selfie or video).

    Batteries

    1. Discharge the battery to 40%-65% if it will NOT be used for 10 days or more. This can greatly extend the battery life.
    2. Intelligent batteries will automatically discharge themselves after 10 days of non-use.
    3. DO NOT store the battery for an extended period after fully discharging it. Doing so may over-discharge the battery and cause irreparable battery cell damage.
    4. The battery will enter hibernation mode if depleted and stored for a long period. Recharge the battery to bring it out of hibernation.
    5. Remove batteries from the aircraft when stored for an extended period.
    6. Never over-discharge, as this may lead to battery cell damage.
    7. Battery life may be reduced if not used for a long time.
    8. Fully charge and discharge the battery at least once every 3 months to maintain battery health.
    9. Discharge a battery by turning on the aircraft and waiting until the battery is empty.

    Calibration

    The process can be tricky and looks like being freezed. But watch thist : https://youtu.be/df3ulddOqzU

    Tutorials

    1. Beginners guide: http://www.wanderworx.com/dji-spark-beginners-guide
    2. RTH: https://store.dji.com/guides/how-to-use-the-djis-return-to-home
      1. You need to record first your Home Point with at least 10 satellite GPS connections.
      2. If the drone is between 3m to 20m from its home point then it will just land.
      3. If the drone is more than 20m away, then it’ll ascend to the set RTH height before heading back home.
    3. Official Tutorials, Spec and User Manual: https://www.dji.com/spark/info
    4. DJI GO 4 Manual: https://store.dji.com/guides/dji-go-4-manual
    5. A lot of materials: http://www.spark-help.com/Spark

    Replace Propellers

    You should notice that there is a difference between the propellers: 2 have white circles on top and two don’t.

    The propellers with the white circles must be installed on the motors that have similar white marks on top.

    Find lost DJI Spark

    If you lose your spark, e.g. after a crash, there are  various ways to find it:

    Via your “Flight List”:

    • Run “DJI GO 4” App
    • Under “Enter Device”, there are 4 entries: Equipment, Editor, SkyPixel and Me… Click on “Me”.
    • Click next on “Flight Record”
    • You see your Flight Total time, Travel Distance, Flight Times, Top Distance, Top Altitude, Top Speed… And at the bottom, you can open your “Flight list”. Do that.
    • Select your very last flight. You will enter a map
    • If your GPS works, you should see you as a large blue dot, the path followed by your drone and its position as a red triangle
    • Move toward the red triangle.

    Via Find “My Drone”:

    • Run “DJI GO 4” App
    • In the upper-right corner, open the menu
    • Select Find My Drone
    • You will see a map with where you are (blue triangle) and where is your drone (red triangle)
    • Click on the drone (red triangle) and you get a menu to make it beeps or lights if connected. You also see its coordinates
    • Click on the coordinates. This is going to copy them into the clipboard.
    • Open Google Maps and paste the coordinates. NB.: the separator must be a dot. Ex.:  50.894952, 4.341613
    • If your GPS works, you should see you as a blue dot
    • Move toward the target.

    Via the map in Fly Mode:

    • If the drone is still connected, and you see a mini map on your screen, as a picture in the first person view, open it.
    • You should be indicated as a large blue dot  and your drone as a red triangle.
    • Move toward the red triangle.

    Do Sphere photos

    1. Use DJI Media Maker on PC to create the Panoramique 360
      1. Drag and drop the folder, with the parts, from the sd card (<drive>:\DCIM\PANORAMA\100_xxx) onto DJI Media Maker and select Mode: Panorama 360°
      2. Select the Output Folder. I pick a the “public” shared folder on my Synology as one has next to transfer the image on a mobile/tablet.
    2. + Tiny Planet Maker on Android:  https://www.youtube.com/watch?v=_pMZFLYbqoU
      1. Transfer the panoramique image produced on your PC with DJI Media Maker and enjoy 😉

    Or download the tiny planet directly from the DJI while connected and in “Fly mode”

    1. In the bottom-right corner of the DJI Go 4 app, whil ein Fly mode, there is a “play” icon. Press on ti.
    2. There, once can see the Library with videos, photos and panoramics including photospheres.
    3. Click on a photosphere to download the picture and create the globe.
      1. Look at the blue progress bar at the bottom of the screen for the progress. It can be very slow, first downloading all images and assembling them next (stitching Pano images)
      2. Do not go back to the library (arrow in the upper-left corner of the screen) during the download as progress would be lost. You may do it during the assembling part however.
      3. Once the download is done, the screen can become black with a spinning icon never stopping. Go back to the library and reopen the photosphere
      4. You can touch the photosphere to zoom-in but will not be able to zoom out manually
    4. Next you will be able to store it in the your local album of your phone (for edition) using the icon “download” in the bottom-right corner

    Once photosphere downloaded from the DJI spark with the DJI GO 4 app, they can be opened with Theta+. This one is really great as it can create Ballon mirrors, tiny planets, animations, …

    1. Theta+ 1.6.1 for Android use to work also with photosphere created wtom a PC using DJI Media Maker : https://www.youtube.com/watch?v=0oAPxgZ1kP8&t=194s 
      1. This version has 3 butons on Theta+’s home screen : Edit image, Animation and Timelapse. If not, you don’t have the right version
      2. Mirror APK: https://apkpure.com/theta/com.thetaplus
      3. But since my first attempts, it does not see any photos in my library anymore… It’s a pity because it was doing very nice animations.

    Mode Fly Modes

    Use DJI Go 4 Mod from here.

    You will have access to all Mavick Pro’s fly modes, described here.

    Take photos

    When used Auto-Exposure, it can be useful to lock it. For that, touch the screen on the area to be used. A target with an opened lock appears and the exposure is adapted. Touch the lock and it will be closed. A message “Auto Exposure locked.” appears. Touch again somewhere to unlock the Exposure and recalculate for the selected area.

    Legal information

    European information : http://dronerules.eu/en

    All legal Belgian information: https://mobilit.belgium.be/fr/transport_aerien/drones (No version [EN]).

    A Belgian Brochure: https://mobilit.belgium.be/sites/default/files/resources/files/asil_2017_01_pilotage_de_drones.pdf (Version [EN]).

    List of restricted area:

    • https://www.dji.com/flysafe/geo-map
    • in Belgium: https://droneguide.be

    Loading

  • TuneBlade: problem initializing audio capture.

    I just had this error message when trying to connect TuneBlade on my Airplay Yamaha: “There was a problem initializing audio capture. Exception from HRESULT 0x88890008”

    I fixed it in 5 seconds by reconfiguring my playback device.

    Click to Read More

    1. In the Systray, right the Speaker icon and select “Playback devices” in the menu. This is opening a “Sound” window.
      1. On Windows 10, there is no entry “Playback devices”. Instead, click on the entry “Sounds”
    2. In the tab “Playback” of this window, select the speaker currently used by the PC and click the button “Configure” at the bottom left.
    3. Do reconfigure your playback device.

    In my case, my playback device was reset to “Stereo” although it should have been 7.1 Surround. This usually happens after an upgrade of its Realtek Audio Drivers.

    Loading

  • IP Camera Apeman ID72 – Softwares, Firmware, …

    I just bought a cheap IP PTZ camera 1080p: an Apeman ID72. The user guide is enough to quick start. But I couldn’t find how to change the DNS settings, access the web interface, etc… I finally found a website with enough info to figure out the URL of the Web UI.

    Click to Read More

    I bought this camera as it supports ONVIF and I was intending to manage it from Synology’s Surveillance station. I did succeed but it was not obvious.

    1. ONVIF port is 10080
    2. Video format is H.264
    3. Audio format is G711.
    4. Resolution is set to 1920×1280
    5. Frame rate is 15
    6. Transport protocol is TCP

    I am using an ethernet connection between the camera and my Synology. The video is smooth and PTZ is responding fast.

    The Apeman ID72 is part of the “T,C Series” (it’s a C). It’s not from the “PnP T,C Series”.

    • Official Website: http://www.apemans.com (ID72)
    • EyeCloud Softwares: http://www.eyecloud.so (for Android devices, iPhone and Windows + IPCam Finder for Mac and Windows)
    • Online CD, Video and other software: http://cd.ipcam.so
      • Central Management Client (For PC): Central Management Client is a Windows software used to manage multiple IP cameras. It is characterized with multi-camera monitoring, PTZ control, record, alarm and access authority management function, as well as easy operation and strong capability.
      • Smart upgrade tool: Using this tool, you can just press a button to automatically upgrade IP-Camera’s firmware to the latest one. It can be used to update both the Http Web UI and the Firmware of the camera.
      • IP Camera Wizard: Use this tool to setup the Camera and configure its network environment.
        • At step 3, the wizard shows the http port configured to access the admin UI of the camera via a web browser (a.k.a.: Web UI).
          • Once connected via the browser, you have access to all the settings. This is for me the most convenient to do any advanced configurations.
        • Reconfigure that port, the submask and the gateway
        • Check the DDNS
        • Define Port Forwarding

    Using the IP Camera Finder from http://www.eyecloud.so, you will see the Http URL to be used to access the admin page in a browser (including the admin port if any). Notice that for some reason, the IP camera disappears and reappears very 3 seconds in that IP Camera Finder… So it’s nearly impossible to configure it there (it should be doable). I could only change settings via the Web UI or via the IP Camera Wizard.

    I did also use successfully the Central Management Client (“IP Camera Super Client”) from http://cd.ipcam.so to find my camera and note its IP and admin port.

    Notice that, via the Web UI, I tried to set 80 as the http port used to access that UI. Unfortunately, although this was rebooting the camera as expected, another port always appeared to be assigned after the reboot… I was only able to successfully change the http port via the IP Camera Wizard, via the “Advance Mode” and only when defining a “Static IP address” (it didn’t work when choosing “Dynamic IP address”). NB.: the http port is neither the ONVIF port, nor the RTSP port. The ONVIF port is 10080. The RTSP port can be changed via the Web UI.

    Each time I change a setting via the Web UI, the camera reboot and reset the http port I have configured 🙁

    I was not able to configure (or even find where to configure) the DDNS. I found the DDNS password in the tab “Other” of the IP Camera Wizard (in “Advance Mode”). But each time I enter the DDNS step of the “IP Camera Wizard” (in mode “Wizard”), I get an error message:

    Obtaining DDNS options from the camera…
    Failure: DDNS has not chosen then IPCam type, please click the “Settings” button to change the settings.

    I also get an error when entering the setp “Port Forwarding”:

    Error: unknown error

    please contact the IP camera supplier.

    I was also unable to disable the access to the camera via the Cloud. I am indeed not interested in that feature.

    To do a Factory Reset, you must use the Web UI (I didn’t find this option in the IP Camera Finder or IP Camera Wizard). Notice that I played with so many settings that I had to do a Reset Factory before being able to connect the camera with Synology Surveillance Station…

    As far as I am concerned, I have triggered the firmware update via eyeCloud on my Android Mobile (it’s done without manual intervention) as I didn’t find where to download the files. It succeeded without any problem. The versions are now:

    • Firmware: 48.53.203.110
    • Web UI: EN203.26.1.20

    Although the quality of the video is good, from a configuration perspective, I really prefer my Foscam cameras! Otherwise, it does not make a lot of noise when moving (compared to my Foscam) . The camera rotation speed can be adjusted and will be used by EyeCloud but not impact by Synology Surveillance Station.

    Loading

    ,
  • Home Made Cable Management

    It used to be a mess on my desk due to the amount of usb cables that I am using. I have now built my own solution to keep the cables well organized.

    Click to Read More

    The solution is based on the principle of pulley wheels. It’s ugly, quite expensive, but quite efficient. I did use:

    I can now access my cables easily when I need them. And they park automatically when I release them…

    Loading

  • Play “Steam” games like “Lego Star Wars” on NVidia Shield TV [streamed from PC]

    Today, my daughter asked me to buy “Lego Star Wars: The Force Awakens” for our NVIDIA Shield TV. Unfortunately, I found that it was not only ~30€ but also that it required a ~8€/month subscription to NVidia GeForceNow. As we really don’t play that often, this was not acceptable for me. Fortunately, as I have a PC with a Nvidia Geforce GTX 760 I found a solution without the need for a subscription: use “Steam (in BigPicture Mode)” and stream it to the NVIDIA. And “Cerise sur le Gateau”, it did only cost 6€ as there was a special promo this weekend on Instant Gaming.

    Click to Read More

    So, instead of buying Lego Star Wars: The Force Awakens for NVIDIA on GeforceNow, I bought if for PC on Steam with the idea to use it via “NVIDIA GameStream”.

    Once installed on my PC via Steam, I did try it. Unfortunately, instead of running correctly, it did start minimized. This is a well know issue with games from Steam and the solution is to define manually the resolution of your screen. For Lego Star Wars:

    1. Open the folder C:\Users\<Your Account>\AppData\Roaming\Warner Bros. Interactive Entertainment\LEGO STAR WARS The Force Awakens
    2. Edit the file PCConfig.TXT and set the resolution and the refresh rate of your main screen into it
      1. ScreenWidth 1920
      2. ScreenHeight 1080
      3. WindowWidth 1920
      4. WindowHeight 1080
      5. ScreenRefreshRate 60
    3. Save.

    Once successfully tested, I did close the game and, still on my PC, I did:

    1. Open NVIDIA’s GeForce Experience (Press :win: and type ‘GeForce’) and logged in with my account
    2. Open the Parameters (icon on the left of your account)
    3. Select the menu “SHIELD” on the right
    4. Enable the option GAMESTREAM
    5. And add the Steam game as those are not automatically detected (Ex.: C:\Program Files (x86)\Steam\steamapps\common\LEGO STAR WARS The Force Awakens\LEGOSWTFA_DX11.exe)

    Finally, on my NVIDIA Shield TV, I did:

    1. Open “NVIDIA Games” (It is under “Games” and not under “Applications”)
    2. Go to “My Library”
    3. Select “GameStream”
    4. The first time “GameStream” is accessed, it asks for your login. Use the same login as the one for “GeForce Experience”!
    5. Once connected, your PC is detected and
      1. All games available via GeForce Experience appear, including those you have added in GeForce Experience > Parameters > SHIELD. You can run any of those. They will play on your PC and be mirrored onto your NVIDIA
      2. one Icon STEAM also appears. This one can be used to start “Steam in BigPicture Mode” on your PC and stream it automatically to your NVIDIA.

    Screenshots here.

    Now, instead of using “NVIDIA Games”, I can also directly run “STEAM” (also available under Games).

    And obviously, not only the video but also the sound is redirected from your PC to your NVIDIA. And in the opposite direction, commands from your SHIELD Controllers are send to the PC. So yes, you can play with them.

    Loading

  • Download all Images from Imgur’s account for backup reasons

    I have been looking for a quite long hour how to download all images from my Imgur account.

    The solution is damn stupid simple: use the button “Download account images” in the “Settings” page.

    Click to Read More

    Download Imgur Images
    Download Imgur Images

    This button will download a zip file with all your images…

    To download a public album, of any user, you can also simply use MyJdownloader 😉

    Loading

  • Prolong OnePlus One Battery life by limiting charge

    My OnePlus One being only used to play music via AirPlay, it’s always plugged into his craddle. I knew this was not good for the battery life and started to look for an App able to prevent my mobile to reload as long as its battery was not less than a certain percentage. I found a paper recommending to reload only once the battery was lower than 25, but also recommending to no reload higher than 85%. And I found an App able to control this on many rooted android phones: “Battery Charge Limit“.

    Click to Read More

    According to this paper, it’s not good for lithium batteries’ life to do cycles between full charge (100%) and full discharged (0%). Ex.: Doing cycles between 85% and 25% provides a longer service life than doing cycles between 100% and 50%.

    For sure, only a full charge (100%) will provide the specified energy of the battery, and therefore its maximum runtime. So, one has to find a compromise:

    • Cycles between 75–65% offer longest life
    • Electrical Vehicles do cycles between 85–25% to prolong battery life
    • Cycles between 100–25% give long runtime, makes best use of battery, but reduces battery life.

    All being linear, the life-prolonging mid-range of 85-25% reduces the energy to 60 percent.

    More details on the App “Battery Charge Limit” on this blog.

    Loading

  • Easy Root Toolkit for OnePlus One

    My OnePlus One is already a quite old mobile, but I am still using it at home to play music. I recently reinstall Cyanogen Mod 13 and wanted to root it as this is required to use AirAudio. To avoid doing many manual operations, I looked for a fully automated toolkit and found “Bacon Root Toolkit“.

    Click to Read More

    Highly recommended, it works like a charm!

    A demo video exists on YouTube.

    http://www.wugfresh.com/brt/

    Loading

  • Display standard quotes in a WordPress post

    Single and double quotes typed in a post are displayed by WordPress as directionnal quotes: ‘blabla’ or “blabla” (I.e.: left/right single/double quotes). This becomes an issue when publishing “shell scripts” samples to be copy/pasted. The solution is to type “encoded quotes”. Ex.: & #39; for ' or & #34; for " (without the blanks between & and #).

    Click to Read More

    This is due to the WordPress converting Straight Quotes to Pretty Quotes… a feature also named Smart Quotes and due to a filter running in WordPress: the “wptexturize”.

    Here after, an example I used to post to illustrate how to send custom notifications from a script running on a Synology. The code was directly copy/pasted here from a shell script opened within Notepad++ (where the quotes appeared as &#39 and &#34).

    /usr/syno/bin/synonotify Tag_Name ‘{“[%VAR1%]”: “value1”, “[%VAR2%]”: “value2”}’

    As you can see above, the single and double quotes are displayed by WordPress as symbols: ‘…’ and “…”.

    The problem is that readers who copied/pasted as-is this sample in their script got execution errors. Indeed, a ‘ and a &#39 are not interpreted the same way within a shell.

    To solve this issue, I did replace all ‘ and ” respectively by & #39 and & #34 (without the blanks between & and #). I don’t use the menu Insert > Special Character as

    Another option would be to disable the “pretty-fication” feature… This can be done by opening up your theme’s functions.php file and pasting the following code at the bottom right before the closing ?> PHP tag:

    remove_filter('the_content', 'wptexturize');

    Notice that Quotes in preformatted text (as here just above) are not replaced by Smart Quotes. But one one side, this can’t be used on Quotes typed inline, and on the other side, I don’t use preformatted text for my code samples…

    Yet another option would be to use a plugin like the Smart Quote Fixer to remove the Smart Quotes.

    But I prefer to use type the num codes as I don’t want to disable Smart Quotes on the complete post…

    Loading

    ,