Skip to content
EscapeQuotes

EscapeQuotes

Blink your leds!

Menu

  • ESP8266
  • Micro:bit
  • Raspberry PI
  • Arduino
  • CodeIgniter

bash

PHP short tags: if/else

Alternative syntax for control structures. PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to

escapequotes January 21, 2014January 21, 2014 bash, php No Comments Read more

Raspberry PI install RPi.GPIO

To install on raspbian: apt-get -y install python-rpi.gpio raspberry-gpio-python package provides a class to control the GPIO on a Raspberry Pi. To get started with RPi.GPIO, it would be worthwhile reading the examples here. Note that this module is unsuitable for real-time

escapequotes December 10, 2013December 10, 2013 bash, linux, raspberry pi No Comments Read more

Linux: Netstat Command Examples

Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc. List All Ports (both listening and non listening ports) #netstat -a root@localhost:~# netstat -a | more Active Internet connections (servers

escapequotes November 15, 2013 bash, linux No Comments Read more

MySQL Utilities – Brief overview of command-line utilities

MySQL Utilities This is a brief overview of the MySQL command-line utilities. See their respective manual pages for further details and examples: mysqlauditadmin Monitor the audit log. Copy, rotate, and configure the audit log mysqlauditgrep Search the audit log. Output results to

escapequotes April 11, 2013 bash, linux, mysql No Comments Read more

GNUPG – gpg encrypt files

GNU Privacy Guard (GnuPG or GPG) is a GPL Licensed alternative to the PGP suite of cryptographic software. PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography and finally public-key cryptography; each step uses one of several supported algorithms. Each public key is bound to

escapequotes February 6, 2013March 28, 2013 bash, linux No Comments Read more

cURL – upload files and submit data

curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST,

escapequotes January 30, 2013January 30, 2013 bash, linux No Comments Read more

Scheduling tasks with cron

Cron is a daemon used for scheduling tasks to be executed at a certain time. Cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.   Each user has a

escapequotes December 13, 2012December 13, 2012 bash, linux No Comments Read more

Hello world!

First article! Definitely must be a “Hello World” examples article. A “Hello World” program is a computer program which prints out “Hello, world!” on a display device. It is used in many introductory tutorials for teaching a programming language. It

escapequotes December 11, 2012December 13, 2012 bash, javascript, linux, mysql, php No Comments Read more
Copyright © 2025 EscapeQuotes. Powered by WordPress. Theme: Spacious by ThemeGrill.