Skip to content

Instantly share code, notes, and snippets.


synic synic

  • Giddy
  • Salt Lake City, Utah
View GitHub Profile
synic /
Created January 19, 2021 18:54 — forked from raorao/
PR Comment Emojis

Any top-level comment on pull request ought be tagged with one of four emojis:

  • for a non-blocking comment that asks for clarification. The pull request author must answer the question before the pull request is merged, but does not have to wait for the comment author to re-review before merging.

  • 🎨 for a non-blocking comment that proposes a refactor or cleanup. The pull request author does not have to address the comment for the pull request to merge.

  • ⚠️ for a blocking comment that must be addressed before the pull request can merge. The comment's author should leave a Request Changes review, and is responsible for re-reviewing once the pull request author has addressed the issue.

  • 😻 for a comment that compliments the author for their work.

synic / airwatchlookup.txt
Created June 1, 2018 19:20
AirWatch lookup variables in AppConfig
View airwatchlookup.txt
{Date} Today's Date
{ApplicationName} Friendly name of application
{ApplicationDescription} Application's description
{ApplicationComments} Comments associated with the application
{ApplicationImage} Image of the application's icon
{AppCatalogPageReferenceURL} Link to the AirWatch App Catalog page referencing the application
{EnrollmentSupportEmail} Contact email address for support
{EnrollmentSupportPhone} Contact phone number for support
{FirstName} User's first name
{LastName} User's last name
View gist:64e4835043765a1d6222c06d9c25f882
def test_stuff():
reservation = factory.ReservationFactory.create()
#... run PUT request
# refresh the reservation so we can test that the PUT did it's thing
View saveframeinfo.el
(defun save-framegeometry ()
"Gets the current frame's geometry and saves to ~/.emacs.d/framegeometry."
(let (
(framegeometry-left (frame-parameter (selected-frame) 'left))
(framegeometry-top (frame-parameter (selected-frame) 'top))
(framegeometry-width (frame-parameter (selected-frame) 'width))
(framegeometry-height (frame-parameter (selected-frame) 'height))
(framegeometry-file (expand-file-name "~/.emacs.d/framegeometry"))
synic /
Created October 15, 2015 00:12
Fixing dired in spacemacs

First, add dired+ to dotspacemacs-additional-packages, then...

Before user-config in .spacemacs:

(defvar ao/v-dired-omit t
  "If dired-omit-mode enabled by default. Don't setq me.")

(defun ao/dired-omit-switch ()
 "This function is a small enhancement for `dired-omit-mode', which will
synic / gist:e58488851d59ca084c82
Created October 14, 2015 19:36 — forked from aussielunix/gist:1515957
search all graylog2-elasticsearch
View gist:e58488851d59ca084c82
curl -XGET 'http://localhost:9200/graylog2/_search?pretty=true' -d '
"query" : {
"matchAll" : {}
synic / .spacemacs.el
Created September 21, 2015 22:54
python fill-column
View .spacemacs.el
; python hooks
(add-hook 'python-mode-hook (lambda ()
(fci-mode 1)
(setq fill-column 79)
synic /
Created September 2, 2015 13:36
def get_uptime(self, obj):
return get_device_uptime(obj, 24 * 7)
This is a test
* this line is a line, and it's really long and it should wrap, but because
it's a bulleted list, it should be indented.