Skip to content

Instantly share code, notes, and snippets.

View chunghakngor's full-sized avatar
🎯
Building cool things

Chung Hak chunghakngor

🎯
Building cool things
View GitHub Profile
#!/bin/bash
set -e
email=""
name=""
if [ -z "$email" ] || [ -z "$name" ]; then
echo "Error: email and name must be defined at the top of the script"
echo "Please set the 'email' and 'name' variables before running this script"
alias g="git"
alias ga="git add"
alias gaa="git add --all"
alias gam="git am"
alias gama="git am --abort"
alias gamc="git am --continue"
alias gams="git am --skip"
alias gamscp="git am --show-current-patch"
alias gap="git apply"
alias gapa="git add --patch"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BackgroundBlur</key>
<real>0.59999999999999998</real>
<key>BackgroundColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGmCwwXHR4lVSRudWxs1Q0ODxAR
@chunghakngor
chunghakngor / .editorconfig
Created August 13, 2021 11:53
.editorconfig
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.ts]
set number
set tabstop=2
set softtabstop=2
filetype indent plugin on
syntax enable
call plug#begin('~/.vim/plugged')
Plug 'junegunn/vim-easy-align'
Plug 'preservim/nerdtree'
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeEditing/ContextActionTable/DisabledContextActions/=JetBrains_002EReSharper_002EIntentions_002ECSharp_002EContextActions_002ETypeToVarAction/@EntryIndexedValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/Roslyn/LegacySeveritiesMigrated/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/RecentlyUsedProfile/@EntryValue">Built-in: Full Cleanup</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CommonFormatter/SHOW_AUTODETECT_CONFIGURE_FORMATTING_TIP/@EntryValue">False</s:Bo
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace ConsoleAppTemplate
{
public class Program
{
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeEditing/ContextActionTable/DisabledContextActions/=JetBrains_002EReSharper_002EIntentions_002ECSharp_002EContextActions_002ETypeToVarAction/@EntryIndexedValue">False</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/RecentlyUsedProfile/@EntryValue">Built-in: Full Cleanup</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ACCESSOR_DECLARATION_BRACES/@EntryValue">END_OF_LINE</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ACCESSOR_OWNER_DECLARATION_BRACES/@EntryValue">END_OF_LINE</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_FIRST_ARG_BY_PAREN/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeSty
0: natas0
1: gtVrDuiDfck831PqWsLEZy5gyDz1clto
2: ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi
3: sJIJNW6ucpu6HPZ1ZAchaDtwd7oGrD14
4: Z9tkRkWmpt9Qr7XrR5jWRkgOU901swEZ
5: iX6IOfmpN7AYOQGPwtn3fXpbaJVJcHfq
6: aGoY4q2Dc6MgDq4oL4YtoKtyAg9PeHa1
7: 7z3hEENjQtflzgnT29q7wAvMNfZdh0i9
0: ssh bandit.labs.overthewire.org -u bandit0 -p 2220
1: boJ9jbbUNNfktd78OOpsqOltutMc3MY1
2: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
3: UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
4: pIwrPrtPN36QITSp3EQaw936yaFoFgAB
5: koReBOKuIDDepwhWk7jZC0RTdopnAYKh
6: DXjZPULLxYr17uwoI01bNLQbtFemEgo7
7: HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs
8: cvX2JJa4CFALtqS87jk27qwqGhBM9plV
9: UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR