I hereby claim:
- I am romannurik on github.
- I am romannurik (https://keybase.io/romannurik) on keybase.
- I have a public key whose fingerprint is 9C43 1BD9 8E4A C518 5DF1 8FB5 F838 5A88 DB4C 6EE2
To claim this, I am signing this object:
// Makes a copy of all selected components (how is this not built into Figma?) | |
let newSelection = []; | |
for (let component of figma.currentPage.selection.filter(node => node.type == 'COMPONENT')) { | |
let clone = component.clone() | |
clone.x += clone.width; | |
newSelection.push(clone); | |
} | |
figma.currentPage.selection = newSelection; |
/* | |
* Copyright 2013 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Moved to | |
https://github.com/romannurik/android-swipetodismiss |
<!DOCTYPE html> | |
<html> | |
<!-- | |
Copyright 2011 Google Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
/* | |
* ATTENTION: | |
* | |
* This layout is now maintained in the `iosched' code.google.com project: | |
* | |
* http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
* | |
*/ | |
/* |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="xhrproxy.js"></script> | |
<script> | |
setupXHRProxy(); | |
</script> | |
</head> |
/** | |
* Creates a 'ghost' bitmap version of the given source drawable (ideally a BitmapDrawable). | |
* In the ghost bitmap, the RGB values take on the values from the 'color' argument, while | |
* the alpha values are derived from the source's grayscaled RGB values. The effect is that | |
* you can see through darker parts of the source bitmap, while lighter parts show up as | |
* the given color. The 'invert' argument inverts the computation of alpha values, and looks | |
* best when the given color is a dark. | |
*/ | |
private Bitmap createGhostIcon(Drawable src, int color, boolean invert) { | |
int width = src.getIntrinsicWidth(); |
import { ControlType, PropertyControls } from "framer"; | |
import * as React from "react"; | |
interface TabWidgetProps { | |
selectedTab: number; | |
accentColor: string; | |
} | |
# cdg command | |
# A smarter cd, works well with up: http://daniele.livejournal.com/76011.html | |
# Help: cdg -h | |
# Show all links: cdg | |
# Delete link: cdg -d foo | |
# Clear all: cdg -c | |
# Store link to working directory: cdg -w foo | |
# Go to link: cdg foo | |
function cdg() { |
I hereby claim:
To claim this, I am signing this object: