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
//package x does not exist | |
//import x.*; | |
public class Main { | |
//public Main(){ | |
//} | |
public static void main(String[] args) { | |
//int x = 10 |
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
#!/usr/bin/env python3 | |
""" | |
An example of re-opening stdin. Lets you pipe input to a program and still interact with | |
the program via stdin. | |
Example: | |
$ seq 5 | ./reopen-stdin.py | |
Type a prefix: #=> |
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
a = "hello" | |
def say_a(): | |
print(a) | |
if False: | |
a = "goodbye" | |
say_a() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
""" | |
Usage: | |
python3 -i load_pyc.py path/to/file.pyc | |
""" | |
import dis | |
import importlib.util | |
import marshal |
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
#!/bin/sh | |
ss -tulpn | awk '$2=="LISTEN" {printf "%16s %s\n", $5, substr($7, 1, 80-16)}' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
% crksyllabics.sty -- use ᓀᐦᐃᔭᐍᐏᐣ in XeLaTeX | |
% | |
% Defines font fallbacks for all Plains Cree syllabics. | |
% | |
% Uses Euphemia UCAS as the fallback font. | |
% | |
% Usage: | |
% | |
% 1. place this file in the same folder as your .tex file (upload to same folder in Overleaf) | |
% 2. Add the following line near the top of your .tex file: |
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
@book{CW, | |
title = {{nēhiýawēwin} : {itwēwina} / {Cree} : Words}, | |
editor = {Arok Wolvengrey}, | |
year = 2001, | |
publisher = {Canadian Plains Research Center}, | |
address = {Regina, Saskatchewan} | |
} | |
@book{MD, | |
title = {{Maskwacîs} Dictionary of {Cree} Words / Nehiyaw Pîkiskweninisa}, |
NewerOlder