Saturday, December 31, 2022

Renew certificate of let's encrypt on websites under caddy

 

Renew example.com certbot certificate let's encrypt
sudo service caddy stop
sudo certbot certonly --force-renew -d example.com 
sudo -i
cd /etc/letsencrypt/live/example.com/
cp *.* /var/www
sudo service caddy start

Labels: , , , , ,

Saturday, June 13, 2009

A safe method to create Ajax object in JavaScript

Ajax

How to create an HTTP Ajax JavaScript object saftley in different browsers.

// ajax create object
function createRequestObject2() {
var http_request = false;
if (window.XMLHttpRequest) { // Mozilla, Safari,...
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
// set type accordingly to anticipated content type
//http_request.overrideMimeType('text/xml');
}
} else if (window.ActiveXObject) { // IE
try {
http_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
http_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!http_request) {
alert('Cannot create XMLHTTP instance');
return false;
}

return http_request;
}

Labels: , , , , , ,

Monday, February 19, 2007

the useragent center

I have been checking the logging of user agents in my site, and i noticed some strange behavior. after each call to my site from a normal IE or Firefox user agent, i get another call to the same URL from different user agents. after tracing the calls i understood the reason i have Google ads, or amazon ads, generate the calls to the same URL by the bot of the ads provider. So here is a list of user agents so you will be able to know what's going on in your site.


what is this user agent?
where does it came from?
the user agent list: list of known useragents:

IP: 66.249.72.140 Useragent: Mediapartners-Google/2.1
----------------------------------------------------
google bot?

IP: 207.171.167.25 Useragent: Mozilla/5.0 (compatible; AMZNKAssocBot/4.0)
----------------------------------------------------------
amazon

Friday, April 28, 2006

תולעת הבלוגים


Blog.Worm

Sunday, March 12, 2006

גמטריה לבחירות


מנוע הגימטריה המשעשע של אתר גימטריה הביא אותי לנסות צרופים מעניינים לקראת בחירות.

לדוגמא, הידעתם כי קדימה = המפדל = 159 בגימטריה? - אך כאן לא תם הסיפור: קדימה = גם לאני סובל, אל המלחמה או בוב ספוג, וגם ל - 'אז מה היה לנו' וגם לחיים לנדאו לטנק למסיבמבה ולסטלין.

העבודה לעומת זאת שווה רק ל - 92 אך גם לצב, הבעיה, לפחד ולסחיטה.

מרצ מקבלת עם 330 ושווה בגימטריה לאינטרס, ליבראליזם אך גם ל - 'מסע בין כוכבים' וגם לסמים קלים ואיך לא: קיבעון אנאלי וקלפטומניה.

ישראל ביתנו מקבלת את הערך הגבוה של 1009 ובאופן מפתיע שווה לערך 'בואו נצא להפגין למען המולדת' אך גם ל - 'כלבי אשמורת', נותן בראש וקטעים איתך אח שלי.

חדש = 312 בגימטריה שזה חסר דם וגם סקס אנאלי?!



הליכוד מקבל רק 75 בערכו הגימטרוני, אך גם בטחון ויהודים ומנגד בוגדני, בזיון וזניח.

ש"ס יקירת המדור שווה ל - 360 בין הרגליים, אך גם לדרקון , נדוש וצער, ואם זה אומר למישהו משהו, אז גם לילד ערום ולסטארט אפ.

שלכם לעד


Sunday, February 19, 2006

Sharon Markovitch - israeli army girl revealed



I recently so a few blogs showing pictures of military girls from all arounf the world. So here is a few more pictures of an Israeli Army Girl (Hummer Driver) that participated in a reality show in Israel searching for the Next Top Model. The army did not like those picture, but we do. She is a real babe...



Here is the link to the full article

And here is a link to some photos of army babes


Thanks, And have fun

Wednesday, January 04, 2006

ייקומים ובלוגים מקבילים

כמו שאמר אינשטיין,
אז גם לבלוג הזה ייקומים מקבילים:

הבלוג המקביל israblog
הבלוג המקביל blogger

בברכה.