Git: Change DiffMerge Font-Size on Mac OSX
open -e ~/Library/Preferences/SourceGear\ DiffMerge\ Preferences
Append this to it
[File]
Font=22:76:consolas
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="equals (Guava)" enabled="true" name="equals">${:import(com.google.common.base.Objects)} | |
@Override | |
public boolean equals(final Object obj) { | |
if (this == obj) { | |
return true; | |
} | |
if (obj == null) { | |
return false; | |
} | |
if (getClass() != obj.getClass()) { |
// http://stackoverflow.com/questions/8098564/is-it-possible-to-specify-java-system-properties-when-running-groovy-from-comman | |
/* | |
System properties are set on the java command line using the | |
java -Dpropertyname=value | |
syntax. | |
They can also be added at runtime using | |
System.setProperty(name, value) | |
or via the various | |
System.getProperties().load() | |
methods. |
tell application "System Events" | |
--set visible of every process whose visible is true and name is not in {"Finder", name of current application} to false | |
set visible of every process whose visible is true and name is not "Finder" and frontmost is false to false | |
end tell |
DSLContext database = Mockito.mock(DSLContext.class, Mockito.RETURNS_DEEP_STUBS); | |
Mockito.when(database.select(ACTIVITY_TYPE.ID) | |
.from(ACTIVITY_TYPE) | |
.where(ACTIVITY_TYPE.SINGLE_PERSON_USABLE.isTrue()) | |
.fetch(ACTIVITY_TYPE.ID)) | |
.thenReturn(ImmutableList.of(singleActivityTypeId)); | |
Mockito.when(database.select(ACTIVITY_TYPE.ID) | |
.from(ACTIVITY_TYPE) |
//root build.gradle | |
ext { | |
javaVersion = JavaVersion.VERSION_1_7 | |
} | |
Project.metaClass.prop { name -> | |
delegate.with { | |
ext.properties.containsKey( name ) ? | |
ext.properties[ name ] : parent?.prop( name ) | |
} |
# Command to open the webbrowser and immediately start searching | |
# for the right keyword. | |
# | |
# Usage: | |
# $ google test query | |
# $ => Opens the browser on http://www.google.com/search?q=test+query | |
# | |
google() | |
{ |
Git: Change DiffMerge Font-Size on Mac OSX
open -e ~/Library/Preferences/SourceGear\ DiffMerge\ Preferences
Append this to it
[File]
Font=22:76:consolas
There are two ways of installing meld on osx (May 2023), using brew
and .dmg
package (from @yousseb). Since I found https://yousseb.github.io/meld/, I've installed it with .dmg
package, but having macOS Ventura Version 13.4 (22F66)
in place, it's not even starting for me. So I tried brew
installation, and the application is working as expected, including symlink to start it from the terminal.
brew install --cask meld
# set meld as your default git mergetool