Author: | Baiju Muthukadan |
---|---|
Email: | baiju.m.mail AT gmail.com |
Version: | 0.3.2 |
{ | |
"folders": | |
[ | |
{ | |
"path": "django_project_dir" | |
}, | |
{ | |
"path": "lib/python2.7" | |
} | |
], |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
# ~/.osx — http://mths.be/osx | |
############################################################################### | |
# General UI/UX # | |
############################################################################### | |
# Set computer name (as done via System Preferences → Sharing) | |
scutil --set ComputerName "MathBook Pro" | |
scutil --set HostName "MathBook Pro" | |
scutil --set LocalHostName "MathBook-Pro" |
(* | |
"Album Rating Reset" for iTunes | |
written by Doug Adams | |
[email protected] | |
v1.0 sept 6 2007 | |
-- initial release | |
v2.0 mar 6 2013 | |
updated by Dhiraj Gupta (http://www.dhirajgupta.com) |
<?xml version="1.0" encoding="utf-8" ?> | |
<NotFoundHandlers> | |
<notFound assembly="umbraco" type="SearchForAlias" /> | |
<notFound assembly="umbraco" type="SearchForTemplate"/> | |
<notFound assembly="umbraco" type="SearchForProfile"/> | |
<notFound assembly="CatchAllRouteHandler" namespace="Our" type="CatchAll"/> | |
<notFound assembly="umbraco" type="handle404"/> | |
</NotFoundHandlers> |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
/** | |
* This is a node script to merge cobertura reports in XML format. | |
* It requires `xml2js` : `npm i -D xml2js` | |
* | |
* Execute with: | |
* ``` | |
* node merge-cobertura.js coverage/file1.xml coverage/file2.xml to=coverage-final.xml | |
* ``` | |
* @see https://github.com/Leonidas-from-XIV/node-xml2js | |
* @author Jérémy Legros |
React recently introduced an experimental profiler API. After discussing this API with several teams at Facebook, one common piece of feedback was that the performance information would be more useful if it could be associated with the events that caused the application to render (e.g. button click, XHR response). Tracing these events (or "interactions") would enable more powerful tooling to be built around the timing information, capable of answering questions like "What caused this really slow commit?" or "How long does it typically take for this interaction to update the DOM?".
With version 16.4.3, React added experimental support for this tracing by way of a new NPM package, scheduler. However the public API for this package is not yet finalized and will likely change with upcoming minor releases, so it should be used with caution.
import React, {FunctionComponent, useEffect, useRef, useState} from "react"; | |
import {Animated, Easing, TouchableOpacity} from "react-native"; | |
import {theme} from "../../const/theme"; | |
export const Link: FunctionComponent<{ | |
onPress: () => void, | |
useUnderline?: boolean | |
a11yLabel: string, | |
isExternalLink: boolean | |
}> = ({ |