Skip to content

Instantly share code, notes, and snippets.

View icepolarizer's full-sized avatar
🎲
Focusing

HS Choi icepolarizer

🎲
Focusing
  • IBM Qiskit Advocate | WSU Pullman
  • (|KR⟩ + |WA⟩) / sqrt(2)
View GitHub Profile
import hashlib
import json
from textwrap import dedent
from time import time
from uuid import uuid4
from flask import Flask
class Blockchain(object):
@return0927
return0927 / _Ping_Inspecter.py
Created September 29, 2017 15:58
랜 네트워크에 연결된 호스트들을 탐색합니다 (핑 기반)
# -*- coding: utf-8 -*- python3
# Created At 2017.9.30
# For ARP.py
# By R3turn0927
# Github @return0927 | Facebook @R3turn.01 | KakakoTalk @bc1916
from scapy.all import *
from subprocess import getoutput
import threading as 멀티코어
@2E0PGS
2E0PGS / linux-usb-file-copy-fix.md
Last active November 9, 2025 12:22
Fix Ubuntu and other Linux slow/hanging file copying via USB.

If your running a x64 bit Ubuntu or other Linux and find USB transfers hang at the end apply this fix:

echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes

I suggest you edit your /etc/rc.local file to make this change persistant across reboots.

sudo nano /etc/rc.local

@xtrymind
xtrymind / archinstall.md
Last active October 21, 2023 17:43 — forked from miguelfrde/archinstall.md
Windows 10 and Arch Linux dual boot with UEFI

Arch Linux installation (Windows 10 dual boot)

Before

  1. Disable Windows Fast-Startup
  2. Disable Secure Boot

Partitioning

@JamesMessinger
JamesMessinger / README.md
Last active May 9, 2025 07:46
VSCode GitHub Markdown Theme

GitHub Markdown Theme for Visual Studio Code

This CSS stylesheet allows you to preview markdown files in VSCode using GitHub's mardown theme. This CSS was taken directly from the official GitHub Markdown repo. I replaced their top-level .markdown-body class with the body tag so it would work in VSCode, and added styling for the html tag to match GitHub's fixed-width container.

Instructions

  1. Copy the CSS file to your computer
    Copy the github-markdown.css file below to your computer. You can put it anywhere you want, but I chose to put it in the same folder as my VSCode settings file.

  2. Edit your VSCode settings
    If you want to use this theme for all of your projects, then edit your User Settings file. If you just want to use this them

@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active November 15, 2025 03:29
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여

@kimdwkimdw
kimdwkimdw / guide.md
Last active July 25, 2017 14:11
Python 2.x Encoding cheatsheet
@lukaszb
lukaszb / notify.py
Created February 21, 2013 01:23
Simple Python script to send notification to the OSX Notifications Center (requires OS X 10.8+). Tested with pyobjc 2.5.1
#!/usr/bin/env python
from Foundation import NSUserNotification
from Foundation import NSUserNotificationCenter
from Foundation import NSUserNotificationDefaultSoundName
from optparse import OptionParser
def main():
parser = OptionParser(usage='%prog -t TITLE -m MESSAGE')

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@netj
netj / MacOSXDefaultFontFallbacksChanger.command
Created July 22, 2011 11:53
맥의 기본 한글 글꼴을 바꿔주는 스크립트 - A script for changing Mac OS X's default font fallbacks
#!/usr/bin/env bash
# A script for changing Mac OS X's default fonts
# Author: Jaeho Shin <netj@sparcs.org>
# Created: 2011-07-22
### MacOSXDefaultFontFallbacksChanger #########################################
## Mac OS X 기본 글꼴 설정 변경 도구 – 1.2.1 (2012-08)
## http://netj.github.com/MacOSXDefaultFontFallbacksChanger
###############################################################################