Skip to content

Instantly share code, notes, and snippets.

View AlphaBs's full-sized avatar

Sein Kwon AlphaBs

View GitHub Profile
@AlphaBs
AlphaBs / google-java-style-guide.md
Last active October 14, 2025 14:58
google-java-style-guide.md

https://google.github.io/styleguide/javaguide.html

Google Java Style Guide

1 Introduction

This document serves as the complete definition of Google's coding standards for source code in the Java™ Programming Language. A Java source file is described as being in Google Style if and only if it adheres to the rules herein.

Like other programming style guides, the issues covered span not only aesthetic issues of formatting, but other types of conventions or coding standards as well. However, this document focuses primarily on the hard-and-fast rules that we follow universally, and avoids giving advice that isn't clearly enforceable (whether by human or tool).

using System.Text.RegularExpressions;
// $('input[name="service_code"]').val()
string _d(string r)
{
int a, e, n, t, f, d, h;
string i = "yL/M=zNa0bcPQdReSfTgUhViWjXkYIZmnpo+qArOBslCt2D3uE4Fv5G6wH178xJ9K";
string o = "";
int c = 0;
@AlphaBs
AlphaBs / dnvchk.ps1
Created May 15, 2022 10:00
powershell script for checking dotnet core runtime version
<#
.SYNOPSIS
Check installed dotnet core runtime version
.DESCRIPTION
.NET Runtime Version Checker (by AlphaBs)
Check installed dotnet runtime version is greater or equal then specific version
.EXAMPLE
dnvchk.ps1 -type [type] -minVersion [minVersion]
.EXAMPLE
dnvchk.ps1 -type WindowsDesktop -minVersion 6.0.2
@AlphaBs
AlphaBs / cloudSettings
Last active October 15, 2021 16:31
vsc sync
{"lastUpload":"2021-10-15T16:31:46.551Z","extensionVersion":"v3.4.3"}
@AlphaBs
AlphaBs / JWT.cs
Last active September 5, 2024 12:57
internal static class JwtDecoder
{
/// <summary>
/// decode jwt payload
/// </summary>
/// <param name="jwt">entire jwt</param>
/// <returns>decoded jwt payload</returns>
/// <exception cref="ArgumentNullException"></exception>
/// <exception cref="FormatException">invalid jwt</exception>
internal static string DecodePayloadString(string jwt)
// API Class
public class UserAPI
{
public static EndPoint<User> UploadUserProfile(string id, string message) =>
new EndPoint<User>
{
Path = $"/users/{id}/profile",
Method = "POST",
Queries = new Dictionary<string, string>
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
public class NaverCafePost
{
public NaverCafePost(string name, string url)
{