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/.gitignore b/.gitignore | |
index 0b4786b..55e9d9b 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -4,5 +4,3 @@ locale | |
dist | |
po.original | |
po.merged | |
-*.rej | |
-*.patch |
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
2 4 drwxr-xr-x 24 root root 4096 Jun 4 14:04 /. | |
131074 4 drwxr-xr-x 11 root root 4096 Mar 7 2016 /usr | |
131100 12 drwxr-xr-x 166 root root 12288 Feb 27 13:10 /usr/lib | |
135066 20 drwxr-xr-x 27 root root 20480 Feb 12 12:39 /usr/lib/python2.7 | |
262774 12 drwxr-xr-x 90 root root 12288 Feb 27 13:14 /usr/lib/python2.7/dist-packages | |
287968 4 drwxr-xr-x 2 root root 4096 Oct 19 2017 /usr/lib/python2.7/dist-packages/carquinyol | |
269196 16 -rw-r--r-- 1 root root 14897 Oct 7 2017 /usr/lib/python2.7/dist-packages/carquinyol/indexstore.py | |
269197 12 -rw-r--r-- 1 root root 10464 Oct 7 2017 /usr/lib/python2.7/dist-packages/carquinyol/metadatareader.so | |
269198 4 -rw-r--r-- 1 root root 986 Oct 7 2017 /usr/lib/python2.7/dist-packages/carquinyol/metadatareader.la | |
269200 8 -rw-r--r-- 1 root root 7768 Oct 7 2017 /usr/lib/ |
This file has been truncated, but you can view the full file.
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
1884 execve("/usr/bin/datastore-service.real", ["/usr/bin/datastore-service.real"], [/* 38 vars */]) = 0 | |
1884 brk(NULL) = 0x1df7000 | |
1884 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
1884 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
1884 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
1884 fstat(3, {st_mode=S_IFREG|0644, st_size=127737, ...}) = 0 | |
1884 mmap(NULL, 127737, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe752aad000 | |
1884 close(3) = 0 | |
1884 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
1884 open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 |
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
int led = 13;//LED pin | |
int sensor = A5; //sensor pin | |
int val; //numeric variable | |
void setup() | |
{ | |
pinMode(led, OUTPUT); | |
} | |
void loop() |
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 <EEPROM.h> | |
const int buttonPin = 12; // the number of the pushbutton pin | |
const int ledPin = 13; // the number of the LED pin | |
const int temperaturePin = A0; | |
float minTemp, maxTemp; // Variables to store min and max temperature | |
int buttonState = 0; // variable for reading the pushbutton status |
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 | |
import sys | |
import requests | |
U = 'http://192.168.67.201/config' | |
P = { | |
'action': 'set', | |
'paramd': 'eParamID_MediaState', | |
'value': 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
#!/usr/bin/python | |
# generate list of translation contributors for sugar and sugar-toolkit-gtk3 | |
# by james cameron, 25th september 2017 | |
from lxml import html | |
import requests | |
import os | |
cache = '/tmp/translate-sugarlabs-org-sucrose-contributors.html' |
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
Traceback (most recent call last): | |
File "setup.py", line 21, in <module> | |
bundlebuilder.start() | |
File "/usr/lib/python2.7/dist-packages/sugar3/activity/bundlebuilder.py", line 680, in start | |
config = Config(source_dir) | |
File "/usr/lib/python2.7/dist-packages/sugar3/activity/bundlebuilder.py", line 153, in __init__ | |
self.update() | |
File "/usr/lib/python2.7/dist-packages/sugar3/activity/bundlebuilder.py", line 157, in update | |
translated=False) | |
File "/usr/lib/python2.7/dist-packages/sugar3/bundle/activitybundle.py", line 121, in __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
diff --git a/bin/zhashfs.c b/bin/zhashfs.c | |
index 19b7be5..e046181 100644 | |
--- a/bin/zhashfs.c | |
+++ b/bin/zhashfs.c | |
@@ -219,6 +219,7 @@ int main(int argc, char **argv) | |
LTC_ARGCHK(fputs("also nand-commands patch pdup dup zblock: previous\n", outfile) >= 0); | |
LTC_ARGCHK(fputs("[then]\n", outfile) >= 0); | |
LTC_ARGCHK(fputs("[then]\n", outfile) >= 0); | |
+ LTC_ARGCHK(fputs("[char] A h# 82 cmos!\n", outfile) >= 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/src/sugar3/bundle/bundleversion.py b/src/sugar3/bundle/bundleversion.py | |
index 972b8e1..31b71b6 100644 | |
--- a/src/sugar3/bundle/bundleversion.py | |
+++ b/src/sugar3/bundle/bundleversion.py | |
@@ -32,7 +32,7 @@ VERSION_RE = re.compile(r''' | |
(?P<version>\d+) # minimum 'N' | |
(?P<extraversion>(?:\.\d+)*) # any number of extra '.N' segments | |
(?: | |
- (?P<local>\-[a-zA-Z]*) # ignore any string in the comparison | |
+ (?P<local>[\-\~].[a-zA-Z]*) # ignore any string in the comparison |