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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<!-- ===================================================================== --> | |
<!-- --> | |
<!-- Log4j Configuration --> | |
<!-- --> | |
<!-- ===================================================================== --> | |
<!-- $Id: jboss-log4j.xml 83 2009-03-03 22:47:30Z flavio $ --> |
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/BoardConfig.mk b/BoardConfig.mk | |
index 952d3fb..7080a09 100644 | |
--- a/BoardConfig.mk | |
+++ b/BoardConfig.mk | |
@@ -52,7 +52,12 @@ BOARD_HAVE_BLUETOOTH_BCM := true | |
# accel/gps | |
BOARD_VENDOR_USE_AKMD := akm8973 | |
-BOARD_GPS_LIBRARIES := libgps | |
+# GPS |
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
void readLidState() | |
{ | |
int k; | |
while (true) | |
{ | |
try | |
{ | |
int i = this.mWindowManager.getSwitchState(0); | |
if (mTableTopModeSupport) | |
continue; |
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
.method readLidState()V | |
.locals 6 | |
.prologue | |
const/4 v5, 0x1 | |
const/4 v4, 0x0 | |
.line 817 | |
:try_start_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
diff --git a/default.xml b/default.xml | |
index 9afc1a1..eb154a8 100644 | |
--- a/default.xml | |
+++ b/default.xml | |
@@ -20,7 +20,7 @@ | |
<project path="bionic" name="CyanogenMod/android_bionic" remote="github" /> | |
<project path="bootable/bootloader/legacy" name="platform/bootable/bootloader/legacy" /> | |
<project path="bootable/diskinstaller" name="platform/bootable/diskinstaller" /> | |
- <project path="bootable/recovery" name="CyanogenMod/android_bootable_recovery" remote="github" /> | |
+ <project path="bootable/recovery" name="j-r0dd/android_bootable_recovery" remote="github" /> |
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 2008, Google Inc. | |
** | |
** Licensed under the Apache License, Version 2.0 (the "License"); | |
** you may not use this file except in compliance with the License. | |
** You may obtain a copy of the License at | |
** | |
** http://www.apache.org/licenses/LICENSE-2.0 | |
** | |
** Unless required by applicable law or agreed to in writing, software |
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 | |
import gobject | |
import dbus | |
import dbus.service | |
import dbus.mainloop.glib | |
import os.path | |
APP_ID="pianobar-mediakeys" | |
pianobar_key_bindings = {} |
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/python2 | |
import sys | |
for line in sys.stdin: | |
for s in line.split(" "): | |
if s.startswith("$(") and s.endswith(")"): | |
print s |
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/python | |
from django.core.management import setup_environ | |
from people import settings | |
setup_environ(settings) | |
from people.models import * | |
usuario = Usuario(email = "flavio.cdc@gmail.com") | |
usuario.save() |
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
% slides | |
member(X, [X|_]) :- !. | |
member(X,[_|Y]) :- member(X,Y). | |
append([], L, L). | |
append([X|L1], L2, [X|L3]) :- append(L1, L2, L3). | |
add(X, L, [X|L]). | |
del(X, [X|Tail], Tail). |
OlderNewer