Code moved to https://github.com/breun/git-open
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
| DIGESTS=`docker images | awk '$2 == "<none>" { print $3 }'` | |
| if [ -n "${DIGESTS}" ]; then | |
| docker rmi --force $DIGESTS | |
| fi |
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
| docker images --format '{{.Repository}}:{{.Tag}}' | xargs -L 1 docker pull |
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
| # Enable Touch ID for use with sudo on macOS. | |
| # macOS Sonoma introduced /etc/pam.d/sudo_local, which persists through OS updates, unlike methods that modify /etc/pam.d/sudo. | |
| sed "s/^#auth/auth/" /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local |
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
| cd /opt/local/etc/bash_completion.d | |
| sudo ln -s /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash |
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
| UPDATE subjects SET subject = substr(subject,12), normalized_subject = substr(normalized_subject,12) WHERE subject LIKE '***Spam*** %'; |
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/bash | |
| # This script symlinks the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files | |
| # to all Java 8 Development Kit installations on macOS. The original policy files are backed up as *.backup. | |
| # | |
| # 1. Download: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html | |
| # 2. Unpack the zip file somewhere, e.g. /Library/Java/JavaCryptographyExtensions8 | |
| # 3. Put this script in the directory where you put the unpacked files | |
| # 4. Run 'sudo ./install.sh' to make the cryptography extensions available to all JDK 8 installations | |
| # |
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
| package org.apache.jackrabbit.core.query.lucene; | |
| import org.apache.jackrabbit.core.id.NodeId; | |
| import org.apache.jackrabbit.core.security.AccessManager; | |
| import org.apache.jackrabbit.core.session.SessionContext; | |
| import org.apache.jackrabbit.spi.Path; | |
| import org.apache.jackrabbit.spi.commons.query.qom.ColumnImpl; | |
| import org.apache.lucene.search.Query; | |
| import org.junit.Test; | |
| import org.mockito.invocation.InvocationOnMock; |
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
| (...) | |
| npm sill install resolved [] | |
| npm verb about to build /Users/breun/Projects/hoodie-server-account/node_modules/lodash | |
| npm info build /Users/breun/Projects/hoodie-server-account/node_modules/lodash | |
| npm info linkStuff lodash@4.5.0 | |
| npm sill linkStuff lodash@4.5.0 has /Users/breun/Projects/hoodie-server-account/node_modules as its parent node_modules | |
| npm verb linkBins lodash@4.5.0 | |
| npm verb linkMans lodash@4.5.0 | |
| npm verb rebuildBundles lodash@4.5.0 | |
| npm info install lodash@4.5.0 |
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
| def randomEmoji() { | |
| def values = 0x1F601..0x1F64F | |
| def randomValue = values[new Random().nextInt(values.size())] | |
| Character.toChars(randomValue) | |
| } |
NewerOlder