Skip to main content

Posts

Creating a file-based SWAP on your Beagleboard

On the Beagleboard you should expect to require a swap file given the limitation of how little RAM is available (between 256 MB and 512 MB). Some system programs like apt-get will only run properly when some swap space is present (due to 256 MB not being enough RAM). Some images (such as those from Linaro.org) do not come with a swap partition or any swap space allocated. Under Linux, swap space can be either a dedicated partition or a swap file. Both can be mounted as swap which the OS can access. Creating a Swapfile The following commands will create a 512MB file, limit access only to root, format it as swap and then make it available to the OS: sudo mkdir -p /var/cache/swap/ sudo dd if=/dev/zero of=/var/cache/swap/swapfile bs=1M count=512 sudo chmod 0600 /var/cache/swap/swapfile sudo mkswap /var/cache/swap/swapfile sudo swapon /var/cache/swap/swapfile To tell the OS to load this swapfile on each start up, edit the /etc/fstab file to include the ...

Tcpdump Tutorial With Examples

Tcpdump is a common packet analyzer that runs under the command line. It allows the user to display TCP/IP and other packets being transmitted or received over a network to which the computer is attached.[3] Distributed under the BSD license,[4] tcpdump is free software. Tcpdump works on most Unix-like operating systems: Linux, Solaris, FreeBSD, DragonFly BSD, NetBSD, OpenBSD, OpenWrt, macOS, HP-UX 11i, and AIX. In those systems, tcpdump uses the libpcap library to capture packets. The port of tcpdump for Windows is called WinDump; it uses WinPcap, the Windows port of libpcap. I've read through a lot of how-to articles in the past. and this article "TCPDUMP Tutorial with Examples" is the most thorough, most intuitive articles that I've read.

Javascript slider examples

JavaScript is a scripting language for the web. Microsoft refers to their implementation of it as "JScript" but in terms of syntax it's pretty much the same. jQuery is JavaScript. It is a JavaScript library, so it operates on top of JavaScript. It cannot exist on its own, so you can't use one over the other. You can use just JavaScript or JavaScript and jQuery. In other words, jQuery is a software library, written in JavaScript, whose intention is to help JavaScript developers when writing code that is to be run in a web page. jQuery is designed to make many JavaScript development tasks much easier. Use jQuery when it will significantly reduce your development time, and you can afford the extra overhead of downloading the library. Personally my reasons of using jQuery/JavaSccript libraries are: Complex element selection Animation Event handling crossbrowser support easy element selection customizable plugins large support community very popular jQ...

hreflang? what is it? where does it come from?

Hreflang tags are a technical solution for sites that have similar content in multiple languages. The owner of a multilingual site wants search engines to send people to the content in their own language. Say a user is Dutch and the page that ranks is English, but there’s also a Dutch version. You would want Google to show the Dutch page in the search results for that Dutch user. This is the kind of problem hreflang was designed to solve. And for the  Webmasters who serve several versions of their content in different languages or for users in different countries should use   hreflang annotations   to help Google show the right version in the search results for each user. In this article, " How to implement hreflang tags... ", the author has lay out the steps from begin to finish on the right ways of implementing hreflang tags for your multilingual and multinational web sites. In another article, " hreflang: the ultimate guide ", the author has outlined the...

The most effective SEO tools for your website

Look no further, I have gathered a list of Search-Engine-Optimization (SEO) tools for anyone to maintain and monitoring your website traffic and performance. A very good list of SEO tools can be found in this SEO checker article https://smallseotools.com/website-seo-score-checker/ For a simple quick status check on your website, this SEO tool  will give you the insight information about your website. https://smallseotools.com/website-seo-score-checker/ Also, for performance checking, you should always enable gzip compression on your web server. To check if your web server is gzip enabled, CheckGZIPCompression tool is a great tool. Is your web site optimized for Chat APPs and social networks ? Most likely NOT ! RichLinkPreview is an awesome tool to validate your web site for Chat APPs and social networks.

Stream your IP web camera to YouTube Live

Ever wish to embed your IP camera's video stream on website?  By sending your IP camera’s video stream to YouTube and integrating the player into your website,  you can create a reliable 24/7 live view for an almost unlimited number of users. If streaming to YouTube is possible, depends on your camera’s capability to provide a H.264, MJPEG or MxPEG stream, and on the camera connection bandwidth. At least 1Mbit/s (upload) is recommended; but streaming with lower framerate and resolution will work. how-to article on setting up your IP webcam for a live streaming on Youtube https://webcam.io/blog/stream-to-youtube.html

Google Search Console & hreflang implementation

Google uses the hreflang attributes to serve the correct language or regional URL to the right users in search results.  To understand what "hreflang" and how it works in relationship to SEO, this is a really good article about  hreflang implementation https://yoast.com/hreflang-ultimate-guide/ To generate hreflang for your web site, This hreflang generator tool will definitely help you. https://www.aleydasolis.com/english/international-seo-tools/hreflang-tags-generator/

Freenom World is a fast and anonymous Public DNS resolver

Freenom is the world's first and only free domain provider. Our mission is to bring people online and help countries develop their digital economy. Free domains work exactly like any other domain name. You can use it for your website, your blog, email account and more! You can choose to run your free domain with URL Forwarding, free Freenom DNS Service or your own DNS (Name servers). Domain extensions currently available for free registration: http://www.freenom.com/en/freeandpaiddomains.html

How to Rank - A Quick Guide for SEO Newbies

Just came across this how-to article about web site ranking . https://www.blackhatworld.com/seo/how-to-rank-a-quick-guide-for-newbies.781273/ Step One: KW Research The biggest reason you are not 'Making Bank' is because you picked the wrong damn Key Word. KW means Key Word. That is the specific term you want to rank for.  The biggest misconception on BHW is KW Competition. So I will break down how I determine what is KW competition: Super Easy: Top 10 Results have no On - Page Optimization for the KW and are not strong domains.  Easy: Top 10 have a couple On - Page Optimization for the KW but they are not authority sites.  Relatively Easy: Top ten are all Optimized for the KW but no authority sites.  Medium: Top 10 has full On - Page Optimization and a couple (Maximum) Authority Sites. Hard: Top 10 has more than three Authority Sites Optimized or three sites with an excellent backlink profile.  Very Hard: Top Ten has Six or More Authority / Strong Backlink ...

Library for performing speech recognition, online and offline

This github project has a very detail description on some of the most popular speech recognition engines with installation steps and how-tos. Speech recognition engine/API support: CMU Sphinx  (works offline) Google Speech Recognition Google Cloud Speech API Wit.ai Microsoft Bing Voice Recognition Houndify API IBM Speech to Text Snowboy Hotword Detection (works offline) https://github.com/Uberi/speech_recognition

50 組吸眼球配色 每個都讓人愛不釋手

讓簡報設計看起來生動的一個重要關鍵,就是選擇正確的顏色搭配。 然而不論你希望藉由壯麗的風景、浪漫的落日或色彩鮮豔的活潑景象,引起觀眾的共鳴,都需要配合長時間的練習和經驗,才能找到最完美的色調搭配。 為了大量節省各位的時間和精力,我們製作一系列顏色搭配組合,讓所有人都能自由使用。這些顏色組合已經在 Visme 上開放。你可以輕易藉由以下動畫提供的方式,將這些顏色組合使用在自己的設計之中。 https://www.beforafter.org/blog/2016/50-color-combinations

Google gtag.js is now recommended over analytics.js

Site Tag Manager is now the replacement for UA. Unlike analytics.js, gtag.js doesn't use trackers to send data to Google Analytics. It sends data to Google Analytics properties identified by their tracking IDs set by the  config  command. The event names supplied to gtag.js specify the types of data being sent to Google Analytics. for more detail information about how to migrating to gtag, please click on the following link: https://developers.google.com/analytics/devguides/collection/gtagjs/migration

Happy Chinese New Year

wishing everyone a prosperous new year.

IoT connectivity

NB IoT For applications that don’t move while in use and only require minimal bandwidth, NB IoT is a great option. It does not support full mobility (i.e. handoff between towers), but it does not need to, because assets are relatively stationary. Uses for NB IoT include street lighting, industrial monitors, parking and utility meters, heavy equipment tracking, and alarm panels. It is important to note that while NB IoT may not be mobile,  it is  transportable. If an asset leveraging NB IoT technology changes locations, connectivity can be re-established with the nearest tower once stationary. Think of a moving company that provides containers as an option for transporting assets. They want to know whether or not the container has been dropped off at the customer’s location and when it has been picked up for delivery. NB IoT can pinpoint its resting location. But what about its “in-transit” status once the pod is mobile? There is an LTE technology for that, too. Ca...

Project management

https://blog.capterra.com/16-underground-free-project-management-tools/