Skip to content

Instantly share code, notes, and snippets.

View mbejda's full-sized avatar
🎯
Focusing

Milos Bejda mbejda

🎯
Focusing
View GitHub Profile
@mbejda
mbejda / 1513544180.[object Object]
Created December 17, 2017 20:56
Created with Copy to Gist
.container {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: 50px 350px 50px;
grid-template-areas:
"h h h h h h h h h h h h"
"m m c c c c c c c c c c"
"f f f f f f f f f f f f";
}
@mbejda
mbejda / file.css
Created December 17, 2017 19:33
Created with Copy to Gist
.container {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: 50px 350px 50px;
grid-template-areas: "h h h h h h h h h h h h" "m m c c c c c c c c c c" "f f f f f f f f f f f f";
}
@mbejda
mbejda / file.txt
Created December 17, 2017 19:31
Created with Copy to Gist
.container {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: 50px 350px 50px;
grid-template-areas: "h h h h h h h h h h h h" "m m c c c c c c c c c c" "f f f f f f f f f f f f";
}
@mbejda
mbejda / file.txt
Created December 17, 2017 19:31
Created with Copy to Gist
function copyToClipboard(text) {
const input = document.createElement('input');
input.style.position = 'fixed';
input.style.opacity = 0;
input.value = text;
document.body.appendChild(input);
input.select();
document.execCommand('Copy');
document.body.removeChild(input);
};
@mbejda
mbejda / file.txt
Created December 17, 2017 19:17
Created with Copy to Gist
@Directive({
selector: '[sampleDirective]'
})
export class SampleDirective {
private canvasComponent: ComponentRef < CanvasComponent > ;
constructor() {
@mbejda
mbejda / file..js
Created December 17, 2017 18:22
Created with GMedium
r@Directive({
selector: '[sampleDirective]'
})
export class SampleDirective {
private canvasComponent:ComponentRef<CanvasComponent>;
constructor(
) {
@mbejda
mbejda / file1.txt
Created December 17, 2017 17:17
Created with GMedium
A wild elephant was executed by the National Guard on a freeway overpass. Some state-sponsored prayers came on over everyone’s earbuds. A cat chased a robotic mouse over hardwood floors until it gave up and nosed the button for the automatic feeding machine. Claire yawned mid-text while discreetly picking her nose, hoping no one else would notice. The sun was sponsored by Apple Music. Nobody was paying attention to the news that was constantly scrolling beneath their vision, as it was always there, ticking by in a rapid succession of white-lettered statements. Abel sexually harassed Cain behind a paywall. In a surprise move by the ruling elite, the masses were allowed to purchase their own information that told them how to feel about their lives, which was how they wanted to feel: not hopeful, but content. Top political-donors mismanaged the time zones.
@mbejda
mbejda / file1.txt
Created December 17, 2017 17:16
Created with GMedium
he other day, I got into a cab and was surprised to see a 9-inch television streaming a local news station—in the front of the cab, so the driver could see it.
@mbejda
mbejda / file1.txt
Created December 17, 2017 17:09
Created with GMedium
There are various methods to get an input textbox value directly (without wrapping the input element inside a form element):
@mbejda
mbejda / file1.txt
Created December 17, 2017 16:28
Created with GMedium
he Outbreak of Fentanyl Shows How Broken the War on Drugs Is
And how safe injection sites might decrease over