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
| moved to github --> https://github.com/bill-auger/git-branch-status/ |
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
| # Define our Configuration | |
| docpadConfig = | |
| # Define our own Collections | |
| collections: | |
| # Posts | |
| # Anything outputted to the posts directory can be considered a post | |
| # Sort the posts by newest first | |
| # And set their layout to `post` automatically if it isn't already set |
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
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', '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
| exports.config = { | |
| // The address of a running selenium server. | |
| seleniumAddress: 'http://localhost:4444/wd/hub', | |
| // Capabilities to be passed to the webdriver instance. | |
| capabilities: { | |
| // 'browserName': 'internet explorer', - special installation needed | |
| // 'version':'10', | |
| 'browserName': 'chrome', | |
| //'browserName': 'firefox' |
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
| public static Bitmap getCircledBitmap(Bitmap bitmap) { | |
| Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888); | |
| Canvas canvas = new Canvas(output); | |
| final Paint paint = new Paint(); | |
| final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); | |
| paint.setAntiAlias(true); | |
| canvas.drawARGB(0, 0, 0, 0); | |
| canvas.drawCircle(bitmap.getWidth() / 2, bitmap.getHeight() / 2, bitmap.getWidth() / 2, paint); | |
| paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN)); |
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
| // ---- | |
| // Sass (v3.4.11) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @function math-pow($number, $exp) { | |
| @if (round($exp) != $exp) { | |
| @return math-exp($exp * math-ln($number)); | |
| } |
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
| class InstantTaskExecutorExtension : BeforeEachCallback, AfterEachCallback { | |
| override fun beforeEach(context: ExtensionContext?) { | |
| ArchTaskExecutor.getInstance() | |
| .setDelegate(object : TaskExecutor() { | |
| override fun executeOnDiskIO(runnable: Runnable) = runnable.run() | |
| override fun postToMainThread(runnable: Runnable) = runnable.run() | |
| override fun isMainThread(): Boolean = true |
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
| import { forEachObjIndexed } from "ramda"; | |
| import * as React from "react"; | |
| import { | |
| Animated, | |
| ScrollView, | |
| View, | |
| ViewStyle, | |
| LayoutChangeEvent, | |
| NativeScrollEvent, | |
| } from "react-native"; |