This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---- Generated by tint2conf 1260 ---- | |
# See https://gitlab.com/o9000/tint2/wikis/Configure for | |
# full documentation of the configuration options. | |
#------------------------------------- | |
# Gradients | |
#------------------------------------- | |
# Backgrounds | |
# Background 1: Panel | |
rounded = 0 | |
border_width = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
emacsclient -c $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export EDITOR=et | |
export ZSH=/usr/share/oh-my-zsh | |
source $ZSH/oh-my-zsh.sh | |
source /usr/share/zsh/share/antigen.zsh | |
antigen bundle git-prompt | |
antigen bundle command-not-found | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
antigen bundle zsh-users/zsh-completions | |
antigen bundle zsh-users/zsh-history-substring-search |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun make-board (size) | |
(make-array `(,size ,size ,size))) | |
(defvar *size* 8) | |
(defvar *score* (make-board *size*)) | |
(defvar *matrix* (make-board *size*)) | |
(defun dimension (size score matrix) | |
(dotimes (i size) | |
(dotimes (j size) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; google-search.lisp | |
(in-package #:google-search) | |
(defun -search (term) | |
"Returns html for the given search `term'" | |
(let* ((query (list (cons "q" term)))) | |
(drakma:http-request "http://www.google.com/search" | |
:parameters query))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun org-babel-execute:spice (body params) | |
"Execute BODY with specified PARAMS." | |
(let ((body (org-babel-expand-body:spice body params)) | |
(vars (mapcar #'cdr (org-babel-get-header params :var))) | |
textfile | |
imagefile | |
raw | |
result) | |
(org-babel-eval "ngspice " body) | |
(mapc (lambda (pair) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; god-mode.lisp | |
(defvar *god-mode-enabled* nil) | |
(defvar *god-mode-enabled-text* "God") | |
(defvar *god-mode-disabled-text* "Default") | |
(defun god-mode () | |
"Enables or disables `god-mode' by updating variable `god-mode-enabled'." | |
(if *god-mode-enabled* | |
(setf *god-mode-enabled* nil) | |
(setf *god-mode-enabled* t))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 57144 100 57144 0 0 77262 0 --:--:-- --:--:-- --:--:-- 77221 | |
==== quicklisp quickstart 2015-01-28 loaded ==== | |
To continue with installation, evaluate: (quicklisp-quickstart:install) | |
For installation options, evaluate: (quicklisp-quickstart:help) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 57144 100 57144 0 0 58633 0 --:--:-- --:--:-- --:--:-- 58609 | |
==== quicklisp quickstart 2015-01-28 loaded ==== | |
To continue with installation, evaluate: (quicklisp-quickstart:install) | |
For installation options, evaluate: (quicklisp-quickstart:help) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $mode_search Search (g) google, (y) youtube, (d) D.O.I. paper | |
mode "$mode_search" { | |
bindsym g exec firefox "https://www.google.com.mx/?q=`xclip -o`", mode "default" | |
bindsym y exec firefox "https://www.youtube.com/results?search_query=`xclip -o`", mode "default" | |
bindsym d exec firefox "sci-hub.io/`xclip -o`", mode "default" | |
# back to normal: Enter or Escape | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} |