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/bash | |
# while read p; do | |
# url="${p}?x-oss-process=image/resize,w_1000/quality,Q_60" | |
# wget $url -O ${p##*/} | |
# #sleep .5 | |
# done <./images | |
random_files=`ls ./shop | gshuf -n 6000` | |
unset IFS | |
for f in $random_files; do |
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 | |
xcrun simctl list | grep 'Booted' | awk -F "[()]" '{ for (i=2; i<NF-1; i+=2) print $i }' | xargs -J {} xcrun simctl openurl '{}' $1 |
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 | |
XCODE_UUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID) | |
PLUGIN_PATH="$HOME/Library/Application Support/Developer/Shared/Xcode/Plug-ins" | |
for plugin in "$PLUGIN_PATH"/*.xcplugin ; do | |
defaults write "${plugin}"/Contents/Info DVTPlugInCompatibilityUUIDs -array-add $XCODE_UUID | |
done |
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"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Info: | |
Latest version: http://forums.gentoo.org/viewtopic-p-6183606.html#6183606 | |
xeffects thread: http://forums.gentoo.org/viewtopic-t-511382.html | |
Sub-pixel hinting: http://www.infinality.net/blog/?p=67 | |
Alternative: https://wiki.ubuntu.com/Fonts |
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
setenv PKG_TMPDIR /mnt/ZFS_VOLUME0/pkg_tmp |