This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#ls /usr/share/zoneinfo/ | |
declare -a Timezones=("America/New_York" "Europe/London" "Europe/Madrid") | |
echo Home: `date +"%m-%d-%Y %T %z"` | |
for tz in ${Timezones[@]}; do | |
echo $tz: `env TZ=$tz date +"%m-%d-%Y %T %z"` | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"playlist": "a9bea146-2345-42c0-ab46-8667ecace549", | |
"version": 1, | |
"qa": "False", | |
"chapters": [ | |
{ | |
"id": "a9bea146-2345-42c0-ab46-8667ecace549", | |
"name": "Circle of Life", | |
"type": "song", | |
"asset_url": "https://link.to.asset/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
import urllib | |
from optparse import OptionParser | |
parser = OptionParser() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/sqlite3 /home/lalita/db/url.db 'select * from url WHERE date = date();' | awk -F "|" '{print $8, "["$2"]" , "by", $5 "\n"}' | mail [email protected] -s "Links Digest for $(date +"%d-%m-%Y")" |