Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

nobody bodyno

🎯
Focusing
View GitHub Profile
@pizzarob
pizzarob / 01_DropZone.jsx
Last active Nov 14, 2017
HTML5 Drag and Drop File Upload React Component
View 01_DropZone.jsx
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
const ANIMATION_DURATION = 1000;
class BatchDropZone extends React.Component {
static propTypes = {
@finervision
finervision / fastclick.js
Last active Dec 14, 2016
Fastclick.js detach method
View fastclick.js
/**
* Adding a detach method so you can do:
* var fs = FastClick.attach(document.body);
* fs.detach();
*
* in case you need to detach/disable FastClick
* /
@mustafaturan
mustafaturan / ruby.2.6.3-setup.sh
Last active Nov 19, 2020
ruby 2.6.3 setup for centos 6.x
View ruby.2.6.3-setup.sh
#!/usr/bin/env bash
# repository
cd /tmp
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
# system update
yum -y update
yum -y groupinstall "Development Tools"
yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

You can’t perform that action at this time.