Skip to content

Instantly share code, notes, and snippets.

View Sapython's full-sized avatar
:shipit:
Learning GoLang

Kumar Saptam Sapython

:shipit:
Learning GoLang
View GitHub Profile
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "paste",
"keys": "ctrl+v"
},
{
@Sapython
Sapython / profile.ps1
Created June 24, 2022 02:35
My powershell profile script
# Install-Module -Name PSReadLine -RequiredVersion 2.2.0-beta5 -AllowPrerelease
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
@Sapython
Sapython / settings.json
Created June 24, 2022 02:34
Vscode settings
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"editor.fontFamily": "Operator Mono Lig",
"terminal.integrated.fontFamily": "CaskaydiaCove NF",
"editor.fontLigatures": true,
"python.languageServer": "Default",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorCustomizations": {
@Sapython
Sapython / shortcust.json
Created June 24, 2022 02:34
My vscode shortcuts
[
{
"key": "ctrl+shift+scrolllock",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"workbench.action.toggleStatusbarVisibility",
"workbench.action.toggleCenteredLayout",
"workbench.action.toggleSidebarVisibility",
"workbench.action.toggleActivityBarVisibility",
@Sapython
Sapython / UsingLambda.py
Created May 21, 2021 13:39
Using lambda for short and single line statements.
#The lambda function
functionName=lambda variable: list(str(variable))[0]
#defining a string variable
a="MyLongCharacter"
#printing the output of our lambda function
print(functionName(a))