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
| " A Simple Vimrc | |
| " By Dieter Brehm | |
| " github/Inkering | |
| set nocompatible " be iMproved, requires | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() |
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
| ;;; Emacs Config | |
| ;;;; indentation | |
| (setq c-default-style "linux" | |
| c-basic-offset 4 | |
| sgml-basic-offset 4) | |
| (c-set-offset `inline-open 0) | |
| (setq-default tab-width 4) |
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
| ;;; Emacs Config | |
| ;;;; indentation | |
| ;; Added by Package.el. This must come before configurations of | |
| ;; installed packages. Don't delete this line. If you don't want it, | |
| ;; just comment it out by adding a semicolon to the start of the line. | |
| ;; You may delete these explanatory comments. | |
| (package-initialize) | |
| (setq c-default-style "linux" |
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
| public static string Base64Encode(string someText) | |
| { | |
| var plainText = System.Text.Encoding.UTF8.GetBytes(someText); | |
| return System.Convert.ToBase64String(plainText); | |
| } | |
| public static string Base64Decode(string someText) | |
| { | |
| var encodedtext = System.Convert.FromBase64String(someText); | |
| return System.Text.Encoding.UTF8.GetString(encodedtext); | |
| } |
NewerOlder