Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Aleksandr Filatov greybax

🎯
Focusing
View GitHub Profile
View js_snippets.md

Revert string 'abc' -> 'cba'

str.split('').reverse().join('')

Search substring in string

let a = 'Happy New Year 2019!';
let b = 'Year 2019';
let c = 'Year 2018';
@greybax
greybax / settings.json
Last active Sep 28, 2017
My vscode settings
View settings.json
// Place your settings in this file to override the default settings
{
// Editor
// The number of spaces a tab is equal to.
"editor.tabSize": 2,
// Controls whether the editor should render whitespace characters
"editor.renderWhitespace": "all",
// Controls whether the editor should render indent guides
"editor.renderIndentGuides": true,
// Controls if the minimap is shown
View Asp.net_sample_events.aspx
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Asp.net_sample_events.aspx.cs" Inherits="AspNetSampleEvents._Default" %>
<asp:TextBox runat="server" ID="textBox" Text="Sample text"> </asp:TextBox>
<asp:Button runat="server" ID="button" Text="Click me"> </asp:Button>
</asp:Content>