[linux] - cron job for notifying when a new build of CM10 is available - Samsung Galaxy W I8150

While I don't believe that many people around use Linux as their main OS, maybe there's someone which finds this useful, so I'm sharing it. I've created a small script (python) to run on crontab to notify me (on the Desktop through libnotify) when there's a new build available.
I plan to do a GNOME3 and MATE applet soon for this task also (within a few days the MATE applet will be available). Information people want to know:
Dependencies:
* pynotify
* python-lxml
How to make usage of this? Quite simple... here's how to get the show running:
1. First thing, you need to copy the script to /usr/bin (or any other place, for this, lets assume /usr/bin);
2. Make sure you have the script with 0755 mode;
3. Add the task to cron (ex for 30 minutes, if this doesn't work for you, check cron documentation):
Code:
0,30 * * * * /usr/bin/cm-10-i8150-cron
If this is done like this, the script will run every 30 minutes, and in case there are changes (based on thread title parsing), you will get a nice notification on your Desktop (GNOME, MATE, Unity, most likely K(rap)DE).
For those who don't understand what this does... here's what happens when new releases are done:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Right... You probably noticed I've forgotten something... here it is:
https://github.com/ketheriel/scripts/blob/master/cm-10-i8150-cron

Right... You probably noticed I've forgotten something... here it is:
https://github.com/ketheriel/scripts/blob/master/cm-10-i8150-cron

Related

Twitodo

hey guys
I'm kinda new to programming, done a bit at college and now and then i read up about it at home but i know the very basic skills. anyways i thought i would test myself and see i could come up with an idea for an app.
its not a windows mobile app but i suppose in a way its for developers (can save progress of development and tweet it to followers). the app is called twitodo and it basically saves a todo list to a txt file in the install directory. it can also open a text file from a custom directory. it can also tweet the todo list to your twitter account and you have the option to view twitter in a browser window.
the ui is ok i suppose but it could be alot nicer.. would apreciate it if someone could do a few graphics for me. also if anyone has a link to a good guide for making installers because im not sure that my program install correctly, i think you may have to run it from the program files directory.
anyways feedback will be apreciated very much, anything i can add or remove at all just leave below please i really wanna make this app better, but go easy its my first program unless you count "hello world" then its my second lol.
EDIT:
Changes:
permissions to write file at startup fixed (moved TodoList.txt default location)
fixed crash when user doesnt select a file in load todo list window
Attached Files Updates!
just thort id put a pic of the ui on so u can see what it looks like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[GAME][APP][FREE]FingerTester v1.0- TEST YOUR FINGERS!

FingerTester App- Test your Fingers
This is a simple app that you can compete with your friends and family or whoever you want. You have to make a best score within 10 seconds. For now is realy small app with basic thing but after a while (when i get time) I will add more things to it.
Version:
Explainig of versions: 1.2.3-This means 1-Big updates; 2-Minor updates; 3-Bug fixes.
Initial release: Release 1.0.0- 11. 2. 2013
A better update is coming sometime next week. (2.0.0)
With 2 new games.
Planing to add to the app:
- More games to the app,
- Better textures,
- Some music(Maybe)
- More...
Im open for recomendations on the stuff to add in the app.
Screnshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
FingerTester v1.0.0
I always wanted to be a part of comunity, to add something to It (Apps, Mods, Themes,...). And now im gona do something that I want to do (finally ). So please if you don't like this, don't encourage me at woriking at this. Yes Im a newbie... Hit thanks if you want to see more of this app. ​
Reserved...
Just tested the game, and anything that's free is good Keep it up. :good:
jayk32 said:
Just tested the game, and anything that's free is good Keep it up. :good:
Click to expand...
Click to collapse
Thank you, I will.

[Desktop][Java][Dev-Tool] VersionSys - A Simple Version Control System!

Hey there,
since I'm working on a few projects at a time, it's really hard to get the versions going, come to think of all the numbers and strings I have to remember - Let alone the things I have to write down!
So, today (by today, I mean in the last hour or so), I created a very small, yet simple application, that does that exact thing for you.
It creates version files, containing:
Program details
→ Program name
→ Program version
→ Program Stage
→ Used programming language
Versioning
→ Long version
→ Short Version
→ Version hash
Why is this useful?
Well, as mentioned above, it can be a pain in the <enter location here>, to remember all those numbers, letters and what not.
VersionSys does all the creating and writing for you, and to be honest, the files are very neat (neat as in tidy), too!
The files created by VersionSys can be implemented into a program to detect current versions, or be put on servers/dropboxes, to detect updates, etc.
Also, the version hashes created by VersionSys are pretty unique (unless you type the same thing in, over and over again...), so you can even detect spoofs!
Downloads
The project (and source) are downloaded as one over at SourceForge, and in the downloaded archive, there are two further archives, one being the source, and the other being the program itself - It is distributed in JAR-form.
SourceForge
Screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you have an ideas, requests or similar, feel free to tell me!
For now, enjoy the program and happy versioni... uh... I mean coding!
if (isReserved)
System.out.println("Sorry, this post has been reserved for future purposes.");

[APP][FREE][Beta]Android 3.2+] Swipe - Lockscreen Newsfeed

Swipe is your personalized lockscreen newsfeed
Click to expand...
Click to collapse
About our solution:
Every day an average smartphone user turns their phone ON 110 times per day. The first thing they see is a lock screen. Standard lock screen solutions don't bring valuable information to the user, which is why we've decided to change it. We created Swipe - your personalized lock screen newsfeed. To set up the application, just install, add the news pages that you follow and your done. Now, every time when you turn your phone you will get latest updates directly on your lockscreen. No need to unlock the phone and try to find and open the application. We offer direct, easy to use, straight forward experience.
Our Website: getswipe.ru
Download Link: http://forum.xda-developers.com/attachment.php?attachmentid=2795747&stc=1&d=1402658046
Screens:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For Testers
We want to hear what you think of this idea and what kind of adjustments should be done. Note, this is still an early beta.
In the next versions we will be adding:
Pincode/Pattern security
Images working on all RSS feeds not just (the Verge & TechCrunch)
More stable build
How to use:
Download the .apk
Install Swipe
Open Application
Find news resources by their title (For example: Verge)
Add your preferred subscriptions
Turn off your screen
Turn on your screen
Please gives us your feedback, overview and what kind of issues have you encountered.
Reserved

[Q] Two bugs: SMS drafts when signature, and voltage

Stock ROM. Two bugs.
In legacy SMS app, I have set a message. Any time I exit a conversation with back button, app says it saved a draft. Need to exit by doing menu-discard. I had this bug also in the stock rom for my previous phone, HTC Sensation, 3 or 4 years ago (android 2) (fixed after changing rom). I am surprised this bug comes back after so long. Is there a fix ? When loading the draft again, it adds the signature a second time, then a third ...
Many apps and widgets show voltage of battery to be 3 or 4 mV. Few app give the correct value. After digging, the value in /sys is good (forgot the full path file name). An advanced app shows the correct value internally, and gives a button to access the android internal hidden menu of battery, and in there, the value is wrong. So, it looks like it's an android bug, and all apps which get it wrong are those asking kindly the value to Android (instead of going directly in /sys). Is there a fix ?
Ah, found the file:
Code:
cat /sys/devices/platform/htc_battery/power_supply/battery/batt_vol_now
4193
The following shots are from Android Tuner Free: https://play.google.com/store/apps/details?id=ccc71.at.free
3rd image says: you are going to reach a feature hidden by the manufacturer ... that could damage your phone. Use it at your own risks. => to me it's going to an internal android menu. A stock one.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources