Extrae solo los nombres de las clases del archivo css
cat bootstrap.css| grep "^\." | awk '{print $1}' | sed 's/\.//g' | sed 's/\,//g' > bootstrap.txt
El archivo resultante debe ser similar a:
h1
lead
display-1
(require 'tree-sitter) | |
(require 'seq) | |
(require 'cl-lib) | |
;;TODO: mapp grammar for other langauges and complete grammar for haskell | |
(setq modes-mapping '((haskell-mode . (exp_apply exp_infix exp_in exp_cond exp_literal)))) | |
(defun expr-at-point () | |
"Highlight expression at point." | |
(interactive) |
function svg2png(svgContent, width, height, callback) { | |
// svgContent should be in base64 | |
let svgData = svgContent; | |
let canvas = document.createElement("canvas"); | |
let context = canvas.getContext("2d"); | |
canvas.width = width; | |
canvas.height = height; | |
let image = new Image(); |
#!/bin/bash - | |
set -o nounset | |
make clean | |
echo "making sure all requirements are installed..." | |
brew install autoconf automake libxml2 jansson gnutls cmake librsvg texinfo |
(defun replace-at-point () | |
(delete-char 1) | |
(insert "🔥")) | |
(defun replace-line () | |
(while (< (point) (line-end-position)) | |
(sit-for 0.1) | |
(replace-at-point))) | |
(defun burn-code () |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
(tab-bar-mode 1) | |
(defvar my/projects-tabs-map ()) | |
(defun my/projectile-switch-action () | |
"Create a new tab when a new project is opened, it saves the tab index into `my/projects-tabs-map' | |
using the project name as its key." | |
(tab-bar-new-tab) | |
(setf (alist-get (projectile-project-name) my/projects-tabs-map) (tab-bar--current-tab-index)) | |
(helm-ls-git-ls)) |
Extrae solo los nombres de las clases del archivo css
cat bootstrap.css| grep "^\." | awk '{print $1}' | sed 's/\.//g' | sed 's/\,//g' > bootstrap.txt
El archivo resultante debe ser similar a:
h1
lead
display-1
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
;; temporary fix to avoid error when checking package signature | |
(setq package-check-signature nil) | |
(package-initialize) |
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: build_mac.sh | |
# | |
# USAGE: ./build_mac.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
Listing pods with kubectl get pods
, then select a pod name and copy paste it into kubectl logs [pod name]