Skip to content

Instantly share code, notes, and snippets.

View voidrender's full-sized avatar
👨‍💻
Idle hands build nothing

Isaac Overacker voidrender

👨‍💻
Idle hands build nothing
View GitHub Profile
@voidrender
voidrender / react-native-svg+12.1.1.patch
Created September 6, 2021 05:34
Fix react-native-svg focusing everything when tabbing on web
This file has been truncated, but you can view the full file.
diff --git a/node_modules/react-native-svg/lib/commonjs/LocalSvg.js b/node_modules/react-native-svg/lib/commonjs/LocalSvg.js
index 804d8f8..7bca29a 100644
--- a/node_modules/react-native-svg/lib/commonjs/LocalSvg.js
+++ b/node_modules/react-native-svg/lib/commonjs/LocalSvg.js
@@ -1,2 +1,2 @@
-"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.getUriFromSource=getUriFromSource;exports.loadLocalRawResourceDefault=loadLocalRawResourceDefault;exports.isUriAnAndroidResourceIdentifier=isUriAnAndroidResourceIdentifier;exports.loadAndroidRawResource=loadAndroidRawResource;exports.loadLocalRawResourceAndroid=loadLocalRawResourceAndroid;exports.LocalSvg=LocalSvg;exports.default=exports.WithLocalSvg=exports.loadLocalRawResource=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));v
@voidrender
voidrender / gist:57ea7b28a6fc2e05851f
Created June 4, 2015 16:38
Manually install lcov for Xcode Server
# go to http://ltp.sourceforge.net/coverage/lcov.php and grab the latest lcov tgz
tar xjf lcov
cd lcovdir/bin
sudo chown root:staff *
sudo chmod 0755 *
sudo cp -p gen* /usr/sbin
sudo cp -p lcov /usr/sbin
@voidrender
voidrender / alcove-bot-after-integration.sh
Created June 3, 2015 16:34
A sample script to add to an After Integration Run Script step for an Xcode Server bot.
#!/bin/sh
report_path=$XCS_BOT_NAME/$XCS_INTEGRATION_NUMBER
# This is the path to a directory we have hosted by the web server on our Xcode Server
host_path=/Library/Server/Web/Data/Sites/Alcove
output_directory=$host_path/$report_path
# Replace both instances of YourProduct with the name of your product
# You probably don't need all of the --remove-filter options, either.
alcove --verbose --product-name YourProduct --remove-filter *Masonry*,*YourProduct.iOSTest*,*iPhoneSimulator* --output-directory $output_directory