This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| module Entry::TrackerBlocking | |
| extend ActiveSupport::Concern | |
| included do | |
| has_many :blocked_trackers | |
| end | |
| email_service_blockers = { | |
| "ActiveCampaign" => /lt\.php(.*)?l\=open/, | |
| "AWeber" => "openrate.aweber.com", |
| tell application "System Events" to tell process "Mail" | |
| set mainWindow to a reference to the first window | |
| set rootSplitter to a reference to the first splitter group of the mainWindow | |
| set firstSplitter to a reference to the last splitter group of the rootSplitter | |
| set scrollArea to a reference to the last scroll area of the firstSplitter | |
| set scrollGroup to a reference to the first group of the scrollArea | |
| if number of groups of the scrollGroup is greater than 1 then | |
| set maybeRemoteContentGroup to a reference to the first group of the scrollGroup | |
| #!/usr/bin/env bash | |
| # | |
| # gh-dl-release! It works! | |
| # | |
| # This script downloads an asset from latest or specific Github release of a | |
| # private repo. Feel free to extract more of the variables into command line | |
| # parameters. | |
| # | |
| # PREREQUISITES | |
| # |
| /** | |
| * An environment aware configuration module. | |
| * | |
| * @module config/config | |
| */ | |
| 'use strict'; | |
| // Module dependencies | |
| var extend = require('util')._extend; |
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {Early betas of OS X Yosemite had a bug where the library of old messages wasn't migrated. Instead a new library was created and all old messages were gone.
The bug has been fixed, but if you were affected, you still have two separate libraries. This script merged them for me. Use it at your own risk! You might end up worse than before. Backup everything beforehand. Twice.
This is what your ~/Library/Messages folder will look like if you're affected:
| #!/bin/bash | |
| show_usage () { | |
| echo "Usage: `basename $0` [START [END]]" | |
| echo | |
| echo "Steps through the commit history from START to END," | |
| echo "then returns to the branch or commit from before execution." | |
| echo | |
| echo "START defaults to the root commit (beginning of history)." | |
| echo "END defaults to current branch/commit." |
| #! /usr/bin/env python2 | |
| # Requires: PIL, colormath | |
| # | |
| # Improved algorithm now automatically crops the image and uses much | |
| # better color matching | |
| from PIL import Image, ImageChops | |
| from colormath.color_conversions import convert_color | |
| from colormath.color_objects import LabColor | |
| from colormath.color_objects import sRGBColor as RGBColor |