пятница, 23 октября 2015 г.
Brewing cup: Alter path alias programmatically for an existing ...
Brewing cup: Alter path alias programmatically for an existing ...: Here's a method to alter the path alias (if you're using the pathauto module) of an existing taxonomy term programmatically. Here ...
пятница, 16 октября 2015 г.
Google Calendar event buttons — Mobile version
I've been doing some research on this myself and I've come close, but I'm not 100% there yet. Here's a sample URL of a mobile "share event" link:
http://www.google.com/calendar/gp#~calendar:view=e&bm=1&action=TEMPLATE&text=Halloween+Party+2011&dates=20111101/20111202&details=Description&location=Millennial+Media&trp=false
It opens up the mobile version of Google Calendar and pre-populates it with details about the event your sharing.
The only problem I've encountered is when you're not already logged into Google Calendar. It takes you to the log in page, which is fine, but then after you log in it takes you to the home screen instead of the event entry page.
If you find or already found an answer to this, let me know.
source
http://www.google.com/calendar/gp#~calendar:view=e&bm=1&action=TEMPLATE&text=Halloween+Party+2011&dates=20111101/20111202&details=Description&location=Millennial+Media&trp=false
It opens up the mobile version of Google Calendar and pre-populates it with details about the event your sharing.
The only problem I've encountered is when you're not already logged into Google Calendar. It takes you to the log in page, which is fine, but then after you log in it takes you to the home screen instead of the event entry page.
If you find or already found an answer to this, let me know.
source
среда, 7 октября 2015 г.
Give a folder its very own drive letter
Pretend that you have a file folder called C:\data\word_docs, that you use it constantly, and that you would like to refer to it with a shortcut of W:. Open up a command prompt window and issue the following command:
SUBST w: C:\data\word_docs
SUBST is short for substitute. (DOS commands are case-insensitive, so you could enter it as "subst" as well.) So, now, W:\intro.doc is the same thing as C:\data\word_docs\intro.doc — two different ways to refer to the same file.
source
SUBST w: C:\data\word_docs
SUBST is short for substitute. (DOS commands are case-insensitive, so you could enter it as "subst" as well.) So, now, W:\intro.doc is the same thing as C:\data\word_docs\intro.doc — two different ways to refer to the same file.
source
понедельник, 5 октября 2015 г.
No Index No Robots
a2enmod header
<IfModule mod_headers.c>
Header set X-Robots-Tag: "noindex, nofollow, noarchive, nosnippet, noimageindex"
</IfModule>
<IfModule mod_headers.c>
Header set X-Robots-Tag: "noindex, nofollow, noarchive, nosnippet, noimageindex"
</IfModule>
++++
<<<<
<<<<
https://www.digitalocean.com/community/tutorials/how-to-set-up-password-authentication-with-apache-on-ubuntu-14-04
chown -R apache:apache sites/default/files
chmod -R 775 sites/default/files
chown -R apache:apache sites/default/files
chmod -R 775 sites/default/files
Подписаться на:
Сообщения (Atom)