This file contains hidden or 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
| #!/usr/bin/python | |
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| import ipdl | |
| import sys | |
| import os | |
| def files_match(suffixes, topdir, excludes): |
This file contains hidden or 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
| #!/usr/bin/python | |
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| import os | |
| import sys | |
| import csv | |
| def info(log): |
This file contains hidden or 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
| #!/bin/sh | |
| set -x | |
| DBUS_NAME="org.freedesktop.login1" | |
| DBUS_PATH="/org/freedesktop/login1" | |
| DBUS_INTERFACE="org.freedesktop.login1.Manager" | |
| DBUS_SIGNAL="PrepareForSleep" | |
| INHIBITOR_PID= | |
| install_background_inhibitor() { |
This file contains hidden or 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
| /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
| /* vim: set ts=2 et sw=2 tw=80: */ | |
| /* This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
| * You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| #include <errno.h> | |
| #include <signal.h> | |
| #include <stdio.h> | |
| #include <string.h> |
This file contains hidden or 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
| ;;; diary-sync-ical.el --- Sync iCalendar to diary -*- lexical-binding: t; -*- | |
| ;; Copyright (C) 2015 Kan-Ru Chen (陳侃如) | |
| ;; Author: Kan-Ru Chen (陳侃如) <[email protected]> | |
| ;; Keywords: | |
| ;; This program is free software; you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or |
This file contains hidden or 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
| ;; -*- lexical-binding: t -*- | |
| (defun yank-date-from-calendar () | |
| (interactive) | |
| (let ((date-string nil)) | |
| (set-transient-map | |
| (let ((map (make-sparse-keymap))) | |
| (set-keymap-parent map calendar-mode-map) | |
| (define-key map (kbd "RET") | |
| (lambda () |
This file contains hidden or 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
| /** | |
| * @fileoverview Provides the custom function BUGZILLA_TITLE and | |
| * the helper functions that it uses. | |
| */ | |
| /** | |
| * Runs when the add-on is installed. | |
| */ | |
| function onInstall() { | |
| onOpen(); |
This file contains hidden or 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
| #!/bin/env python | |
| import json | |
| import sys | |
| skipList = [ | |
| "BaseThreadInitThunk", | |
| "CharPrevA", | |
| "CsrAllocateMessagePointer", | |
| "DispatchMessageW", | |
| "DispatchMessageWorker", |
This file contains hidden or 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
| #!/bin/env python | |
| import json | |
| import sys | |
| import cmd | |
| from colorama import Fore, Style | |
| skipList = [ | |
| "BaseThreadInitThunk", | |
| "CharPrevA", | |
| "CsrAllocateMessagePointer", |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> | |
| <channel> | |
| <title></title> | |
| <link>https%3A//example.com</link> | |
| <description></description> | |
| <generator>Zola</generator> | |
| <language>en</language> | |
| <atom:link href="https%3A//example.com/rss.xml" rel="self" type="application/rss+xml"/> | |
| <lastBuildDate>Sun, 28 Jul 2019 00:00:00 +0000</lastBuildDate> |