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
<html> | |
<head> | |
<title>Title here</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<style> /* https://github.com/arturadib/strapdown/issues/25 */ | |
td[align=right] { text-align: right !important; } | |
td[align=center] { text-align: center !important; } | |
td[align=left] { text-align: left !important; } |
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/bash | |
function status { :; } | |
function on_event { :; } | |
function transform { cat; } | |
function entry { | |
echo -ne '{"name":"'$1'","full_text":"'$2'"'${3:+,$3}'},' |
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
define([ | |
'base/js/namespace', | |
'base/js/events', | |
'jquery', | |
'codemirror/keymap/vim', | |
'codemirror/addon/dialog/dialog' | |
], function(IPython, events, $) { | |
events.on('app_initialized.NotebookApp', function() { | |
IPython.keyboard_manager.edit_shortcuts.remove_shortcut('esc'); | |
IPython.Cell.options_default.cm_config.vimMode = true; |
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/python3 | |
from gcd.nix import sh, sh_quote, path, os, cmd, env | |
from urllib.parse import quote | |
from pandocfilters import toJSONFilter, RawInline | |
def codecogs(key, value, format, meta): | |
if key == 'Math': |
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
# -*- coding: utf-8 -*- | |
""" | |
Base16 Default Dark by Chris Kempson (http://chriskempson.com). | |
IPython Template by Carlos Pita ([email protected]). | |
Created with Base16 Builder by Chris Kempson. | |
""" | |
from prompt_toolkit.terminal.vt100_output import _256_colors |
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
// Hide sidebar with less than 2 entries. | |
var sidebar = $('.bs-sidebar') | |
var entries = sidebar.children().first() | |
if (entries.children().length <= 1) | |
sidebar.css('display', 'none') | |
else { | |
entries.children(':not(.main)').css('text-indent', '10px') | |
} | |
$('h1').css('font-weight', 'bold') |
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
;; -*- eval: (outline-hide-sublevels 6) -*- | |
;;; Packages | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/") t) | |
; '("melpa-stable" . "https://stable.melpa.org/packages/") t) | |
(add-hook 'dired-load-hook (lambda () (load "dired-x"))) | |
(package-initialize) |
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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": "/home/carlos/Projects/Jampp/Gcd" | |
}, | |
{ | |
"path": "/home/carlos/Projects/Jampp/Daat" | |
}, | |
{ | |
"path": "/home/carlos/Projects/Jampp/Leech" |