Are you over 18 and want to see adult content?
More Annotations
A complete backup of officialpanthersfootballauthentic.com
Are you over 18 and want to see adult content?
A complete backup of medicographia.com
Are you over 18 and want to see adult content?
A complete backup of roycefreemanjersey.com
Are you over 18 and want to see adult content?
A complete backup of wpthemesgallery.com
Are you over 18 and want to see adult content?
A complete backup of revistaecosistemas.net
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of https://finextra.com
Are you over 18 and want to see adult content?
A complete backup of https://identidadgeek.com
Are you over 18 and want to see adult content?
A complete backup of https://salzgitter.de
Are you over 18 and want to see adult content?
A complete backup of https://rockportusa.com
Are you over 18 and want to see adult content?
A complete backup of https://briskbard.com
Are you over 18 and want to see adult content?
A complete backup of https://my-easy-cooking.com
Are you over 18 and want to see adult content?
A complete backup of https://clinicalstudydatarequest.com
Are you over 18 and want to see adult content?
A complete backup of https://learntocodewith.me
Are you over 18 and want to see adult content?
A complete backup of https://autosalon.be
Are you over 18 and want to see adult content?
A complete backup of https://winningplaces.com
Are you over 18 and want to see adult content?
A complete backup of https://audio-technica.co.jp
Are you over 18 and want to see adult content?
Text
blogpost.
OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill. ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
CAT A FILE, WITHOUT THE COMMENTS Cat a File, Without the Comments. I recently had to install a couple of squid servers to act as reverse proxies for a webcluster. You can teach the squid server to stand in between in the end users and the webservers, and to store all the static content ( .jpg .flv .css .htm for example ) in the RAM. This saves a lot of I/O and bandwidth on the SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
MAKE SSH CONNECTIONS WITH PHP A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
CAT A FILE, WITHOUT THE COMMENTS Cat a File, Without the Comments. I recently had to install a couple of squid servers to act as reverse proxies for a webcluster. You can teach the squid server to stand in between in the end users and the webservers, and to store all the static content ( .jpg .flv .css .htm for example ) in the RAM. This saves a lot of I/O and bandwidth on the SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
MAKE SSH CONNECTIONS WITH PHP A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. THE UNIVERSAL MAKEFILE FOR JAVASCRIPT The :-lets us specify a default value, so that if I run npm run minify on the command-line without setting any environment, app is chosen as a default minify output. Running npm run build:plugins, overrides this defaults and minifies the plugins bundle for me.. For a larger example, check out Google's Addy Osmani's Gist that demonstrates his real world task runner in npm scripts. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss:INTRODUCING LANYON
January 4, 2017. Introducing Lanyon. This project also has its own homepage at lanyon.io. Lanyon is a static site generator. It functions as a wrapper around Jekyll, Webpack, and BrowserSync, in an attempt to give you the best of all worlds. Lanyon allows you to build and refresh assets instantly and offers fast and reliable file watching. BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
PHP: TIFF2PDF
ps2pdf: Convert PostScript to PDF using Ghostscript. Imagick (The tiff2ps Step) Imagick is a native PHP extension to create and modify images using the ImageMagick API. It's twice as fast as making system calls to ImageMagick commands and in this case I am using Imagick to create the in-between .ps (PostScript) file. GITHUB SPRING CLEANING Starting is simple. You create a container repo on Github named deprecated, add it as an origin to existing repos, force push current master to a named branch, and done. However, spring cleaning is no fun without automation, so we wrote a script to do this for you. Just change the repo_sources and repo_destiny variables. RUN NODE.JS AS A SERVICE ON UBUNTU We decided to go conventional and chose www-data. We found the easiest way was to prepend the Node executable with a sudo like this: exec sudo -u www-data /usr/local/bin/node. Don't forget to change your export HOME accordingly. Restarting Your Node.js Daemon. This is so ridiculously easy.. $ start yourprogram $ stop yourprogram. GOING FROM MACOS TO UBUNTU It's not the first time I'm switching to Ubuntu. I've been, as they say, around the block when it comes to operating systems. I started out on MS, from DOS to XP, then Ubuntu from 5.10 Breezy to 9.10 Karmic, then on Apple from OSX 10.5 Leopard to macOS 10.14 Mojave. BLOCK BRUTE FORCE ATTACKS WITH IPTABLES July 28, 2007. Block Brute Force Attacks With Iptables. Since 2005 there has been an immense increase in brute force SSH attacks and though Linux is pretty secure by default, it does not stop evil programs from indefinitely trying to login with different passwords. Without proper protection your server is a sitting duck waiting for abot to
BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
CAT A FILE, WITHOUT THE COMMENTS Cat a File, Without the Comments. I recently had to install a couple of squid servers to act as reverse proxies for a webcluster. You can teach the squid server to stand in between in the end users and the webservers, and to store all the static content ( .jpg .flv .css .htm for example ) in the RAM. This saves a lot of I/O and bandwidth on thePHP: TIFF2PDF
MAKE SSH CONNECTIONS WITH PHP BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
CAT A FILE, WITHOUT THE COMMENTS Cat a File, Without the Comments. I recently had to install a couple of squid servers to act as reverse proxies for a webcluster. You can teach the squid server to stand in between in the end users and the webservers, and to store all the static content ( .jpg .flv .css .htm for example ) in the RAM. This saves a lot of I/O and bandwidth on thePHP: TIFF2PDF
MAKE SSH CONNECTIONS WITH PHP A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. THE UNIVERSAL MAKEFILE FOR JAVASCRIPT The :-lets us specify a default value, so that if I run npm run minify on the command-line without setting any environment, app is chosen as a default minify output. Running npm run build:plugins, overrides this defaults and minifies the plugins bundle for me.. For a larger example, check out Google's Addy Osmani's Gist that demonstrates his real world task runner in npm scripts. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss:POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. CREATE DAEMONS IN PHP Console Action: Controlling the Daemon. Now that we've created an example daemon, it's time to fire it up! I'm going to assume the name of your daemon is logparser.This can be changed with the statement: System_Daemon::setOption('appName', 'logparser').But the name of the daemon is very important because it is also used in filenames (likethe logfile).
HOW (NOT) TO BECOME A PROGRAMMER So yes, if you're reading this, you either already can or could likely do it. Some people point out requirements like being a silent thinker or someone with a lot of patience or a theoretically gifted mind. Those might help to excel, but I've enjoyed programming since the age of 9, yet I don't regard myself particularly blessed with thesetraits.
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. RUN NODE.JS AS A SERVICE ON UBUNTU We decided to go conventional and chose www-data. We found the easiest way was to prepend the Node executable with a sudo like this: exec sudo -u www-data /usr/local/bin/node. Don't forget to change your export HOME accordingly. Restarting Your Node.js Daemon. This is so ridiculously easy.. $ start yourprogram $ stop yourprogram. GOING FROM MACOS TO UBUNTU It's not the first time I'm switching to Ubuntu. I've been, as they say, around the block when it comes to operating systems. I started out on MS, from DOS to XP, then Ubuntu from 5.10 Breezy to 9.10 Karmic, then on Apple from OSX 10.5 Leopard to macOS 10.14 Mojave. FILE UPLOADING WITHOUT A SERVER File Uploading Without a Server | kvz.io. September 3, 2013. File Uploading Without a Server. More and more sites are written in flat HTML. Hosted on GitHub pages, S3, etc. The advantages are clear: ridiculously low to no hosting costs, it can hardly ever break, and with things like Jekyll and Octopress it can still be fun to maintain. A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
ABOUT | KVZ.IO
I'm Kev van Zonneveld ().In a previous life I worked at a hosting company where I learned about code, distributed systems, and networks. Halfway I became their R&D lead and among things architected their cloud offering. In evening hours I co-founded Transloadit, a file uploading and encoding service for developers.. I run that company to this day with 10 teammates, spread across the world.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. THE UNIVERSAL MAKEFILE FOR JAVASCRIPT The :-lets us specify a default value, so that if I run npm run minify on the command-line without setting any environment, app is chosen as a default minify output. Running npm run build:plugins, overrides this defaults and minifies the plugins bundle for me.. For a larger example, check out Google's Addy Osmani's Gist that demonstrates his real world task runner in npm scripts. BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. LOCK YOUR CRONJOBS, ENJOY YOUR SLEEP Lock Your Cronjobs, Enjoy Your Sleep | kvz.io. December 31, 2012. Lock Your Cronjobs, Enjoy Your Sleep. If you use EC2 you may have heard of Tim Kay's aws commandline tool. It provides access to most of Amazon's API and is less cumbersome than Amazon's own CLI utilities in day to day use. A lesser known tool by Tim Kay is solo. GOING FROM MACOS TO UBUNTU It's not the first time I'm switching to Ubuntu. I've been, as they say, around the block when it comes to operating systems. I started out on MS, from DOS to XP, then Ubuntu from 5.10 Breezy to 9.10 Karmic, then on Apple from OSX 10.5 Leopard to macOS 10.14 Mojave. RUN NODE.JS AS A SERVICE ON UBUNTU We decided to go conventional and chose www-data. We found the easiest way was to prepend the Node executable with a sudo like this: exec sudo -u www-data /usr/local/bin/node. Don't forget to change your export HOME accordingly. Restarting Your Node.js Daemon. This is so ridiculously easy.. $ start yourprogram $ stop yourprogram. MAKE SSH CONNECTIONS WITH PHP Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practicle or thorough for that matter, so I would like to share my knowledge in this how to GITHUB SPRING CLEANING Starting is simple. You create a container repo on Github named deprecated, add it as an origin to existing repos, force push current master to a named branch, and done. However, spring cleaning is no fun without automation, so we wrote a script to do this for you. Just change the repo_sources and repo_destiny variables. A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY A blog on building: software, infra, and technical startups. Hi there! My name is Kev. I'm a developer and founder based in Amsterdam. OPTIMIZE YOUR SYNOLOGY NAS FOR DOWNLOADING The download will be added to the queue. If you use an adaptation of my unpacker script, it will already automatically scan /volume1/downloads/_queue for any new torrent or nzb task.. Tools. These programs may take up a little bit of space, but won't be active in memory until you call upon them (except for cron), so feel free to install without performance loss: CREATE DAEMONS IN PHP Execute. Just make your daemon script executable, and then execute it: $ chmod a+x ./logparser.php $ ./logparser.php. Check. Your daemon has no way of communicating through your console, so check for messages in: $ tail /var/log/logparser.log. And see if it's still running: $ ps uf -C logparser.php. Kill.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. IMPROVE MYSQL INSERT PERFORMANCE March 31, 2009. Improve MySQL Insert Performance. Sometimes MySQL needs to work hard. I've been working on an import script that fires a lot of INSERTs. Normally our database server handles 1,000 inserts / sec. That wasn't enough. So I went looking for methods to improve the speed of MySQL inserts and was finally able to increase this number to BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
ANALYZE HTTP REQUESTS WITH TSHARK The command below captures all port 110 traffic and filters out the 'user' command and saves it to a text file (from Mark's notes ): $ tshark -i 2 -f 'port 110' -R 'pop.request.parameter contains ' user '' > /tmp/pop_users.txt. Log HTTP Request / Receive Headers. One fromsuperuser.
ALLOW WINDOWS USERS TO RESTART SERVICE So first we need to: Download the Windows Server 2003 Resource Kit Tools. Install it. Open a command prompt ( cmd.exe) Change to installation directory ( cd "C:\Program Files\Windows Resource Kits\Tools") Prerequisite: Access to SC Manager. Your users need to be able to access this service as a prerequisite. If you want yourchanges to be user
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. SCHEDULE TASKS ON LINUX USING CRONTAB The crontab (cron derives from chronos, Greek for time; tab stands for table) command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically. To see what crontabs are currently running on your system, you can open a terminal and run:$ sudo crontab -l.
ABOUT | KVZ.IO
I'm Kev van Zonneveld ().In a previous life I worked at a hosting company where I learned about code, distributed systems, and networks. Halfway I became their R&D lead and among things architected their cloud offering. In evening hours I co-founded Transloadit, a file uploading and encoding service for developers.. I run that company to this day with 10 teammates, spread across the world.POSTS BY YEAR
December 11, 2019. And Now for Something Completely Different (NL) October 30, 2019. Going from macOS to Ubuntu. September 5, 2017. THE UNIVERSAL MAKEFILE FOR JAVASCRIPT The :-lets us specify a default value, so that if I run npm run minify on the command-line without setting any environment, app is chosen as a default minify output. Running npm run build:plugins, overrides this defaults and minifies the plugins bundle for me.. For a larger example, check out Google's Addy Osmani's Gist that demonstrates his real world task runner in npm scripts. BEST PRACTICES FOR WRITING BASH SCRIPTS This project now has its own homepage at bash3boilerplate.sh.. I recently tweeted a few best practices that I picked up over the years and got some good feedback. I decided to write them all down in ablogpost.
GENERATE HTML WITH PHP Hi. Have you met KvzHTML? It's a standalone PHP Class for generating HTML. It's been hiding deep inside the caverns of my secret GitHub repo: kvzlib a collection of code snippets too small or unfinished to deserve their own repository. LOCK YOUR CRONJOBS, ENJOY YOUR SLEEP Lock Your Cronjobs, Enjoy Your Sleep | kvz.io. December 31, 2012. Lock Your Cronjobs, Enjoy Your Sleep. If you use EC2 you may have heard of Tim Kay's aws commandline tool. It provides access to most of Amazon's API and is less cumbersome than Amazon's own CLI utilities in day to day use. A lesser known tool by Tim Kay is solo. GOING FROM MACOS TO UBUNTU It's not the first time I'm switching to Ubuntu. I've been, as they say, around the block when it comes to operating systems. I started out on MS, from DOS to XP, then Ubuntu from 5.10 Breezy to 9.10 Karmic, then on Apple from OSX 10.5 Leopard to macOS 10.14 Mojave. RUN NODE.JS AS A SERVICE ON UBUNTU We decided to go conventional and chose www-data. We found the easiest way was to prepend the Node executable with a sudo like this: exec sudo -u www-data /usr/local/bin/node. Don't forget to change your export HOME accordingly. Restarting Your Node.js Daemon. This is so ridiculously easy.. $ start yourprogram $ stop yourprogram. MAKE SSH CONNECTIONS WITH PHP Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practicle or thorough for that matter, so I would like to share my knowledge in this how to GITHUB SPRING CLEANING Starting is simple. You create a container repo on Github named deprecated, add it as an origin to existing repos, force push current master to a named branch, and done. However, spring cleaning is no fun without automation, so we wrote a script to do this for you. Just change the repo_sources and repo_destiny variables. A BLOG ON BUILDING: SOFTWARE, INFRA, AND A COMPANY* Archives
* About
Open Sidebar
HI THERE!
My name is Kev. I'm a developer and founder based in Amsterdam. Here I share braindumps on building: software, infra as code, and an openremote company.
Twitter GitHub
medium Instagram
ProductHunt
Latest Articles
December 11, 2019
AND NOW FOR SOMETHING COMPLETELY DIFFERENT (NL) So far I have not used my writing for advertisement. Even (or especially) when I'm reviewing products, I've never taken free equipment, cash, guest/sponsored content, or anything of that nature. I may link to my own company but that's about...Different Think
October 30, 2019
GOING FROM MACOS TO UBUNTU It's not the first time I'm switching to Ubuntu. I've been, as they say, around the block when it comes to operating systems. I started out on MS, from DOS to XP, then Ubuntu from 5.10 Breezy to 9.10Karmic,...
Macos Osx Apple UbuntuSeptember 5, 2017
FREEWRITE
Today I've unwrapped an Austrohaus Freewrite. Half a year ago I was feeling a bit overworked. I'm privileged in that I love my work a lot - so much that if I don't restrain myself it can eclipse theprivate...
Blog Review WritingSeptember 3, 2017
HOW (NOT) TO BECOME A PROGRAMMER I recently answered a question on Quora: Programming QuestionsJanuary 4, 2017
INTRODUCING LANYON
This project also has its own homepage at lanyon.io. Browsersync Jekyll NodejsStaticsites Webdev
Webpack
Page 1 of 23 Older PostsTwitter GitHub
medium Instagram
ProductHunt
kvz.io © 2007 -2021.
Back to top
Close Sidebar
EXPLORE SITE
* Archives
* About
ABOUT KVZ.IO
A blog on building: software, infra, and TransloaditRECENT ARTICLES
*
December 11, 2019
And Now for Something Completely Different (NL)*
October 30, 2019
Going from macOS to Ubuntu*
September 5, 2017
Freewrite
TAGS
Amazon Analyze
Apache Api
Apple Apps
Apt Aptfile
Arduino
Array Automation
Aws
Backpressure BackupBash Benchmark
Berlin
Blog Boot
Browsersync BuildtoolsBulk
Caching Cakephp
Campfire
Capistrano CasperjsCat Chart
Ci Circuitbreaker
Cli
Coding style CoffeescriptComments
Compiz
Conference Config
Cronlock
Crontab Cs Cvs
Daemon Database
Dd Debugging
Delimiter
Deploy
Desktop Devshm
Different
Display Dns
Documentation Dpc
Dpc10 Dpi
Dpkg Dropbox
Dry Eclipse
Editor
Encoding English
Event
Feedburner Firebug
Firewall
Flash Flowcontrol
Flush
Flv Font Fxos
Gems Generators
Ghostscript
Git Github
Gnome Go
Golang Google
Grammar
Grub Haproxy
Heartbleed HierarchyHomebrew
Hours
Htaccess Html
Http Hubot
Ide Imagemagick
Imagick
Incolsolata
Indentation
Innodb
Io Iptables
Iso Java
Javascript Jekyll
Jenkins
Karmic Kernel
Kvzhtml
Kvzlib Lamp
Language Libssh2
Linux
Logging Macos
Markdown Mc
Memcache
Memcached MigrationMobile
Mod_expires Mod_rewriteMongrel
Monospaced
Mount
Multibyte Mvc
Mysql Nameserver
Nas
Netbeans Netcat
Network
Nginx Nodejs
Notes Npm
Octopress Open_basedirOpenssl
Operators
Osx
Papertrail Parsing
Password
Pdf Pear Pecl
Performance
Phd Php
Php53 Phpjs
Pico Postscript
Productivity
Programming
Pxe Python
Questions
Ram Raspberrypi
Rbenv
Recursion Redis
Redundancy
Regex
Reliability ReplicationRest
Review Ror
Router Rss
Rsync Rsyslogd
Ruby Rvm
Sabnzbd
Safemode Sata
Screen Sddl
Security Seo
Server Shell
Sid Solo
Soundex
Spaces Spelling
Spof Sql
Sqlite Squid
Ssh Ssl
Startup
Staticsites StreamsStunnel
Svn SynchronizationSynology
Sysadmin
Syslog System_daemonTabs
Tail Terminal
Testing
Thin Think Tiff
Timelog
Timetracking TimkayTinyurl
Tmpfs Tmux
Tooling Tools
Trac Track
Transactions
Transloadit
Travis
Tree Tshark
Tus Ubuntu
Umask Uploading
Upstart
Url Utf8 Vagrant
Vbscript
Versioncontrol VhostVideo Vim
Virtualbox
Virtualization VmwareWebdev
Webpack Wget
Whitespace Windows
Wireshark
Writing
Wtf Xen Youtube
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0