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
# -*- mode: python -*- | |
import os | |
import six | |
import ansible | |
block_cipher = None | |
a = Analysis(['controller.py'], | |
pathex=None, | |
binaries=None, |
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 main | |
import ( | |
"bufio" | |
"bytes" | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"os" |
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
function myfun(tag,actionname,xnxq,kcid,kcbjbh,kclb,kcsx,sjpdm,kssjdm,cxck,zylx,gxkfl,xlh,qsz,jzz){ | |
insertxkgc(xnxq,kcbjbh,kcid,kclb,kcsx,cxck,'01',gxkfl,xlh,sjpdm,kssjdm); | |
} | |
function myfun2(){ | |
var xmlhttp=new XMLHttpRequest(); | |
xmlhttp.open("GET",location.href,false); | |
xmlhttp.send(); | |
var x=xmlhttp.responseText.match("<font color=blue>40</font></a>"); | |
if(x!=null){ |
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 | |
# vim: set sw=4 ts=4: | |
import socket | |
import os | |
import threading | |
import time | |
import sys | |
import platform | |
import tempfile | |
import fcntl |
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/python3 | |
import json | |
import argparse | |
import urllib.request | |
import urllib.parse | |
client_id = "1008555780204-finbc9qn6gss7t099l96t1pbqmidv9hm.apps.googleusercontent.com" | |
client_secret = "" |
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/python3 | |
import json | |
import itertools | |
import subprocess | |
out = subprocess.check_output(["crictl", "images", "-o", "json"]) | |
images = json.loads(out.decode("utf-8")) | |
tags = itertools.chain.from_iterable([i["repoTags"] for i in images["images"]]) | |
for repo, repo_tags in itertools.groupby(tags, lambda x: "".join(x.split(":")[:-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
# ~/.config/systemd/user/conky.service | |
[Unit] | |
Description=Conky | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/conky | |
Environment=DISPLAY=:0 |
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
// Copyright 2009 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package main | |
import ( | |
"crypto" | |
"crypto/rand" | |
"crypto/rsa" |
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 | |
from contextlib import contextmanager | |
import re | |
import select | |
import socket | |
import sys | |
import urllib.request |
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
diff --git a/keydb.ml b/keydb.ml | |
index 949a1f4..7ff976a 100644 | |
--- a/keydb.ml | |
+++ b/keydb.ml | |
@@ -1166,6 +1166,11 @@ struct | |
try | |
if has_hash hash then [] else | |
let keyid = Fingerprint.keyid_from_key ~short:true key in | |
+ let keyid_long = Fingerprint.keyid_to_string ~short:false (Fingerprint.keyid_from_key ~short:false key) in | |
+ |
NewerOlder