I hereby claim:
- I am fsegouin on github.
- I am fsegouin (https://keybase.io/fsegouin) on keybase.
- I have a public key ASA01UuBFavVREXHqk7Q7B1warQ_oAmHG17C56DD96PzZgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| on alfred_script(q) | |
| tell application "iTerm2" | |
| activate | |
| set newWindow to (create window with default profile) | |
| tell current window | |
| tell current session | |
| write text q | |
| end tell | |
| end tell | |
| end tell |
| _timerControl = [DDHTimerControl timerControlWithType:DDHTimerTypeSolid]; | |
| _timerControl.translatesAutoresizingMaskIntoConstraints = NO; | |
| _timerControl.color = [UIColor colorWithHexString:@"444444" alpha:0.2]; | |
| _timerControl.ringWidth = 3; | |
| _timerControl.minutesOrSeconds = 60; | |
| _timerControl.userInteractionEnabled = NO; | |
| UIView *topView = (UIView *)[self.tableView viewWithTag:10]; | |
| _timerControl.frame = CGRectMake(0, 0, 66, 66); | |
| _timerControl.center = CGPointMake(topView.frame.size.width/2, (topView.frame.size.height-20)/2); | |
| [_timerControl addTarget:self action:@selector(valueChanged:) forControlEvents:UIControlEventValueChanged]; |