Skip to content

Instantly share code, notes, and snippets.

View Serrin's full-sized avatar

Ferenc Czigler Serrin

  • The Walt Disney Company
  • Budapest
  • 06:23 (UTC +01:00)
View GitHub Profile
@Serrin
Serrin / javascript-query-string.js
Created June 7, 2021 11:19 — forked from DavidWells/javascript-query-string.js
JavaScript :: Regex trick: Parse a query string into an object
// http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/
// JavaScript regex trick: Parse a query string into an object
var queryString = {};
anchor.href.replace(
new RegExp("([^?=&]+)(=([^&]*))?", "g"),
function($0, $1, $2, $3) { queryString[$1] = $3; }
);
// Usage
@Serrin
Serrin / alias.bat.md
Created March 20, 2021 17:04 — forked from MohannadNaj/alias.bat.md
My windows aliases list.

My windows aliases list.

Installation

1- Attaching Aliases to the native command line:

Steps in this stackoverflow answer.Quoting:

you may make the alias(es) persistent with the following steps,

@Serrin
Serrin / markdown-details-collapsible.md
Created March 9, 2021 18:38 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@Serrin
Serrin / punctuation.js
Created January 6, 2021 10:13 — forked from davidjrice/punctuation.js
List of punctuation characters
var PUNCTUATION = "" +
"’'" + // apostrophe
"()[]{}<>" + // brackets
":" + // colon
"," + // comma
"‒–—―" + // dashes
"…" + // ellipsis
"!" + // exclamation mark
"." + // full stop/period
"«»" + // guillemets
@Serrin
Serrin / offline_mdn_docs.md
Created December 2, 2020 08:47 — forked from zed-dz/offline_mdn_docs.md
Offline MDN Docs
@Serrin
Serrin / html
Last active November 20, 2020 17:35 — forked from maxdenaro/html
HTML Email Template
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HTML Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
width: 100% !important;
@Serrin
Serrin / linebreak.md
Created November 11, 2020 12:08
Line breaks in markdown
Hello  (<-- two spaces)
World

Hello
World


@Serrin
Serrin / javascript.translit.js
Created October 22, 2020 18:45 — forked from croisillon/javascript.translit.js
JavaScript translater russian to translit
function rus_to_latin ( str ) {
var ru = {
'а': 'a', 'б': 'b', 'в': 'v', 'г': 'g', 'д': 'd',
'е': 'e', 'ё': 'e', 'ж': 'j', 'з': 'z', 'и': 'i',
'к': 'k', 'л': 'l', 'м': 'm', 'н': 'n', 'о': 'o',
'п': 'p', 'р': 'r', 'с': 's', 'т': 't', 'у': 'u',
'ф': 'f', 'х': 'h', 'ц': 'c', 'ч': 'ch', 'ш': 'sh',
'щ': 'shch', 'ы': 'y', 'э': 'e', 'ю': 'u', 'я': 'ya'
}, n_str = [];
@Serrin
Serrin / editors.md
Created April 22, 2020 19:27 — forked from Zirak/editors.md
Recommended editors.

Which editors do you recommend?

A heated question, oft asked in the nether of SO Chat. It's at the end, of course, a matter of taste and usage: Some editors are better than others at some things, some things are only possible in some editors.

So here's a list of editors and IDEs which we of room 17 use and can recommend, sorted alphabetically.

For beginners

Most importantly, here's a very short list of (free!) editors which are recommended for beginners to scripting or web-dev (i.e. no compiling necessary), aimed at people who just got into JavaScript, Ruby, Python, Bash, etc and want to get a feel of things. Just pick one and have fun!

Linux

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.