This file contains 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
[user] | |
name = cdncat | |
email = cdncat@users.noreply.github.com | |
[core] | |
pager = less -+$LESS -RS | |
[alias] | |
nit = commit --amend --no-edit |
This file contains 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
# in root directory | |
cd ~ | |
# list all files starting with `.` | |
ls -d \.* | |
for FILE in \.*; | |
do | |
if [ $FILE != "." ] && [ $FILE != ".." ]; then |
This file contains 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
<a | |
href={"http://www.google.com/calendar/event?action=TEMPLATE" | |
+ "&text=" + event.name | |
+ "&dates=20181001T150000Z/20181105T170000Z" | |
+ "&location=" + "location_place"} | |
> ✚ gCal</a> | |
<!--by default, Google calendar is in GMT time (I think it's possible to add locale). --> | |
<!-- 20181001T15 00 00Z is the start date and time where it can be seen as "YYYYMMDD T HHMM 00Z" where YYYYMMDD is the YYYY-MM-DD format and HHMM is hour and minute in 24 hour format. --> |