This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import PySimpleGUI as sg | |
loop = asyncio.new_event_loop() | |
asyncio.set_event_loop(loop) | |
form = sg.FlexForm( | |
"Everything bagel", auto_size_text=True, default_element_size=(40, 1) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import lzf | |
import os | |
import struct | |
def decompress(lzf_file, out_file): | |
chunk_number=1 | |
while True: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; enum-class-indent.el --- Fixing enum class indentation -*- lexical-binding: t; -*- | |
;; Keywords: c++ | |
;; Version: 0.0.1 | |
;;; Commentary: | |
;; This hack fixes indentation for C++11's "enum class" in Emacs. | |
;; http://stackoverflow.com/questions/6497374/emacs-cc-mode-indentation-problem-with-c0x-enum-class/6550361#6550361 |