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
const { | |
Clutter, Pango, St | |
} = imports.gi; | |
var _updateMultiline = imports.ui.appDisplay.AppViewItem.prototype._updateMultiline; | |
var _init = imports.ui.appDisplay.AppViewItem.prototype._init; | |
var { AppViewItem } = imports.ui.appDisplay; | |
function init() { | |
} |
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 python | |
from requests import get | |
from requests import delete | |
from json import dumps | |
USER = 'danigm' | |
PASSWORD = 'XXXX' | |
ORG = 'endlessm' |
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 hug | |
from hug.middleware import CORSMiddleware | |
api = hug.API(__name__) | |
api.http.add_middleware(CORSMiddleware(api)) | |
@hug.post('/demo') | |
def demo(name: 'your name'): | |
return {"result": "Hello {0}".format(name)} |
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 | |
import hmac | |
import datetime | |
import time | |
KEY = b'123' |
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/trunk/KShowEncoding/Common/Version.h b/trunk/KShowEncoding/Common/Version.h | |
index 3af84fe..4b96d7f 100644 | |
--- a/trunk/KShowEncoding/Common/Version.h | |
+++ b/trunk/KShowEncoding/Common/Version.h | |
@@ -1,5 +1,5 @@ | |
#ifndef KSHOWGUI_COMMON_VERSION_H | |
#define KSHOWGUI_COMMON_VERSION_H | |
-#define KSHOW_REVISION_NUMBER "1997" | |
+#define KSHOW_REVISION_NUMBER "1998" | |
#endif // KSHOWGUI_COMMON_VERSION_H |
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/bash | |
diff=0 | |
if [ "$1" = "-d" ] | |
then | |
diff=1 | |
shift | |
fi | |
if [ $# -eq 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
import smtplib | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEBase import MIMEBase | |
from email.MIMEText import MIMEText | |
from email.Utils import COMMASPACE, formatdate | |
from email import Encoders | |
import os | |
import time | |
import random |