Skip to content

Instantly share code, notes, and snippets.

View maniart's full-sized avatar
📶

Mani Nilchiani maniart

📶
View GitHub Profile
@cowboy
cowboy / black-hole-pixel.css
Created April 17, 2019 16:03
one pixel from the black hole image in css, zoomed in
body {
color: #000;
}
// MapTools Component
<View style={[styles.container, top && styles.top,]}>
<TouchableOpacity hitSlop={{ top: 8, left: 8, right: 8, bottom: 8, }} onPress={onPress}>
{children}
</TouchableOpacity>
</View>
// MapTools styles
export default StyleSheet.create({
@dphiffer
dphiffer / uber.md
Last active January 11, 2019 18:15
Re: Working For Uber - Let's Connect!
@brianloveswords
brianloveswords / follower-csv.js
Last active November 3, 2017 22:47
Copy a CSV of your followers to your clipboard
// put this in the console on https://twitter.com/<username/followers
timer = setInterval(() => window.scrollTo(0, document.body.scrollHeight), 100);
// wait until the document stops scrolling...
clearInterval(timer);
// this will copy the CSV to your clipboard
copy(

Candace's Crypto-training Docs

Notes from trainings giving at Eybeam (12/3/16), Free School/Escuelita Libre (1/14/17), Art is Labor (4/23/2017), and BUFU's digital security skillshare (7/11/2017)

Secure Communnications

SMS and Messaging

@brigand
brigand / writing-open-source-component.md
Last active October 21, 2017 23:00
React.js: Writing open source components

Open source is an important part of the react ecosystem. Most of the time you'll use components written by others, but you may wish to create components other people can use. For this guide, you'll need to have node.js and git installed.

Setup

First you'll need to create a project directory, and open a terminal in that directory. React components are published as npm packages, so we need a package.json file. To create one, run npm init and follow the prompts.

@nolanlawson
nolanlawson / parens-and-perf-counterpost.md
Last active August 14, 2023 20:08
"Parens and Performance" – counterpost

"Parens and Performance" – counterpost

Kyle Simpson (@getify) wrote a very thoughtful post decrying optimize-js, which is a tool I wrote that exploits known optimizations in JavaScript engines to make JS bundles parse faster (especially minified bundles, due to what could be reasonably described as a bug in Uglify).

Kyle lays out a good case, but I tend to disagree with nearly all his points. So here's my rebuttal.

@fabien-d
fabien-d / Object.assign.js
Created September 22, 2015 16:27
Nested Object.assign calls formatting
let object = {
key: {
subkey: 'value',
status: 'STATUS'
}
};
// compact
Object.assign( {}, object, { key: Object.assign( {}, object.key, { status: 'PENDING' } ) } );

stream video is not avilable anymore

I've changed link to each video. I'll add links to slides as I find them :)

The Scary Stuff

Simon Swain - Cold War Simulation
Yan Zhu - Weird Tricks to Improve Web Security 10000000% Slides
Jed Schmidt - Inline Styles

UX & Performance

Michelle Bu - building component libraries

@PurpleBooth
PurpleBooth / README-Template.md
Last active May 9, 2024 19:52
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites