Skip to content

Instantly share code, notes, and snippets.

View 1715173329's full-sized avatar
💭
燒酒一杯兩杯三杯,當作是笑虧。

Tianling Shen 1715173329

💭
燒酒一杯兩杯三杯,當作是笑虧。
View GitHub Profile
@1715173329
1715173329 / string_util.lua
Created March 19, 2022 05:33 — forked from kgriffs/string_util.lua
Lua string utilities (contains, startswith, endswith, replace, insert)
function string:contains(sub)
return self:find(sub, 1, true) ~= nil
end
function string:startswith(start)
return self:sub(1, #start) == start
end
function string:endswith(ending)
@1715173329
1715173329 / keybase.md
Created August 12, 2020 09:04
Identity Prove

Keybase proof

I hereby claim:

  • I am 1715173329 on github.
  • I am cn_sztl (https://keybase.io/cn_sztl) on keybase.
  • I have a public key whose fingerprint is D9F8 25B9 DCAA 6B43 1C3A 42C3 6850 B634 5C86 2176

To claim this, I am signing this object:

@1715173329
1715173329 / mirror.py
Created August 12, 2020 07:45 — forked from hvnsweeting/mirror.py
mirror a PPA
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
'''
PPA=$1
if [ -z $PPA ] then;
echo "PPA is required. E.g:
fi
DIRECTORY=${2:-ubuntu}
@1715173329
1715173329 / trojan-insecure-killer.go
Created July 18, 2020 14:32 — forked from DuckSoft/trojan-insecure-killer.go
Trojan + allowInsecure = 裸奔
// Licensed under WTFPL
package main
import (
"bytes"
"crypto/rand"
"crypto/rsa"
"crypto/tls"
"crypto/x509"