To display the most relevant entries to you in priority,
vote for the stories you are interested in
(  )
and reject those that you are not interested in
(  )
Pingoo.com -
3 hours and 28 minutes ago
Il y’a un truc que j’adore chez Wikio, c’est la catégorie dans laquelle pingoo.com est
classé. La catégorie “divers”. pingoo.com est classé second dans
cette catégorie. “second” on s’en fout, par contre, cette
catégorie fourre-tout colle tellement bien à l’idée que je me fais de
ce blog…
Ces derniers jours, niveau “sorties”, on a tout fait, on a fait les sorties
“geek”, avec les habituels blogueurs markets et gadgets. On a aussi eu droit à
notre dose
de “blogueurs BD”, puis l’autre soir aux “blogueuses
modasses”. Jusqu’à ce samedi, hier donc, où j’ai passé
quelques heures avec MADAME
Ciloubidouille.com et tout plein de blogueuses “déco et cuisine”. Vous
savez, de celles qui font des trucs de ouf avec leurs mains (non pas des trucs sexuels (bien que
peut être hein)).
L’idée du Swap était simple, une boîte de conserve, on la
vide, on la remplit d’autre chose, et on échange notre boite avec une autre
personne. On devait ajouter à la dite boîte, une autre boîte, avec juste
l’étiquette retirée, et de la bouffe dedans. Genre “tiens mange, et tu
ne sais pas ce que c’est”.
Simple et efficace, et franchement drôle, sauf qu’évidement moi, qui avait
fait une boîte hyper conceptuelle, je l’ai oubliée en sautant dans mon
transilien. Oui c’est encore la faute de la SNCF. Du coup j’ai juste pris quelques
photos. Fétichistes des boîtes de conserve, ce billet est pour vous ! Merci Ciloubidouille :p.
 
 
 
Toutes ces photos, et les autres, sur “Lire la suite”.

|
L'actualité du sport avec Sport 365 -
9 hours and 34 minutes ago
 Anne-Sophie Mathis a dominé
aux points la Portoricaine Belinda Laracuente samedi au terme d’un combat organisé aux
Vieilles-Forges dans les Ardennes. La Française, qui s’était adjugée le
titre UBC à l’issue d’une victoire sur la Panaméenne Ana Pascal en mars
dernier, conserve sa ceinture WBA des super-légers.
|
L'Equipe.fr Actu Sport -
10 hours and 8 minutes ago
Anne-Sophie Mathis a dominé samedi aux points la Portoricaine Belinda Laracuente et conserve
ainsi sa ceinture WBA des...
|
Planet Ubuntu -
12 hours ago
img class=face src=http://planet.ubuntu.com/heads/toponce.png alt= pAbout a month ago, while
teaching a class in Philadelphia, a student in my class had an interesting BASH prompt. In fact,
not only had he customized a prompt for BASH, but one for CSH and KSH as well, as apparently, he
spends adequate time in those shells during work. Well, this got me rethinking about my own ZSH
prompt, and how I wanted to customize it to fit my needs. However, as things go with teaching on
the road, I got a bit lazy, and didn#8217;t do much about it. Then, last week, while teaching a
Linux security course, I had another student with an interesting take on his prompts. That must
have been the straw that broke the camel#8217;s back, because I was determined by Friday to have my
customized ZSH prompt./p pFirst, the question begs why- why spend so much time configuring a silly
prompt? Surely you can get the information you need from commands in the terminal. While this is
true, I spend so much time in my terminal, that I want it to be functional, and well as attractive.
After all, I probably spend three quarters of my working day behind the terminal. So, I might as
well make it as informative as I can. With that, let#8217;s see what I#8217;ve done to my prompt.
First, a simple screenshot showing the cleanliness of the default promt:/p div align=centerimg
src=http://pthree.org/wp-content/uploads/2008/11/zsh-prompt1.png alt=Basic ZSH prompt //div
pHere#8217;s what I wanted behind my prompt:/p ul liA matching theme with my .screenrc, Mutt theme
and 88_madcows Irssi theme (yes, they all tie in together)./li liThe continuation prompt should
carry on the theme of the main prompt./li liMy username and host that I#8217;m connected to/li
liThe history number of the last command executed./li liA timestamp showing when I executed the
last command./li liThe prompt should never be wider than the terminal we#8217;re attached to (we
may need to truncate the path)./li liDisplay statuses of the following, only when needed: liBattery
status of my laptop, if less than 100%./li liThe current GIT branch, if any./li liThe exit code of
the last command, if any other than zero./li liThe screen number I#8217;m attached to, if behind
screen./li liThe number of jobs executing in the background, if any./li /li /ul pThat#8217;s it.
Not much really. Most of it is fairly straight forward. Some of those points will require some
hacking, and a bit of logic, but for the most part, this shouldn#8217;t be too bad. So, with that,
let#8217;s start dissecting my code line-by-line./p pAt first glance, you#8217;ll notice that
I#8217;m using two functions to pull this off. The first function is a special ZSH function called
#8216;precmd()#8217;. This function is always executed before a new prompt is drawn. Because
we#8217;ll be creating custom variables, and using them in our prompt, we#8217;ll need to take
advantage of this function. If we don#8217;t then we#8217;ll have to source our .zshrc every time
we want our dynamic prompt updated. The second function is what actually draws the prompt.
We#8217;ll look at that a bit later./p ppre class=phpspan# let's get the current get branch that we
are under/span span# ripped from /etc/bash_completion.d/git from the git devs/span git_ps1
span#40;/spanspan#41;/span span#123;/span spanif/span which git gt; /dev/spannull/span; then local
g=spanquot;$(git rev-parse --git-dir 2gt;/dev/null)quot;/span spanif/span span#91;/span -n
spanquot;$gquot;/span span#93;/span; then local r local b spanif/span span#91;/span -d
spanquot;$g/rebase-applyquot;/span span#93;/span; then spanif/span test -f
spanquot;$g/rebase-apply/rebasingquot;/span; then r=spanquot;|REBASEquot;/span elif test -f
spanquot;$g/rebase-apply/applyingquot;/span; then r=spanquot;|AMquot;/span spanelse/span
r=spanquot;|AM/REBASEquot;/span fi b=spanquot;$(git symbolic-ref HEAD 2gt;/dev/null)quot;/span elif
span#91;/span -f spanquot;$g/rebase-merge/interactivequot;/span span#93;/span; then
r=spanquot;|REBASE-iquot;/span b=spanquot;$(cat
quot;/spanspan$g/span/rebase-merge/head-namespanquot;)quot;/span elif span#91;/span -d
spanquot;$g/rebase-mergequot;/span span#93;/span; then r=spanquot;|REBASE-mquot;/span
b=spanquot;$(cat quot;/spanspan$g/span/rebase-merge/head-namespanquot;)quot;/span elif
span#91;/span -f spanquot;$g/MERGE_HEADquot;/span span#93;/span; then r=spanquot;|MERGINGquot;/span
b=spanquot;$(git symbolic-ref HEAD 2gt;/dev/null)quot;/span spanelse/span spanif/span span#91;/span
-f spanquot;$g/BISECT_LOGquot;/span span#93;/span; then r=spanquot;|BISECTINGquot;/span fi
spanif/span ! b=spanquot;$(git symbolic-ref HEAD 2gt;/dev/null)quot;/span; then spanif/span !
b=spanquot;$(git describe --exact-match HEAD 2gt;/dev/null)quot;/span; then b=spanquot;$(cut -c1-7
quot;/spanspan$g/span/HEADspanquot;)...quot;/span fi fi fi spanif/span span#91;/span -n
spanquot;$1quot;/span span#93;/span; then a href=http://www.php.net/printfspanprintf/span/a
spanquot;$1quot;/span spanquot;${b##refs/heads/}$rquot;/span spanelse/span a
href=http://www.php.net/printfspanprintf/span/a spanquot;%squot;/span
spanquot;${b##refs/heads/}$rquot;/span fi fi spanelse/span a
href=http://www.php.net/printfspanprintf/span/a spanquot;quot;/span fi span#125;/span nbsp;
GITBRANCH=spanquot; $(git_ps1)quot;/span/pre/p pBefore I even begin, I want to start off with
determining my GIT branch that I#8217;m currently working on, if any. I use GIT extensively at
work, and I#8217;ve even setup my own GIT repository at home, to track my own config files and
custom scripts that I want to hold on to. As such, if I#8217;m ever on a GIT branch, I want that
displayed in my prompt. As noticed in the comment before the code, this was pulled directly from
the BASH completion package from the GIT developers? Why the extensive code? Well, when doing a
rebase on the branch, I want to make sure I#8217;m keeping track of my current location, as HEAD
won#8217;t always be reliable./p ppre class=phpspan# The following 9 lines of code comes directly
from Phil!'s ZSH prompt/span span# http://aperiodic.net/phil/prompt//span local TERMWIDTH
span#40;/spanspan#40;/span TERMWIDTH = $span#123;/spanCOLUMNSspan#125;/span - span1/span
span#41;/spanspan#41;/span nbsp; local PROMPTSIZE=$span#123;/spanspan#${(%):--- %D{%R.%S %a %b %d
%Y}! ---}}/span local PWDSIZE=$span#123;/spanspan#${(%):-%~}}/span nbsp; spanif/span
span#91;/spanspan#91;/span spanquot;$PROMPTSIZE + $PWDSIZEquot;/span -gt span$TERMWIDTH/span
span#93;/spanspan#93;/span; then span#40;/spanspan#40;/span PR_PWDLEN = span$TERMWIDTH/span -
span$PROMPTSIZE/span span#41;/spanspan#41;/span fi/pre/p pNext, it#8217;s time to determine the
terminal width. As mentioned above, I don#8217;t want my prompt to be longer than my terminal and
wrap, so as such, I need some logic to figure this out. After several hours of hacking at this, I
couldn#8217;t get it right. So, after a bit of searching, I found a
href=http://aperiodic.net/phil/prompt/Phil Gold#8217;s ZSH prompt/a, and decided to copy the code
verbatim, and modify it to fit my needs. Phil is using a right hand prompt, and I#8217;m not. As
such, there was some code I could cut out, to get exactly what I needed. He does a good job
explaining the logic, so I#8217;ll let you read it all there./p ppre class=phpspan# set a simple
variable to show when in screen/span spanif/span span#91;/spanspan#91;/span -n
spanquot;${WINDOW}quot;/span span#93;/spanspan#93;/span; then SCREEN=spanquot;
S:${WINDOW}quot;/span spanelse/span SCREEN=spanquot;quot;/span fi/pre/p pScreen is my best friend.
I use it to the point, where I only need one terminal open for all my separation needs. However, as
much as I use it, it#8217;s not open all the time. As such, when it#8217;s open, I want to show it
in my prompt. When it is not open, I don#8217;t want it cluttering the prompt up. As such, if a
value exists in the $WINDOW variable (this is set when screen is executed, then I set the $SCREEN
variable. Otherwise, I don#8217;t bother./p ppre class=phpspan# check if jobs are executing/span
spanif/span span#91;/spanspan#91;/span $span#40;/spanjobs | wc -lspan#41;/span -gt span0/span
span#93;/spanspan#93;/span; then JOBS=spanquot; J:%jquot;/span spanelse/span
JOBS=spanquot;quot;/span fi/pre/p pI seem to background jobs from time-to-time. Usually when
testing an application, or executing an application from the terminal. Although not critical,
it#8217;s useful knowing if jobs are running in the background or not. Again, I don#8217;t want
this cluttering up my terminal if jobs aren#8217;t running./p ppre class=phpspan# I want to know my
battery percentage when less than 100%./span spanif/span which ibam amp;gt; /dev/spannull/span;
then BATTSTATE=spanquot;$(ibam --percentbattery)quot;/span
BATTPRCNT=spanquot;${BATTSTATE[(f)1][(w)-2]}quot;/span
BATTTIME=spanquot;${BATTSTATE[(f)2][(w)-1]}quot;/span/pre/p pMost of my time computing is spent on
my laptop. Although there are several utilities that show my current battery percentage, I figured
why not put it into my prompt? One thing that converted me to ZSH was it#8217;s powerful scripting
capabilities. Here, I#8217;m creating three variables for ultimately getting the data I want. In
the BATTPRCNT, I find the data by grabbing the first line in the list (BATTSTATE[(f)1]) and the
second-to-last word ([(w)-2]). For the remaining time, I get this information from the second line,
and last word in the list./p ppre class=phpPR_BATTERY=spanquot; B:${BATTPRCNT}%%
(${BATTTIME})quot;/span spanif/span span#91;/spanspan#91;/span spanquot;${BATTPRCNT}quot;/span -lt
span15/span span#93;/spanspan#93;/span; then
PR_BATTERY=spanquot;$PR_BRIGHT_RED$PR_BATTERYquot;/span elif span#91;/spanspan#91;/span
spanquot;${BATTPRCNT}quot;/span -lt span50/span span#93;/spanspan#93;/span; then
PR_BATTERY=spanquot;$PR_BRIGHT_YELLOW$PR_BATTERYquot;/span elif span#91;/spanspan#91;/span
spanquot;${BATTPRCNT}quot;/span -lt span100/span span#93;/spanspan#93;/span; then
PR_BATTERY=spanquot;$PR_RESET$PR_BATTERYquot;/span fi spanelse/span PR_BATTERY=spanquot;quot;/span
fi span#125;/span/pre/p pNow that I have the battery data that I want, I format it to fit my needs.
If the battery percentage is less than 100% and greater than 49%, I want the color to be the same
as the rest of the prompt- normal. If it#8217;s less than 50% but greater than 14%, I want the
color to be yellow. If it#8217;s less than 15%, then the color should be red. You#8217;ll notice
that there are variables for colorizing the value. These are defined the next function below.
Lastly, if the battery is 100%, then don#8217;t show the information at all. In order to retrieve
this information, I use the #8220;ibam#8221; utility. It#8217;s installed on my laptop, so
that#8217;s all that matters to me. This concludes the precmd() function. Now, to drawing the
prompt itself./p ppre class=phpsetprompt span#40;/spanspan#41;/span span#123;/span span# Need this,
so the prompt will work/span setopt prompt_subst nbsp; span# let's load colors into our
environment, then set them/span autoload colors zsh/terminfo nbsp; spanif/span
span#91;/spanspan#91;/span spanquot;$terminfo[colors]quot;/span -gt span8/span
span#93;/spanspan#93;/span; then colors fi nbsp; spanfor/span COLOR in RED GREEN YELLOW WHITE
BLACK; spando/span a href=http://www.php.net/evalspaneval/span/a
PR_span$COLOR/span=span'%{$fg[${(L)COLOR}]%}'/span a href=http://www.php.net/evalspaneval/span/a
PR_BRIGHT_span$COLOR/span=span'%{$terminfo[bold]$fg[${(L)COLOR}]%}'/span done nbsp;
PR_RESET=spanquot;%{$terminfo[sgr0]%}quot;/span/pre/p pNow, we move onto drawing the prompt. This
function is defined by myself, and is not a ZSH builtin. First, and foremost, I need to set the
prompt_subst ZSH option. This is needed to substitute the variables in my prompt with what was
defined earlier/p pThen, we need to load colors into the prompt. ZSH has an awesome autoload
utility for loading modules into the namespace. Here, I#8217;m loading colors and terminfo,
necessary for setting the appropriate colors. Then, we discover if we can even use colors. One
thing I wanted about my prompt, was the ability to fail gracefully, if colors aren#8217;t
supported. Here, I make that possible. Then it#8217;s on to defining the colors themselves. A
simple #8216;for#8217; loop makes this possible, and we cycle through only the colors needed by the
prompt. I#8217;m setting both bold an normal colors, so I can take advantage of them for a little
styling of the prompt. I#8217;m also creating a RESET variable for resetting the color back to
non-colored, normal text./p pThanks to lists, again, I can grab foreground and background colors as
needed. Also, because I created a #8216;COLOR#8217; variable, I need to lowercase the variable when
making the assignments, as the #8216;$fg[]#8216; list is expecting the color in lowercase. Why not
just do it all in lowercase? I#8217;m a fan of uppercase variables in my scripts, and I keep this
behavior here. So, #8216;$fg[${(L)COLOR}] will lowercase the value of #8216;$COLOR#8217;./p ppre
class=phpspan# Finally, let's set the prompt/span PROMPT=span'span/span
${PR_BRIGHT_BLACK}lt;${PR_RESET}${PR_RED}lt;${PR_BRIGHT_RED}lt;${PR_RESET} span/span %D{%R.%S %a %b
%d %Y}${PR_RED}!${PR_RESET}%$PR_PWDLENlt;...lt;%~%lt;lt; span/span nbsp;
${PR_BRIGHT_BLACK}lt;${PR_RESET}${PR_RED}lt;${PR_BRIGHT_RED}lt;span/span ${PR_RESET}
%n@%m${PR_RED}!${PR_RESET}H:%h${SCREEN}${JOBS}%(?.. E:%?)span/span
${PR_BATTERY}${GITBRANCH}span/span nbsp;
${PR_BRIGHT_BLACK}gt;${PR_RESET}${PR_GREEN}gt;${PR_BRIGHT_GREEN}gt;span/span ${PR_BRIGHT_WHITE}
'/span/pre/p pThe #8216;PROMPT#8217; variable is the same as the #8216;PS1#8242; variable in ZSH,
so I use it here. This is the prompt string itself, doing all the formatting and placement of
variables. Notice that whenever I define a bright color, before I can use a non-bright color, I
have to reset it first. I#8217;m sure there#8217;s a better way to do this, but it works fine for
me. Also, the #8216;PROMPT#8217; variable must be enclosed in single quotes, or some of the
variables will not be evaluated./p ppre class=phpspan# Of course we need a matching continuation
prompt/span PROMPT2=span'span/span
${PR_BRIGHT_BLACK}gt;${PR_RESET}${PR_GREEN}gt;${PR_BRIGHT_GREEN}gt;span/span ${PR_RESET} %_
${PR_BRIGHT_BLACK}gt;${PR_RESET}${PR_GREEN}gt;span/span ${PR_BRIGHT_GREEN}gt;${PR_BRIGHT_WHITE}
'/span span#125;/span/pre/p pOf course, it would be silly to not define a matching continuation
prompt. The #8216;PROMPT2#8242; variable in ZSH is the same as the #8216;PS2#8242; variable, so
again, I prefer to use that variable name. Below is a screenshot showing every aspect of the
prompt, except for the GIT branch. As you can see, I#8217;m in a directory structure that normally
would be longer than the width of the terminal, I#8217;m behind screen in window #0, running 2
backgrounded jobs, there was an exit code of #8216;42#8242; from the previous executable, my
battery has a 94% charge, the previous executable was run at 23:05 on November 22, 2008 and
I#8217;m about to execute history item number 1573./p div align=centerimg
src=http://pthree.org/wp-content/uploads/2008/11/zsh-prompt2.png alt=Basic ZSH prompt //div ppre
class=phpsetprompt/pre/p pLastly, we call the function to draw the prompt, and we#8217;re off!
Since creating this prompt, I#8217;ve thought about other useful data that I could use for the
prompt. Maybe I#8217;ll get around to that, but right now, I#8217;m very happy with the final
status. The post is informative, but not intrusive. It contains both function and form. It#8217;s
bright to grab your attention, but not overbearing to distract you for your work. It conserves real
estate, yet is loaded with information. Yeah. I won#8217;t be changing shells, or prompts, anytime
soon. img src=http://pthree.org/wp-includes/images/smilies/icon_smile.gif alt=:) class=wp-smiley /
/p pa href=http://pthree.org/wp-content/uploads/2008/11/zsh_ps1.txtThe entire source can be
downloaded here/a./p pCheers!/p div class=feedflare a
href=http://feeds.feedburner.com/~f/pthree?a=mXgSNimg
src=http://feeds.feedburner.com/~f/pthree?i=mXgSN border=0 //a /divimg
src=http://feeds.feedburner.com/~r/pthree/~4/462562027 height=1 width=1 /

|
Tarzile.com -
1 days ago
Dites trente-trois! 33 jours avant Noël. Aviez-vous
remarqué ?
Je ne sais pas si c'est une tradition chez vous, mais moi, j'écris des cartes de Noël
à tous les ans. La liste de correspondants s'allonge d'année en année.
Il y a plusieurs étapes pour se faciliter la vie. Voici les miennes.
Acheter les cartes à l'avance. Rien ne consomme plus de temps que
d'arrêter au beau milieu d'une tâche pour aller acheter 4 cartes qui manquent.
Cette année, j'ai trouvé des cartes de Pierre Belvédère chez Winners
à moitié prix. J'ai mon lot.
Des voeux par Internet ? Seulement si je ne possède pas l'adresse de la
personne. Pourquoi ? Une année, j'ai reçu trois cartes virtuelles en provenance de
personnes travaillant pour la même entreprise. La carte n'était pas personnalisable
et pour le chaleur humaine, c'était nul. L'idée était bonne. Mais c'est
à raffiner.
Les timbres. Je suis vieux jeu et j'achète des timbres de Noël. Quoi
? Ça ne coûte pas plus cher et ça fait plus joyeux. J,ai des
correspondants à l'étranger. Ne pas oublier d'acheter des timbres pour
l'international.
Le carnet d'adresse. Avoir les adresses sous la main facilite la vie et
accélère la tâche. Cette année, j'ai retenu le truc de mon amie
Claudette. Elle conserve les enveloppes des cartes qu'elle a reçues l'an dernier. Cette
année, elle a les adresses vite fait sous la main.
Les photos des enfants. Parce que ma mère et ma belle-mère
tapissent les murs avec les photos des petits-enfants. On fait d'une pierre, deux coups.
Une recette de vin chaud. Pour se mettre dans l'ambiance des Fêtes.
Poster le 1 décembre. Truc de Francine - pseudo Joyeux Noël - dans
le forum Organized Christmas. Pourquoi ?Parce que le cachet de la poste a revêtu
ses atours de Noël et les enveloppes sont plus jolies.
Je sais, paraît que ça se soigne, la folie de Noël. Mais il faut vouloir se
faire soigner. Et moi, je ne veux PAS.
© Tarzile.com, 2008

|
L'actualité du sport avec Sport 365 -
1 days and 1 hours ago
 La Suède, facile
vainqueur du Portugal vendredi, est venue à bout de l'Espagne au terme d'un match
disputé, samedi à Coubertin, et conserve la tête du tournoi. La France joue
actuellement contre le Portugal.
|
L'actualité du sport avec Sport 365 -
1 days and 5 hours ago
img src="http://media.sporever.fr/sport365/images/resized/block1/144x66_70970.jpg" alt="Clermont :
Piocelle pas conservé " align="left" style="margin: 5px;" /Mis à
lÂ’essai, le milieu de terrain Sébastien Piocelle nÂ’a pas
été retenu par le Clermont Foot Auvergne 63 (Ligue 2).img width='1' height='1'
src='http://rss.feedsportal.com/c/356/f/4939/s/26bd138/mf.gif' border='0'/div class='mf-viral'table
border='0'trtd valign='middle'a
href="http://res.feedsportal.com/viral/sendemail2_fr.html?title=Foot - Clermont : Piocelle pas
conservélink=http://www.mercato365.com/la-une/article_277803_Clermont-Piocelle-pas-conserve-.shtml"
target="_blank"img src="http://rss.feedsportal.com/images/partagez.gif" border="0" //a/tdtd
valign='middle'a href="http://res.feedsportal.com/viral/bookmark_fr.cfm?title=Foot - Clermont :
Piocelle pas
conservélink=http://www.mercato365.com/la-une/article_277803_Clermont-Piocelle-pas-conserve-.shtml"
target="_blank"img src="http://rss.feedsportal.com/images/bookmark.gif" border="0"
//a/td/tr/table/divbr/br/a
href="http://da.feedsportal.com/r/24192800641/u/89/f/4939/c/356/s/40620344/a2.htm"img
src="http://da.feedsportal.com/r/24192800641/u/89/f/4939/c/356/s/40620344/a2.img" border="0"//a

|
DCEmu Forums:: The Homebrew & Gaming Network :: PSP Dreamcast Nintendo DS Wii GP2X Xbox 360 GBA Gamecube PS2 Forums - Dreamcast News Forum -
1 days and 7 hours ago
News/release from Torch:
This is a simple plugin I made a long time ago for my personal use. I just found the source code
while going through some old stuff on my computer, so I thought I'd clean up the code a bit and
release the plugin.
I realize that there are other plugins that feature similar functionality but I wrote my own
because I wanted to be sure its coded optimally, as there are a few careless ways in which these
functions can be improperly used (the point of this after all is to conserve battery life).
It does the following when the Hold switch is enabled:
* Switches off the LCD backlight.
* Switches off the actual LCD screen.
(This is important because the backlight and actual screen are two different things. You can have
an image being displayed on the screen while the backlight is switched off, such that you can see
the image if you use a flashlight. You can also have the screen switched off while the backlight
still illuminates the powered off screen.)
* Underclocks the CPU to 60MHz
(Sony has changed the clock speed functions such that only certain combinations of speeds work
correctly. Simply trying to underclock to arbitary values will result in the CPU simply running at
the stock speed. I have verified that Hold+ successfully underclocks to 60MHz.)
* The original screen brightness and clock speed are restored when the Hold switch is released.
* Prevents the PSP from going into suspend mode if you accidently push the power switch too far
when turning off Hold mode.
* Allows complete operation of the PSP controls with the display turned off.
* Turns off LEDs in hold mode. LEDs are flashed once in 30 seconds so that the PSP is not mistaken
to be powered off.
* While in hold mode, allows the use of Left, Right, LTrigger, RTrigger, Volume and Start buttons,
if you hold the Select button first. Useful to skip songs, pause etc.
Usage:
Turn on the Hold switch to automatically disable the display and underclock the CPU. Turn off the
Hold switch to return the CPU to normal speed and enable the display.
If you push the ANALOG UP button when turning on the Hold switch, it will only lock the keypad like
normal hold mode. The display and CPU speed will not be changed, so that you can watch videos etc.
with the keypad locked.
If you push the ANALOG UP button when turning off the Hold switch, the display will remain switched
off and the CPU will remain underclocked, but you can operate the PSP. To return to normal, push
the power switch to the suspend position, or just press the Screen button.
While the PSP is in hold mode, if you first hold down the Select button, you can use the following
buttons: Left, Right, LTrigger, RTrigger, Vol+, Vol-, Start.
Installation:
You can install it in the seplugins folder, and make an entry in VSH.txt. Thus it will be active in
the XMB. Its also possible to use it in games by adding it to GAME.txt, but some games may crash
etc., if the CPU is underclocked to such a low value.
Optionally, its also possible to install it in your PSP's flash0 so that it will work without a
Memory Stick. For this you can use FreePlay's "NewBTCFNedit" and enable it for VSH mode in the all
the PSPBT?NF.bin files. Add it before vshmain.prx.
Advanced:
If you want to change the clock speed to your own values, you can use a hex editor to change them.
The offsets in the file for v3.4 are
0xD48 - CPU
0xD4C - Bus (Should be half the CPU speed or less)
The values should be entered in hexadecimal. The default value for CPU is 3C (60 MHz in decimal)
and the default value for Bus is 1E (30 MHz in decimal).
Note that simply using any arbitrary value will not work. You will have to test and see which
values for CPU and Bus speed work.
Changelog v3.41
----------------------------------
Improved faulty Hold switch protection, as there were still some chances of a faulty Hold switch
causing problems.
Changelog v3.4
----------------------------------
Fixed a problem caused by a faulty Hold switch in some PSPs. This made the CPU remain underclocked
even after turning off the Hold switch.
The problem is the Hold switch doesn't consistently return a pressed state. It sometimes rapidly
fluctuates between an Off and On signal. If this fluctuation occurs within one iteration of the
main program loop, it causes problems. Its not humanly possible to toggle the Hold switch so fast,
but a loose connection can :P
Download and Give Feedback Via Comments
Attached Files hold__v3[1].41.zip
(6.6 KB)

|
Open"Source::critere -
1 days and 8 hours ago
(Lyon) Le CSBJ recevait hier soir le leader du classement Toulouse et aurait eu grand besoin d'un
succès à domicile. Mais le Stade Toulousain a marqué 2 essais et Bourgoin
s'est finalement incliné, 18-12. Toulouse conserve donc la tête du classement avec
|
L'actualité du sport avec Sport 365 -
1 days and 12 hours ago
 Boston, vainqueur de Minnesota vendredi
soir 95 à 78, conserve toujours la tête de la Conférence Est. Les Spurs,
tombeurs des Jazz 119 à 94, enregistrent leur septième victoire en douze rencontres
et poursuivent leur remontée dans la hiérarchie de la conférence
ouest.
|
Boing Boing -
1 days and 19 hours ago
President-elect Obama wants to get rid of daylight saving time in the United States to conserves
energy. Turns out, according to two academics on the NYT Op-Ed page, there is little scientific
proof that this reduces energy consumption. It also turns out that this practice could be wasteful,
a bit annoying, and a lot of people, including Obama, want to get rid of it. A study in Indiana, a
state that recently started DST, showed an overall increase of 1 percent in residential electricity
use with occasional increases of 2 to 4 percent in late spring and early fall. So much for
conserving energy. I hate DST. It throws me and my kids out of whack for a couple of days. I hope
Obama gets rid of it. too. Obama Looks to Axe Daylight Time...br style="clear: both;"/ a
href="http://www.pheedo.com/click.phdo?s=def079bc3020490c112d885d371858bfp=1"img alt=""
style="border: 0;" border="0"
src="http://www.pheedo.com/img.phdo?s=def079bc3020490c112d885d371858bfp=1"//a img
src="http://www.pheedo.com/feeds/tracker.php?i=def079bc3020490c112d885d371858bf" style="display:
none;" border="0" height="1" width="1" alt=""/

|
|
What is Matoumba?
A website that sorts everyday the most relevant information to you.
Vote for the news and Matoumba will learn your tastes and the information that you like the most.
It is all FREE!
|