Skip to content

Instantly share code, notes, and snippets.

@clvrobj
Created September 27, 2012 16:43
Show Gist options
  • Save clvrobj/3795035 to your computer and use it in GitHub Desktop.
Save clvrobj/3795035 to your computer and use it in GitHub Desktop.
Check and add "# -*- coding: utf-8 -*-"
(defun add-py-header ()
"check and add # -*- coding: utf-8 -*-"
(interactive)
(let ((pyheader "# -*- coding: utf-8 -*-"))
(if (not (equal pyheader (buffer-substring-no-properties 1 (1+ (length pyheader)))))
(progn (goto-char 1)
(insert (concat pyheader "\n\n"))))))
@Kokhongkha123
Copy link

coding=utf-8

obfuscated with plusobf: https://github.com/loolzec/plusobf

d=['', '', '', '', '', '', '', '', '', '', '', '', '___________________________________________________________________________________________________________________', '', '', '', '', '', '', '', '', '', '', '', '', '', '_____________________________________________________________________________________________________', '', '', '', '', '', '', '', '_', '', '', '', '', '', '____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment