Write Unit Tests for Your Drupal 7 Code (part 1) | Lullabot https://www.lullabot.com/articles/write-unit-tests-for-your-drupal-7-code-part-1
How to Clone a MySQL Database. Useful for Development
You can also use mysqldump and mysqlimport to transfer the database. For large tables, this is much faster than simply using mysqldump. In the following commands, DUMPDIR represents the full path name of the directory you use to store the output from mysqldump.First, create the directory for the output files and dump the database:
shell> mkdir DUMPDIRshell> mysqldump --tab=DUMPDIR db_nameThen transfer the files in the DUMPDIR directory to some corresponding directory on the target machine and load the files into MySQL there:
shell> mysqladmin create db_name # create databaseshell> cat DUMPDIR/*.sql | mysql db_name # create tables in databaseshell> mysqlimport db_name DUMPDIR/*.txt # load data into tablesDo not forget to copy the mysql database because that is where the grant tables are stored. You might have to run commands as the MySQL root user on the new machine until you have the mysql database in place.
After you import the mysql database on the new machine, execute mysqladmin flush-privileges so that the server reloads the grant table information.
Source: MySQL :: MySQL 5.0 Reference Manual :: 2.19.5 Copying MySQL Databases to Another Machine
Currently the best way to make a clone of a database on the CALI dev environment. Useful as a aid to development allowing the developer to test new things out on copy of a db so if it goes wrong you can get back to where you were.
Build splash sites with Gulp AWS Splash
The open-source LaunchRock alternative. Build beautiful splash pages to collect emails & more – primarily focused on performance and rapid development.
Gulp AWS Splash https://github.com/niftylettuce/gulp-aws-splash
You’ve seen those spiffy one page announcement sites for the web’s next big thing. This is an open source system that helps you build them quickly and easily. The idea is to acquire customers quickly and these pages are designed to do that.
Requires node.js and npm. Makes use of Google Analytics, Mailchimp, and various AWS services.
Seldon is an open source recommendation platform
Seldon is made up of many components that work together to deliver the best recommendations. Roughly, all user actions are captured via the REST API and streamed to logs. Those logs are processed in batch and new user models are delivered to the API Server. Then recommendations are delivered via the REST API.
http://docs.seldon.io/tech.html
The code for Seldom is on Github at https://github.com/SeldonIO/seldon-server.
How to Completely Customize the WordPress Login Page
The WordPress login page provides a generic looking one-size-fits-all solution for logging into WordPress. The only problem is customizing it can get a little awkward. In this comprehensive tutorial we show you how to modify the login screen to look exactly how you want.
Source: How to Completely Customize the WordPress Login Page
Swagger | The World’s Most Popular Framework for APIs.
Swagger | The World’s Most Popular Framework for APIs. http://swagger.io/
MySQL Performance Analyzer is an open source project for MySQL performance monitoring and analysis.
MySQL Performance Analyzer is an open source project for MySQL performance monitoring and analysis. https://github.com/yahoo/mysql_perf_analyzer?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+feedsapi%2FBwPx+%28Hacker+News+Top+20+Full+feeds+by+FeedsAPI%29
Phabricator is a suite of open source tools for peer code review, task management, and project communication.
Phabricator is a suite of open source tools for peer code review, task management, and project communication.
Source: Phabricator
Windows apps I use regularly
I recently had the opportunity to reinstall Windows 7 on my laptop and figured it was a good time to make a list of the programs and utilities I use regularly on Windows. Most stuff is open source and/or free. There are a few commercial packages that I use a lot that I really like so I’ve included those on the list too. I don’t work in Windows that often, but when I do these are the things I use.
- Firefox – https://www.mozilla.org/en-US/firefox/
- Chrome – http://www.google.com/chrome/
- Classic Shell – http://classicshell.net/
- Ditto Clipboard Manager – http://ditto-cp.sourceforge.net/
- Gadwin PrintScreen – http://www.gadwin.com/printscreen/
- 7 Zip – http://www.7-zip.org/
- Notepad++ – http://notepad-plus-plus.org/
- VirtuaWin – http://virtuawin.sourceforge.net/
- Keepass 2.x – http://keepass.info/
- Owncloud – http://owncloud.org/
- Git – https://msysgit.github.io/
- Putty – http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- Filezilla – https://filezilla-project.org/ (watch for crapware installs)
- LibreOffice – https://www.libreoffice.org/
- Bitorrent – http://www.bittorrent.com/bittorrent-free
- Tweak UI – http://www.thewindowsclub.com/ultimate-windows-tweaker-v2-a-tweak-ui-for-windows-7-vista
- MySQL Workbench – https://www.mysql.com/products/workbench/
- CALI Author – http://www.cali.org/content/cali-author-download
- XAMPP – https://www.apachefriends.org/index.html
- Skype – http://www.skype.com/
- Dropbox – http://www.dropbox.com/
- Komodo – http://komodoide.com/
- Slack – https://slack.zendesk.com/hc/en-us/articles/201746897-Slack-apps-for-computers-phones-tablets
dokku :: viewdocs.io The smallest PaaS implementation you’ve ever seen.
Dokku – Docker powered mini-Heroku. The smallest PaaS implementation you’ve ever seen. http://progrium.viewdocs.io/dokku/index