Hledání spojení:
{
"carrier": "IDSJMK",
"from": "Hlavní nádraží",
"to": "Životského",
"via": [ "foo", "bar" ],
"time": {
"type": "departure",
Hledání spojení:
{
"carrier": "IDSJMK",
"from": "Hlavní nádraží",
"to": "Životského",
"via": [ "foo", "bar" ],
"time": {
"type": "departure",
<?php | |
if(array_key_exists("s", $_GET)) { | |
$expr_get = $_GET["s"]; | |
} else { | |
$expr_get = ""; | |
} | |
function search($expr) { | |
$db = new SQLite3('socky.sqlite'); |
Turn off grayscale icons when the window is minimized in plasma 5:
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml
PlasmaCore.IconItem {
id: icon
anchors.fill: parent
visible: false
From d12d6a5300dafba36474cb308a99339d1096842e Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <[email protected]> | |
Date: Thu, 5 Mar 2015 16:51:25 +0100 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |
diff --git a/main.c b/main.c | |
index f60e6be..bef5652 100644 | |
--- a/main.c | |
+++ b/main.c | |
@@ -302,6 +302,18 @@ struct variable shell_var; | |
char cmd_prefix = '\t'; | |
+/* For the -F/--fork-hack option */ | |
+#define FORK_HACK_PID_FILE ".make-fork-hack.pid" |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <linux/input.h> | |
#include <string.h> | |
#include <dirent.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <sys/poll.h> |
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
import codecs,os,gzip,ctypes,ctypes.util,sys | |
from struct import * | |
from PIL import Image, ImageDraw, ImageFont | |
# ====== Python script to convert TrueTypeFonts to TWRP's .dat format ====== | |
# This script was originally made by https://github.com/suky for his chinese version of TWRP | |
# and then translated to English by feilplane at #twrp of irc.freenode.net. | |
# However, it was not compatible with vanilla TWRP, so https://github.com/Tasssadar rewrote |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <netdb.h> | |
#include <unistd.h> | |
#include <fcntl.h> |
diff --git a/twrp.cpp b/twrp.cpp | |
index 54f3ea6..0777784 100644 | |
--- a/twrp.cpp | |
+++ b/twrp.cpp | |
@@ -60,6 +60,56 @@ static void Print_Prop(const char *key, const char *name, void *cookie) { | |
printf("%s=%s\n", key, name); | |
} | |
+ #include <sys/time.h> | |
+#include <dirent.h> |
From a550e9f996b20ea00866bf115f95b5aeb122de0c Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <[email protected]> | |
Date: Fri, 6 Dec 2013 22:56:29 +0100 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |