Skip to content

Instantly share code, notes, and snippets.

@victormejia
victormejia / how-to-add-image-to-gist.md
Created September 25, 2019 03:39 — forked from mroderick/how-to-add-image-to-gist.md
How to add an image to a gist

How to add an image to a gist

  1. Create a gist if you haven't already.
  2. Clone your gist:
    # make sure to replace `<hash>` with your gist's hash
    git clone https://gist.github.com/<hash>.git # with https
    git clone git@gist.github.com:<hash>.git     # or with ssh
.site-content {
overflow: hidden;
}
.elementor-section.elementor-section-boxed > .elementor-container {
max-width: 1140px;
}
version: 2
references:
setup: &setup
working_directory: ~/ng-components
docker:
- image: circleci/node:8-browsers
deps-restore: &deps-restore
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HackerStatusComponent } from './hacker-status.component';
import { Component } from '@angular/core';
import { By } from '@angular/platform-browser';
@Component({
template:
'<vm-hacker-status [status]="appStatus"></vm-hacker-status>'
$red: #c0392b;
$green: #27ae60;
$yellow: #f1c40f;
.status-pulse {
position: relative;
width: 10px;
height: 10px;
&:hover {
"scripts: {
"format:check": "prettier --config ./.prettierrc --list-different \"src/{app,environments,assets}/**/*{.ts,.js,.json,.css,.scss}\""
}
{
  "rulesDirectory": [
    "node_modules/codelyzer"
  ],
  "rules": {
    "arrow-return-shorthand": true,
    "callable-types": true,
    "class-name": true,
--  "comment-format": [
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://unpkg.com/expect/umd/expect.min.js"></script>
@victormejia
victormejia / readme.text
Created November 18, 2015 23:18 — forked from elijahmanor/readme.text
My GitHub Atom Packages
adventurous-syntax@0.2.0
atom-beautify@0.28.14
atom-css-comb@2.0.1
atom-material-syntax@0.2.4
atom-material-ui@0.6.2
atom-twitter-client@0.4.3
caniuse@0.5.5
cobalt2-syntax@0.2.1
color-picker@2.0.13
copy-path@0.1.1
var el = d3.select('.vis'),
elWidth = parseInt(el.style('width'), 10),
elHeight = parseInt(el.style('height'), 10),
margin = {top: 20, right: 20, bottom: 30, left: 50},
width = elWidth - margin.left - margin.right,
height = elHeight - margin.top - margin.bottom;
var svg = el.append("svg")
.attr("width", elWidth)