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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> | |
| <title>DelEmoj</title> | |
| </head> | |
| <body> | |
| <table cellpadding="1" cellspacing="1" border="1"> | |
| <thead> |
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
| (defvar *eshell-cursor-moved* nil) | |
| (defun move-eshell-cursor () | |
| (catch 'set-var | |
| (when (and (string-match "eshell" (buffer-name)) (not *eshell-cursor-moved*)) | |
| (progn | |
| (setq *eshell-cursor-moved* t) | |
| (goto-char (point-max)) | |
| (throw 'set-var nil))) | |
| (when (and (not (string-match "eshell" (buffer-name))) *eshell-cursor-moved*) |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am thezacattacks on github. | |
| * I am thezacattacks (https://keybase.io/thezacattacks) on keybase. | |
| * I have a public key ASDyAM-OjFv3ZBWdwHvhczM8Er-8A4gcBgv-ArWvGJWg1Ao | |
| To claim this, I am signing this object: |
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
| def post status, *args | |
| args = args.first if args.first.is_a? Hash # if our arguments contain a hash of params we take them | |
| if status.length > 500 # only ask if the post is /huge/ | |
| print "Would you like to split this status into multiple posts?[Y/n]> " | |
| ans = gets.chomp | |
| if ans.downcase == "y" || ans == "" || @always_split_long_posts # if user says yes | |
| num_posts = 1 # we number each post | |
| # and get the length of the spoiler, if one exists |