Skip to content

Instantly share code, notes, and snippets.

View youknowone's full-sized avatar
😂
Being Lazy

Jeong, YunWon youknowone

😂
Being Lazy
View GitHub Profile
@youknowone
youknowone / competive.TXT
Last active January 15, 2023 00:56
Capitalism setup script
[HEADER]
Title=Competive World
Description=Let's make real-world like competition
[ENVIRONMENT]
Number of Cities=10
// Number of Cities=<1 to 10>
// You will be able to create a game with a maximum of 10 cities using a game script.
Your Start-up Capital=Very Low
// Your Start-up Capital=<Very Low, Low, Moderate, High, Very High>
syn on
filetype off
set nocompatible
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'rust-lang/rust.vim'
Plugin 'rizzatti/dash.vim'
Plugin 'bling/vim-airline'
#!/bin/bash
#==============================================================================
# GW-Kit
# @author : (origin) yunsang.choi(oddpoet@gmail.com)
# @author : (forked) jinkwon(master@bdyne.net)
# @src : (origin) https://gist.github.com/gists/3115022
# @src : (forked) https://github.com/Jinkwon/naver-gw-kit/
#-------
# generator targets shouldn't affect scopes out of comprehensions
[a for a in range(5)]
assert 'a' not in locals()
assert 'a' not in globals()
[b for a, b in [(1, 1), (2, 2)]]
assert 'b' not in locals()
assert 'b' not in globals()
{b: c for b, c in {1: 2}.items()}

Keybase proof

I hereby claim:

To claim this, I am signing this object:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
@youknowone
youknowone / bitset_iter.h
Created July 25, 2023 16:18 — forked from diegum/bitset_iter.h
Missed an iterator for C++ STL bitset? Have mine!
// bitset_iter.h v1.1.0
// Copyright 2019, Diego Dagum
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//