Skip to content

Instantly share code, notes, and snippets.

View se's full-sized avatar
🎯
Focusing

Selcuk Ermaya se

🎯
Focusing
View GitHub Profile
/*! QRious v4.0.2 | (C) 2017 Alasdair Mercer | GPL v3 License
Based on jsqrencode | (C) 2010 tz@execpc.com | GPL v3 License */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.QRious=e()}(this,function(){"use strict";function t(t,e){var n;return"function"==typeof Object.create?n=Object.create(t):(s.prototype=t,n=new s,s.prototype=null),e&&i(!0,n,e),n}function e(e,n,s,r){var o=this;return"string"!=typeof e&&(r=s,s=n,n=e,e=null),"function"!=typeof n&&(r=s,s=n,n=function(){return o.apply(this,arguments)}),i(!1,n,o,r),n.prototype=t(o.prototype,s),n.prototype.constructor=n,n.class_=e||o.class_,n.super_=o,n}function i(t,e,i){for(var n,s,a=0,h=(i=o.call(arguments,2)).length;a<h;a++){s=i[a];for(n in s)t&&!r.call(s,n)||(e[n]=s[n])}}function n(){}var s=function(){},r=Object.prototype.hasOwnProperty,o=Array.prototype.slice,a=e;n.class_="Nevis",n.super_=Object,n.extend=a;var h=n,f=h.extend(function(t,e,i){this.qrious=t,this.element=e,
@se
se / Removing-all-dotnet-sdk-and-runtimes.md
Created June 7, 2020 18:37
Removing all dotnet sdk and runtimes at once

Install dotnet-core-uninstall

Download latest version from here.

SDKs

./dotnet-core-uninstall list --sdk | grep -Eiwo "(\d+\.\d+\.\d+)" | xargs sudo ./dotnet-core-uninstall remove --force --yes --sdk
code --install-extension aaron-bond.better-comments
code --install-extension aledev29.razor-snippets-for-asp-net-core
code --install-extension alefragnani.Bookmarks
code --install-extension alexcvzz.vscode-sqlite
code --install-extension alexisvt.flutter-snippets
code --install-extension amazonwebservices.aws-toolkit-vscode
code --install-extension austincummings.razor-plus
code --install-extension basarat.god
code --install-extension Cacher.cacher-vscode
code --install-extension christian-kohler.npm-intellisense
@se
se / install-comodo-ssl-cert-for-nginx.rst
Created February 24, 2018 13:23 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

public class User
{
public int UserId { get; set; }
public string UserName { get; set; }
public string Name { get; set; }
public string SurName { get; set; }
public string SocialSecurityNumber { get; set; }
public DateTime Created { get; set; }
public int RoleId { get; set; }
}
public class User
{
public string UserName { get; set; }
public string Name { get; set; }
public string SurName { get; set; }
}
{
"success" : true,
"code" : 200,
"message" : "I found 198 record in 20 page.",
"data" : {
"pageSize": 20,
"page" : 1,
"itemCount" : 198,
"items" : [
{
{
"success" : true,
"code" : 200,
"message" : "I found 198 record in 20 page.",
"data" : {
"pageSize": 20,
"page" : 1,
"itemCount" : 198
"items" : [
{
{
"success" : false,
"code" : 500,
"message" : "Please check your informations and try again.",
"internalMessage": "UserName cannot be null in User db table.",
"validations" : [
{"UserName" : "Please type your username."},
{"UserName" : "UserName must be more than 3 chars."}
]
}
{
"success" : false,
"code" : 500,
"message" : "Please check your informations and try again.",
"internalMessage": "UserName cannot be null in User db table.",
"validations" : [
"UserName" : "Please type your username.",
"UserName" : "UserName must be more than 3 chars."
]
}