Extrae solo los nombres de las clases del archivo css
cat bootstrap.css| grep "^\." | awk '{print $1}' | sed 's/\.//g' | sed 's/\,//g' > bootstrap.txtEl archivo resultante debe ser similar a:
h1
lead
display-1| #!/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.txtEl 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]
| import os | |
| import random | |
| from datetime import datetime | |
| from telethon.sync import TelegramClient | |
| API_ID = os.environ.get("TELEGRAM_APP_ID") | |
| API_HASH = os.environ.get("TELEGRAM_APP_HASH") | |
| GROUP_NAME = "odoo_es" |
| (defun my/goto-term () | |
| "Create a new `ansi-term` buffer." | |
| (interactive) | |
| (if (projectile-project-p) | |
| (let* ((buffer-name (format "[%s]-ansi-term" (projectile-project-name))) | |
| (buffer-name-for-search (format "*%s*" buffer-name)) | |
| (default-directory (projectile-project-root)) | |
| (buffer (get-buffer buffer-name-for-search))) | |
| (if buffer | |
| (switch-to-buffer buffer) |