- vuejs
- používaju sa single file components https://vuejs.org/v2/guide/single-file-components.html
- vuex https://vuex.vuejs.org/
- store modules https://vuex.vuejs.org/guide/modules.html
- vue router https://router.vuejs.org/
- vuetify https://vuetifyjs.com/en/
- axios https://github.com/axios/axios
This file contains 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
// cv042.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
// | |
#include <iostream> | |
#include "test.h" | |
enum enum_name | |
{ | |
element1, | |
element2, |
This file contains 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
[user] | |
email = patrik.svikruha@gmail.com | |
name = Patrik Svikruha | |
[credential] | |
helper = wincred | |
[filter "lfs"] | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
clean = git-lfs clean -- %f |
This file contains 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
async update({ commit }, { token, password }) | |
{ | |
const result = await axios.put( | |
passwordChangeUrl, | |
{ token, password }, | |
{ validateStatus: status => status === 404 || status === 400 } | |
) | |
switch (result.status) { | |
case 404: | |
commit("login is expired") |
This file contains 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
{ | |
"test": 555, | |
"content": { | |
"name": "AAA", | |
"age": 55 | |
} | |
} |
This file contains 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
internal class Program | |
{ | |
#pragma warning disable VSTHRD200 | |
private static async Task Main(string[] args) | |
{ | |
await Task.CompletedTask; | |
Console.WriteLine("Hello World!"); | |
} | |
#pragma warning restore VSTHRD200 | |
} |
This file contains 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
<Project> | |
<PropertyGroup> | |
<LangVersion>preview</LangVersion> <!--Set C# version for every projects--> | |
<Nullable>enable</Nullable> <!--Enable nullable for projects--> | |
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)Solution.ruleset</CodeAnalysisRuleSet> <!--Path to Solution.ruleset config for analyzers--> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.5.132" /> <!--some analyzer from nuget https://www.nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers/ --> | |
</ItemGroup> |
This file contains 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
# sync settings for vscode based on github gists | |
code --install-extension shan.code-settings-sync | |
# vuejs extesion | |
code --install-extension octref.vetur | |
# javascript/typescript playground https://quokkajs.com/ | |
code --install-extension wallabyjs.quokka-vscode | |
# liveshare for vscode => welcome eXtreme programming |
This file contains 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
import pandas as pd | |
import csv | |
import matplotlib.pyplot as plt | |
from scipy import signal | |
x = [] | |
y = [] | |
z = [] | |
xOffset = None |
This file contains 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
/// | |
services.AddAuthentication(options => | |
{ | |
options.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationScheme; | |
options.DefaultSignInScheme = CookieAuthenticationDefaults.AuthenticationScheme; | |
options.DefaultChallengeScheme = CookieAuthenticationDefaults.AuthenticationScheme; | |
}) | |
.AddCookie(); | |
services.ConfigureApplicationCookie(options => |