I hereby claim:
- I am mimiflynn on github.
- I am mimiflynn (https://keybase.io/mimiflynn) on keybase.
- I have a public key whose fingerprint is 0BEC 6013 5335 5184 4466 36C7 4F5E D03D C99A 19CD
To claim this, I am signing this object:
#!/bin/bash | |
# GUI-related packages | |
pkgs=" | |
xserver-xorg-video-fbdev | |
xserver-xorg xinit | |
gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
gstreamer1.0-libav | |
epiphany-browser |
// Morning Afternoon or Evening? | |
const getGreetingTime = (m) => { | |
let g = null; | |
if (!m || !m.isValid()) { | |
return; // exit if not a moment object | |
} | |
let split_afternoon = 12 // 24hr time to split the afternoon | |
let split_evening = 17 // 24hr time to split the evening |
const updateActive = (node) => { | |
// remove active class from all items | |
Array.prototype.forEach.call(node.parentNode.children, (e) => { | |
e.className = e.className.split(' active').join(''); | |
}); | |
// add active class to correct item | |
node.className = node.className + ' active'; | |
} |
I hereby claim:
To claim this, I am signing this object:
Alternative to Fing now that Fing has removed / hidden its CLI tool to show what computers are connected to one's current network.
https://itsfoss.com/how-to-find-what-devices-are-connected-to-network-in-ubuntu/
https://superuser.com/questions/124453/how-can-i-scan-the-local-network-for-connected-devices-mac-os
arp -a | grep -v '^?'
import request from 'request'; | |
/** | |
* Module of Google maps API utils | |
* @module /app/utils/maps | |
*/ | |
// create a static map url | |
const createStaticMap = ({ lat, long }) => { | |
const url = 'https://maps.googleapis.com/maps/api/staticmap?center=' + lat + ',' + long + '&zoom=13&size=470x450&maptype=roadmap&markers=color:red%7Clabel:CityMD%7C' + lat + ',' + long + '&key=' + global.CONSTANTS.MAPS_KEY; |
import React, { Component, PropTypes } from 'react'; | |
import { connect } from 'react-redux'; | |
import validator from 'email-validator'; | |
import classnames from 'classnames'; | |
const mockItems = [{ | |
label: 'topic item one' | |
}, { | |
label: 'topic item two' | |
}]; |
# ------------------------------------------------------------------------------ | |
# Mimi's settings | |
set -g mouse on | |
# split panes using | and _ | |
bind _ split-window | |
bind | split-window -h | |
unbind '"' |