New Commands Here is the full command we will be using in this lesson. newcakefunction () { task add Bake cake for $1 due:$2 scheduled:due-4d wait:due-5d project:$3 task add buy eggs +$1,grocery due:$2 scheduled:due-1d wait:-2d project:$3 task add buy flour +$1,grocery due:$2 scheduled:due-1d wait:-2d project:$3 task add buy milk +$1,grocery due:$2 scheduled:due-1d wait:-2d project:$3 } alias newcake=newcakefunction
New Commands Configurations to the .bashrc file alias nt=“task add $1” $1 is an argument that you can send to command and it will process it where it is located.
alias tl="task list" alias reload="source .bashrc" alias nt="task add $1" taskprojectfunction () { task $1 modify project:$2 } alias tproj=taskprojectfunction UPDATE: Monday, July 10, 2017 04:12 pm - I was absolutely wrong about this. Although Taskwarrior took the command it is not stored correctly.
New Commands $ task calc $ task calendar $ task export $ task {task id} append {text} $ task undo $ task {task id} prepend {text} $ task project $ task log $ task completed $ task {uuid} $ task timesheet $ task ghistory $ task history $ task burndown.daily $ task burindown.weekly $ task show $ task active $ task {task id} start $ task colors $ task {task id} duplicate $ task {task id} modify tag:{tag} {tag} Any single word to tag a task.
New Commands $ task {task id} modify priority:{priority level} {priority level} By default usually L, M, & H for low, medium and high.
$ task {task id} modify depends:{other task id} {other task id} The task id where one task depends on another.
$ task {task id} modify project:{project name} {project name} The name of the project other tasks belong to.
New Commands $ task {task id} edit Line to add to the .bashrc file
export EDITOR="nano" $ task {task id} annotate {additional information} {additional information} This is any text to add to the task.
Taskwarrior Download https://taskwarrior.org/ Cygwin Download https://www.cygwin.com/ New Commands $ task $ task add {action item} {action item} Any item that will be a task.
$ task list $ task {task id} delete {task id} The current ID for that task.
This is a macro I wrote that mimics the Highlight+Reply you get with Outlook for Mac or the older Entourage software. I use PhraseExpress software with an assigned hot key.
{#clipboard -copy}{#sleep 100}{#CTRL {#SHIFT -chars r}}{#sleep 100}{#CTRL -chars a}{#sleep 100}{#DEL}{#sleep 100}{#ENTER -count 2}{#sleep 100} ======TRUNCATED MESSAGE====== {#ENTER}{#sleep 100}{#clipboard -paste}{#sleep 100}{#CTRL -chars a}{#sleep 100}{#CTRL -chars q}{#sleep 100}{#CTRL -chars i}{#sleep 100}{#HOME}{#sleep 100}{#CTRL {#SHIFT -chars t}}{#sleep 100}{#CTRL -chars i}
Many times you will need to set this execution policy to run Powershell scripts
set-executionpolicy -scope CurrentUser Unrestricted
In the time of incidents, Windows Event logs provide a plenty of useful information for the Incident responder.As you know Windows can generate thousands of events in few minutes ,in this diary I will talk about some of the most useful events and in the next diary I would discuss how to use PowerShell to search for them .
Here is of the most useful events for Forensics/Incident response:
Event ID
This Powershell command will print out a list of environment variables in the system.
Get-ChildItem Env: