Skip to content

Instantly share code, notes, and snippets.

Looking for a good job :)

Ir1dXD Ir1d

Looking for a good job :)
View GitHub Profile
Ir1d /
Created May 28, 2020
Download all your accepted code from
import bs4
import requests
import json
import os
from IPython import embed
email = input("> enter email: ")
passwd = input("> enter password: ")
userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
Ir1d / new.jsx
Created Jan 10, 2019
Photoshop script released
View new.jsx
// Import Folder as Layers - Adobe Photoshop Script
// Description: imports a folder of images as named layers within a new document
// Requirements: Adobe Photoshop CS2, or higher
// (c) Copyright 2006. Adobe Systems, Incorporated. All rights reserved.
@@@BUILDINFO@@@ Load, Merge, Align, Export.jsx
View gist:82263964e2dfcf51c481bd1cf58455ee
### Keybase proof
I hereby claim:
* I am ir1d on github.
* I am ir1d ( on keybase.
* I have a public key ASB_u05xGDRtJeJm11LkX_5uIwzpTyYzsuCzmMBLhK0HIgo
To claim this, I am signing this object:
View gist:b15c938924202012511404027cb65d50
n个字符串s_1, s_2, …, s_n,m个条件(a_i, b_i),统计满足s_{p(a_i)}是s_{p(b_i)}前缀的排列p_1, p_2, …, p_n数量
n <= 50, |s_i| <= 50, m <= 8
n, m <= 100
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
View ftiasch1.tex
View mcf.cpp
#include <cstdio>// NOLINT
#include <cstring>// NOLINT
#include <queue>// NOLINT
#include <cmath>// NOLINT
#define x1 x11
#define y1 y11
Ir1d / SplayTreever1
Created Feb 26, 2015
Splay Tree ---ver1
View SplayTreever1
using namespace std;
struct Node {
Node * child[2], * parent;
bool reverse;
int value, size;
long long sum;