Skip to content

Instantly share code, notes, and snippets.

View sriram-palanisamy-hat's full-sized avatar

Sriram-palaniswamy-hat sriram-palanisamy-hat

  • Hash Agile
  • India
  • 06:51 (UTC +05:30)
View GitHub Profile
@elclanrs
elclanrs / README.md
Last active May 21, 2024 22:10
VanillaJS popover with autoposition
@gaearon
gaearon / connect.js
Last active April 19, 2025 04:46
connect.js explained
// connect() is a function that injects Redux-related props into your component.
// You can inject data and callbacks that change that data by dispatching actions.
function connect(mapStateToProps, mapDispatchToProps) {
// It lets us inject component as the last step so people can use it as a decorator.
// Generally you don't need to worry about it.
return function (WrappedComponent) {
// It returns a component
return class extends React.Component {
render() {
return (
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"