Skip to content

Instantly share code, notes, and snippets.

@breakstorm
breakstorm / meta-tags.md
Created May 5, 2021 03:11 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@breakstorm
breakstorm / gist:0a8f89a8cb12b8bce53d55aa5ef4bed8
Created March 9, 2021 02:29 — forked from tonymtz/gist:d75101d9bdf764c890ef
Uninstall nodejs from OSX Yosemite
# first:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
# go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*

LCHF

저탄수화물 고지방 식이요법 - 저탄고지

세줄요약

  1. 탄단지 비율은 1:2:7 (1500kcal 기준, 37g:73g:113g)
  2. 배가 고플때 배부르게 먹는다.
  3. 좋은 지방을 챙겨먹는다.
@breakstorm
breakstorm / htmlparser.js
Created January 24, 2018 08:42
htmlparser
const textNode = (text, targetNode)=>{
if(text.length) targetNode.push({tag:{type:"TEXT", text}});
return '';
}
const htmlparser = (input) => {
const stacks = [], result = {tag:{TYPE:"ROOT", children: []}};
let cursor = 0, stack = result;
let char = '', text='';
process.stdin.resume();
process.stdin.setEncoding('ascii');
var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;
process.stdin.on('data', function (data) {
input_stdin += data;
});
@breakstorm
breakstorm / react-example
Last active April 19, 2017 02:00
react-example TABUI
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
constructor(){
super();
this.state = {post:[
{
"title": "sunt aut facere repellat",
process.stdin.resume();
process.stdin.setEncoding('ascii');
var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;
process.stdin.on('data', function (data) {
input_stdin += data;
});
/* Node is defined as
var Node = function(data) {
this.data = data;
this.next = null;
}
*/
// This is a "method-only" submission.
// You only need to complete this method.
function print(head) {
process.stdin.resume();
process.stdin.setEncoding('ascii');
var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;
process.stdin.on('data', function (data) {
input_stdin += data;
});
process.stdin.resume();
process.stdin.setEncoding('ascii');
var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;
process.stdin.on('data', function (data) {
input_stdin += data;
});