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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <linux/input.h> | |
#include <linux/uinput.h> | |
#define die(str, args...) do { \ |
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
<?php | |
date_default_timezone_set('Asia/Bangkok'); | |
require_once "lib/nusoap.php"; | |
// Create SOAP Server | |
$server = new soap_server(); | |
$server->configureWSDL("Test_Service", "http://www.example.com/test_service"); | |
// Example "hello" function | |
function hello($username) { |
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 java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.Random; | |
public class Buzhash32Chunking { | |
// If we use a multiple of 32, we get a lot of cancelling out |
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 java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
public class Md5Chunking { | |
private static MessageDigest md; | |
private static final int BLOCK_SIZE = 63; |
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
From b04637db515edbe6ab6006391e223b25712f7a8e Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Tue, 27 Jan 2015 22:29:39 +0700 | |
Subject: [PATCH] recovery: uncrypt: fix compatibility with CWM | |
CWM and other older recoveries do not support block map, so avoid | |
using it when possible | |
Change-Id: I49a04676ca5193db31c87418a5760727648745f0 | |
--- |
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
From 5e101a379e79721f7be8203f47abd0509536eaae Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Wed, 24 Apr 2013 14:55:05 +0700 | |
Subject: [PATCH] Camera: antibanding setting | |
Some camera HALs do not support auto-antibanding and the user | |
needs to configure it to match their electricity frequency | |
Change-Id: Ie2022d78ad2fd293a6f39aacf7804fe21f7589d5 | |
--- |
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 -ruw grouped-window-list@cinnamon.org.bak/appGroup.js grouped-window-list@cinnamon.org/appGroup.js | |
--- grouped-window-list@cinnamon.org.bak/appGroup.js 2019-12-12 18:46:55.000000000 +0700 | |
+++ grouped-window-list@cinnamon.org/appGroup.js 2019-12-21 09:10:38.809467280 +0700 | |
@@ -780,6 +780,33 @@ | |
return false; | |
} | |
+ onAppKeyPress() { | |
+ if (this.groupState.isFavoriteApp && this.groupState.metaWindows.length === 0) { | |
+ this.launchNewInstance(); |
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/sh | |
# | |
# chkconfig: - 55 45 | |
# description: The memcached daemon is a network memory cache service. | |
# processname: memcached | |
# pidfile: /var/run/memcached-$USER/memcached.pid | |
# Standard LSB functions | |
#. /lib/lsb/init-functions |
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
From 1ad8b5f5d66937b50e38782170b00ef61404633e Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Wed, 11 Dec 2013 20:47:31 +0700 | |
Subject: [PATCH] chromium: disable HW rendering for capri | |
Change-Id: I16b2c14eb15a3efe4d84d603c132434a5f97530a | |
--- | |
android_webview/browser/in_process_view_renderer.cc | 5 +++++ | |
1 file changed, 5 insertions(+) |
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
# This will map: | |
# <Win> + Left to Home | |
# <Win> + Right to End | |
# <Win> + Up to Page Up | |
# <Win> + Down to Page Down | |
# Modify /usr/share/X11/xkb/symbols/pc, replace the definition of <LEFT>, <RGHT>, <UP> and <DOWN> | |
key <LEFT> { | |
type[Group1]= "PC_SUPER_LEVEL2", | |
symbols[Group1]= [ Left, Home ] |
NewerOlder