This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:focal | |
LABEL author="lucaskallmon@gmail.com" | |
USER root | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
ca-certificates \ | |
git \ | |
git-lfs \ | |
python \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
.. | |
.DS_Store | |
.Trash | |
.android | |
.ansible | |
.ansible_galaxy | |
.bash_sessions | |
.cache | |
.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from 'react'; | |
import Timeline from 'react-calendar-timeline'; | |
import 'react-calendar-timeline/lib/Timeline.css'; | |
import moment from 'moment'; | |
import { DefaultApi } from 'mpt_api'; | |
const MxTimeline = () => { | |
const [items, setItems] = useState(null); | |
const [groups, setGroups] = useState(null); | |
const apiInstance = new DefaultApi(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useReducer } from "react"; | |
import "@patternfly/react-core/dist/styles/base.css"; | |
import "@patternfly/react-styles/css/utilities/Spacing/spacing.css"; | |
import { | |
Page, | |
PageHeader, | |
PageSidebar, | |
PageSection, | |
Wizard | |
} from "@patternfly/react-core"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import PropTypes from 'prop-types'; | |
import { Text, View } from 'react-native'; | |
import NativeTachyons from 'react-native-style-tachyons' | |
export default NativeTachyons.wrap( | |
class HoursList extends PureComponent { | |
static propTypes = { | |
hours: PropTypes.shape({ | |
closed_on: PropTypes.string, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wire { | |
background: | |
linear-gradient(to top left, | |
rgba(0,0,0,0.1) 0%, | |
rgba(0,0,0,0.05) calc(50% - 0.8px), | |
rgba(0,0,0,0.8) 50%, | |
rgba(0,0,0,0.05) calc(50% + 0.8px), | |
rgba(0,0,0,0.05) 100%), | |
linear-gradient(to top right, | |
rgba(0,0,0,0.05) 0%, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; The code starts as a string in a text file, like any programming language. | |
"(defn f [x] | |
(* x x))" | |
| |
;; Then it's read by the reader. | |
(with-in-str | |
"(defn f [x] | |
(* x x))" (read)) | |
| |
;; Read returns this data structure: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready -> | |
#only calls jqFloat library on the page with the flowers | |
#makes the flowers float a little | |
if activePage is "/" | |
$('.flower').jqFloat | |
height: 40 | |
width: 40 | |
speed: 1800 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** This is an extension for Adobe's open source editor Brackets.io that creates Gists easily | |
I think its pretty clever code on a couple levels, but mainly because operating systems prevent | |
browser technologies from accessing the clipboard directly. So instead, I exposed the URL as a string within | |
a text field, and select it, so the user only needs to hit their Copy shortcut. | |
I think its cool. | |
*/ | |
define(function (require, exports, module) { | |
'use strict'; |