Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Android Contacts – Clear/Remove Notes

Posted on December 11, 2013October 26, 2015 By David Kittell
SELECT data1
FROM data
INNER JOIN mimetype ON mimetype_id = mimetypes._id
WHERE mimetype LIKE "%note%"
	AND length(data1) > 0
UPDATE data
SET data1 = NULL
FROM data
INNER JOIN mimetype ON mimetype_id = mimetypes._id
WHERE mimetype LIKE "%note%"
Originally Posted on December 11, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code SQL

Post navigation

Previous post
Next post

Related Posts

Open/Close Elements

Posted on June 12, 2013October 26, 2015

Sometimes you need to be able to hide elements on a page, the following functions will help with the task of hiding/showing those elements. function eToggle(anctag, darg) { var ele = document.getElementById(darg); var text = document.getElementById(anctag); //alert(text.id); //alert(text.value); if (ele.style.display == "block") { ele.style.display = "none"; text.value = " Open…

Read More

Get IP Address

Posted on December 14, 2013November 13, 2015

Public Function GetIPAddress() As String Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName) Return h.AddressList.GetValue(0).ToString End Function public string GetIPAddress() { string myHost = System.Net.Dns.GetHostName(); string myIP = null; for (int i = 0; i <= System.Net.Dns.GetHostEntry(myHost).AddressList.Length – 1; i++) { if (System.Net.Dns.GetHostEntry(myHost).AddressList[i].IsIPv6LinkLocal == false) { myIP = System.Net.Dns.GetHostEntry(myHost).AddressList[i].ToString(); } } return…

Read More

Remotely Find Raspberry Pi IP

Posted on October 13, 2015October 13, 2015

First install nmap sudo apt-get install nmap Then run IP addr show and look for something like ‘inet 10.1.1.68/24 brd 10.1.1.255’ ip addr show eth0 Now based on the inet IP CIDR type sudo nmap -sn 10.1.1.68/24 You should see something like this Nmap scan report for 10.1.1.54 Host is…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes