Skip to content

Instantly share code, notes, and snippets.

View HMDMHMDI's full-sized avatar
:octocat:

HAMED HMDMHMDI

:octocat:
  • QAZVIN
View GitHub Profile
@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active June 20, 2024 17:21
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@vanillajonathan
vanillajonathan / Index.cshtml
Last active June 20, 2024 19:18
TinyMCE image upload on ASP.NET MVC
<script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script>
<script>
tinymce.init({
selector: 'textarea',
images_upload_url: "TinyMceUpload",
});
function upload(form) {
tinymce.activeEditor.uploadImages(function (success) {
form.submit();