Skip to content

Instantly share code, notes, and snippets.

View canfie1d's full-sized avatar
🎯
Focusing

Ryan Canfield canfie1d

🎯
Focusing
View GitHub Profile
@canfie1d
canfie1d / assemble.sh
Created April 26, 2022 22:22
Assemble CLI
#!/bin/bash
# GNU bash, version 4.4.20
echo Assemble CLI v0.0.1
echo "Select your Database" \
select db in postgresql mongodb
do
if [ "$db" == "" ]; then
@canfie1d
canfie1d / focus-detector.js
Last active June 5, 2018 18:38
Focus detector
import 'react' from 'React';
import classNames from 'class-names';
export default class FocusDetector extends React.Component {
constructor(props) {
super(props);
this.state= {
hideFocusOutline: true
};
}
@canfie1d
canfie1d / flexbox-mixins.scss
Last active May 1, 2016 21:55
Flexbox mixins
@mixin flexContainer($centerContent:false, $wrapContent:true, $inlineFlex:false) {
display : flex;
flex-wrap : nowrap;
@if $inlineFlex == true {
display : inline-flex;
}
@if $wrapContent == true {
flex-wrap : wrap;