One approach is to add an @reboot cron [1] task:
-
Running
crontab -e
will allow you to edit your cron. -
Adding a line like this to it:
@reboot /path/to/script
will execute that script once your computer boots up.
One approach is to add an @reboot cron [1] task:
Running crontab -e
will allow you to edit your cron.
Adding a line like this to it:
@reboot /path/to/script
will execute that script once your computer boots up.
I hereby claim:
To claim this, I am signing this object:
For this tutorial, you need just basic understanding of JavaScript. The aim of this tutorial is to show you how easy it is to build messenger bots. When you scroll down this page, you will find out the actual lines of code that we will write are just about 19 LOC.
const Developer = require('developer'); | |
let months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' '); | |
let year = (new Date()).getFullYear(); | |
let you = new Developer(); | |
while (year >= 2016) { | |
months.forEach((m, i) => { | |
you.attendMonthlyForLoopEvent(m); | |
you.shareExperience(); |
<?php | |
// Our previous code, getting details from MPesa IPN | |
// send SMS (AfricasTalking API) | |
$recipients = "+" . $_REQUEST["mpesa_msisdn"]; | |
$message = "Dear " . $_REQUEST["mpesa_sender"] . ", we acknowledge receipt of Ksh. " . $_REQUEST["mpesa_amt"] . " for " . $_REQUEST["mpesa_acc"] . ". Thanks for your support and God bless. FOCUS - Reaching Students Changing Nations."; | |
include_once("sms/send_sms.php"); |
https://code.google.com/p/prep/wiki/ExercisesList |
git reset --hard # removes staged and working directory changes | |
git clean -f -d # remove untracked files | |
git clean -f -x -d # CAUTION: as above but removes ignored files like config. |
[ | |
{ | |
'name':'Martha Karua', | |
'twitter':'MarthaKarua', | |
'website': 'http://www.joinmarthakarua.com', | |
'mzalendo': 'http://info.mzalendo.com/person/martha-karua/', | |
'mavulture': '' | |
}, | |
{ | |
'name':'Musalia Mudavadi', |
application: filehangar | |
version: live | |
runtime: python | |
api_version: 1 | |
handlers: | |
- url: /remote_api | |
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py | |
login: admin |