recentpopularlog in
« earlier   later »
Spotlight Metadata Attributes
You can use these with 'mdfind', e.g., 'kMDItemKind == "Application"'.
mdfind  metadata  spotlight  macos  osx  devel  reference 
september 2019
macos - How to bring an application made in Automator to the foreground upon launch? - Ask Different
I used 'open -a' to run the application (from a shell script), instead of just running the binary from the Contents/MacOS directory directly.
macos  automator  windowmanagement  sortof  solution 
september 2019
Jobsworth - Wikipedia
A jobsworth is a person who uses their job description in a deliberately uncooperative way, or who seemingly delights in acting in an obstructive or unhelpful manner. The term can also be applied to those who uphold petty rules even at the expense of humanity or common sense.
bureaucracy 
september 2019
Right-click opens up terrifying vistas of reality and Windows 95 user's frightful position therein • The Register
He was therefore in a confident mood when a user waved at him, needing help.

The gentleman in question, recalled Anthony, "seemed to be doing OK, but he said he had a question…"

"See that Recycle Bin there, on the screen?" the user asked.

"Does someone come round and empty that?"

Anthony stared at him for a few seconds before carefully demonstrating the arcane art of the right-click.

He then slowly backed away, doubtless making a mental note to have a quiet word with whoever had dispensed the training.
oncall  it  usersupport  win95  humor 
september 2019
PuTTY semi-bug false-positive-malware
Our build setup does not involve Windows! As of 0.70, PuTTY's build process for Windows executables and installers goes from source code to digitally signed build produts entirely on Linux, without involving Windows or even WINE at any point. (We use clang-cl as a compiler, and run the WiX installer-constructor using Mono plus some home-grown glue code). So malware that runs on Windows would have a very difficult time attacking our build machine.
malware  putty  security  build 
september 2019
Is there a CSS selector for elements containing certain text? - Stack Overflow
Not possible without JavaScript
<code class="language-javascript">
// using jQuery
$('td:contains("male")')
</code>
css  selector  webdesign  webdevel  workaround  solution 
september 2019
macOS build fails by linker · Issue #82 · shundhammer/qdirstat
<code>/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Developer/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wl,-rpath,@executable_path/../Frameworks -o .app/Contents/MacOS/ -F/opt/local/libexec/qt5/lib -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [.app/Contents/MacOS] Error 1
make: *** [sub-doc-make_first-ordered] Error 2</code>
build  compiler  errormessage  maybesolution  macos 
september 2019
shundhammer/qphotoview: Qt-based photo viewer that concentrates on what photographers need.
I like how salty this guy is about all the "other" Linux image viewers. Gave a shoutout to 'xv' though!
qt  photo  viewer  multimedia  photography  opensource  gui  needshelp 
september 2019
hard drive - Disk usage per user in Linux / Unix - Server Fault
<code class="language-bash">find . -type f -printf "%u %s\n" \
| awk '{user[$1]+=$2}; END{for(i in user) print i,user[i]}'</code>
diskusage  sysadmin  linux  unix  solution 
september 2019
find disk usage per user on a filesystem
<code class="language-bash">find / -printf "%u %s\n" \
| awk '{user[$1]+=$2}; END{ for( i in user) print i " " user[i]}'</code>
bash  unix  sysadmin  diskusage  quota  storage  solution 
september 2019
827976 - Creating the hidden window lazily on non-Mac platforms
Could this be why shortcuts don't work until the first time a menu selection is triggered?
thunerbird  bug  regression  a11y  macos  shortcutkey  hotkey  needshelp 
september 2019
remy/mit-license: Hosted MIT License with details controlled through this repo
https://mit-license.org/; or, https://<username>.mit-license.org.

Here's a one-liner that can turn that into a usable LICENSE.txt
<code class="language-bash">
curl https://username.mit-license.org/ \
| xidel -e '//article' - \
| sed 's/^ *//g' \
> LICENSE.txt
</code>
mit  license  copyright  devel  licensing  automation  template  boilerplate  solution 
september 2019
Support Thunderbird 68 · Issue #577 · adam-p/markdown-here
<code class="language-diff">diff --git a/src/manifest.json b/src/manifest.json
index f3c5af4..4d1fae5 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -12,7 +12,7 @@
"128": "common/images/icon128.png",
"512": "common/images/icon512.png"
},
- "permissions": ["contextMenus", "storage"],
+ "permissions": ["menus", "storage"],
"background": {"page": "chrome/background.html"},
"content_scripts": [
{
@@ -46,7 +46,15 @@

,"applications": {
"gecko": {
- "id": "markdown-here-webext@adam.pritchard"
+ "id": "markdown-here-webext@adam.pritchard",
+ "strict_min_version": "68.0"
+ }
+ }
+ ,"legacy": {
+ "type": "xul",
+ "options": {
+ "page": "common/options.html",
+ "open_in_tab": true
}
}
}
</code>
thunderbird  markdown  addon  extension 
september 2019
The Complete Guide to Creating Symbolic Links (aka Symlinks) on Windows
<code class="lang-batch">
:: Use /D when you want to create a soft link pointing
:: to a directory. like so:
mklink /D Link Target
</code>
symlink  junctionpoints  directoryjunction  hardlink  windows  sysadmin  cli  commandline  mklink  reference  solution  dammitbrain 
september 2019
mutt: how can I open a subfolder that has subfolders? - Stack Overflow
See rdrop.com/docs/mutt/manual67.html: Select the action view-file, which is ba default the <space>-key. The selection key (<enter> by default) will select the subfolder. (I had the same problem and was searching for a while.) – Golar Ramblar Sep 3 '18 at 13:43
mutt  imap  davmail  gmail  keybinding  solution  fuckina 
september 2019
Gmail · Wiki · Mutt Project / mutt · GitLab
Here's how you change into a folder if the folder can also contain subfolders: press <space>.
You can change folders using the change-folder command, but you'll need to hit <space> to view the files instead of just changing folders.
email  mutt  imap  keybindings  davmail  solution 
september 2019
The Memes Are Pouring the White Claw Down Your Throat! - The New York Times
I asked Ms. Berg and Mr. Eubank whether they were concerned about White Claw’s reputation as a drink for basics. Mr. Eubank clarified that the drinking of White Claw was ironic.
basic  alcohol  brand 
september 2019
Switch Out The Awful Default Notification Center Sound For Something Better [OS X Tips] | Cult of Mac
Doesn't seem to work anymore in Mojave. It's not playing Basso, but some other sound I can't find in /System/Library/Sounds.
macos  notificationcenter  customization  alertsounds  annoyance  maybesolution 
september 2019
TermiT/Flycut: Clean and simple clipboard manager for developers
See also: https://apps.apple.com/us/app/flycut-clipboard-manager/id442160987
Forked from: https://github.com/snark/jumpcut/

It's just OK, but there's still no way to reliably ignore clipboard input from specific programs (like clipboard managers). Maccy pretty much gets the job done.
macos  clipboard  clipboardmanager  pasteboard  opensource  utility  app  alternativeto  unclutter 
september 2019
CutBox
This one is interesting because of the JavaScript transforms (which I didn't explore), and it does let you remove items from the history, but beyond that it's not great.

See also: https://github.com/cutbox/CutBox
macos  pasteboard  clipboard  clipboardmanager  utility  app  alternativeto  maccy  flycut 
september 2019
Jumpcut
See also: https://github.com/snark/jumpcut/

Flycut (available in the app store) is a fork of this.
macos  clipboard  clipboardmanager  pasteboard  utility  app  alternativeto  flycut 
september 2019
Maccy - clipboard manager for macOS
See also: https://github.com/p0deje/Maccy

I picked this one, because it respects when KeePassX clears the clipboard.

Initial setup:
<code class="language-bash">defaults write org.p0deje.Maccy hotKey control+command+c
# optionally
# defaults write org.p0deje.Maccy pasteByDefault true # default is false</code>

Giving this app permission to control accessibility features is only necessary if you want it to paste by default (default: false).
thisone  macos  pasteboard  clipboar  clipboardmanager  alternativeto  flycut  jumpcut 
september 2019
DeepL Übersetzer
There's also a PopClip extension for this.
translator  translation  linguee  ai  webapp  asaservice 
september 2019
How do I change the login screen background in macOS Mojave? - Ask Different
Long story short, name the image /Library/Desktop Pictures/Mojave.heic, preserving the original
macos  loginscreen  wallpaper  background  customization  mojave  10.14  solution 
september 2019
Run PyCharm for the first time - Help | PyCharm
You need to copy the folder from ~/Library/Preferences/Pycharm(whatever), *not* the "Application Support" folder.
pycharm  settings  import  firstlaunch  solution 
september 2019
Directory Listing: /pub/thunderbird/releases/60.8.0/
The last release of Thunderbird to support the old-school (non-WebExtension) extensions
thunderbird  dowload  archive 
september 2019
macos - How to run mvim (MacVim) from Terminal? - Stack Overflow
My solution: add /Applications/MacVim.app/Contents/bin to the PATH.
macvim  macos  console  terminal  cli  movein  solution 
september 2019
How to Show the Expanded Print Details Dialog in Mac OS by Default
<code class="language-bash">defaults write -g PMPrintingExpandedStateForPrint -bool TRUE</code>
macos  mojave  10.14  defaults  essential  movein  annoyance  printing 
september 2019
Disable Dock Bouncing in Mac OS X
<code class="language-bash">defaults write com.apple.dock no-bouncing -bool TRUE</code>
macos  defaults  solution  dock  animation  movein 
september 2019
Disable Notification Center & Remove the Menu Bar Icon in Mac OS X
<code class="language-bash">launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist

killall NotificationCenter</code>
mac  osx  defaults  notificationcenter  annoyance  maybesolution 
september 2019
MartinHarding/macOSuckless: Scripts, commands, hacks, and tweaks to make macOS suck less.
<code class="language-bash">
# always show the detailed Print dialog
# source: http://osxdaily.com/2018/03/19/show-expanded-print-details-dialog-mac-default/
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE

# Unhide Library folder
# (might require a restart)
chflags nohidden ~/Library

# Expand Save Panel by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true
defaults write -g NSNavPanelExpandedStateForSaveMode2 -bool true

# Set Dock size and make it unchangeable
defaults write com.apple.dock tilesize -int 48
defaults write com.apple.dock size-immutable -bool true
killall Dock

# Dim Dock icon when application is hidden
defaults write com.apple.dock showhidden -boolean true
killall Dock

# Add a blank space to the end of Dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
killall Dock

# Disable shadows on window screenshots
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

# Disable animations when you open an application from the Dock.
defaults write com.apple.dock launchanim -bool false

# disable bounce animation when application wants attention
# source: http://osxdaily.com/2010/02/19/disable-dock-bouncing/
defaults write com.apple.dock no-bouncing -bool TRUE

# Make all animations faster that are used by Mission Control.
# (not sure if this does anything, actually)
defaults write com.apple.dock expose-animation-duration -float 0.1

# Fixes an issue with some applications that have poor smoothing in Mojave when not running on Retina monitors.
# (not sure how much good this actually does)
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
</code>
macos  osx  dotfiles  defaults  annoyances  movein  essential 
september 2019
« earlier      later »
per page:    204080120160

Copy this bookmark:





to read