Skip to content

Instantly share code, notes, and snippets.

View problem's full-sized avatar

Grayson Stebbins problem

View GitHub Profile
@emmajane
emmajane / gist:59321345a81a4f5837c0
Last active February 28, 2024 16:35
JQL Syntax for the Impatient

JQL Syntax for the Impatient

There are a few JQL syntax bits to get you started:

  • AND --- allows you to add qualifiers to a list
  • != Thing --- target one thing
  • is in (List, Of, Things) --- target a bunch of things (Done, Closed, Resolved) typically
  • not in (List, of, Things) --- do not include a bunch of things
  • -1w --- relative time. You can also use -1d for day
  • "2015/3/15" --- specific dates
CAGradientLayer *gradient = [CAGradientLayer layer];
gradient.frame = shadowFrame;
gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:1.0] CGColor],
(id)[[UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:0.7] CGColor],
(id)[[UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:0.0] CGColor],
nil];
gradient.locations = [NSArray arrayWithObjects:[NSNumber numberWithFloat:0.0], [NSNumber numberWithFloat:0.30], [NSNumber numberWithFloat:1.0], nil];