This function is based on phpion's code but with added PNG-24 alpha channel support. Took me a while to figure it out, but imagecopymerge doesn't support transparency (don't ask me) so I had to use imagecopy and turn on imageAlphaBlending (despite what people in PHP manual's comments say). Too bad it couldn't be done in application/ and I had to edit system/ files.

Na życzenie smokka wrzucam tutaj mój super prosty styl z hackiem kolorującym tagi w Blipie.

Od jakiegoś czasu porzuciłem bugowatego gedita na rzecz czegoś szybszego. Na początku próbowałem vi, ale dziwaczne jak dla mnie tryby edycji (przejście strzałką na koniec linii nie przenosi mnie na początek następnej? hellołł?) sprawiły, że dałem sobie spokój. Chciałem spróbować emacsa, ale miał za dużo kombinacji. W końcu postanowiłem na hiperprostotę. Wybrałem najlepszy edytor jaki mogłem - nano.
Symptoms (may be little different):
gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
Wow, it's finally done! After 4 hours of hacking and digging through documentations, API references and three other plugins I finally wrote my own Gedit 2.26 plugin :) The fun fact is I completely don't know Python at all(only basic ideas). Most of the code is either a rip-off from one of the previously mentioned plugins or my wild guesses 'how the hell does it work?!'. I hope your PC won't melt :D
What does it do? Well, it's a really simple script despite the time I put into writing it. It saves the current file you are working on and executes git add [file] && git commit [file] making your life a lot easier because you don't have to remember about those annoying commits in your local repo every time you change something. Useful!
Script is in it's early beta, I didn't give it any version number. There are lot of things to do so don't be suprised that it's not perfect. I must also warn you it's not exactly idiot-friendly and even if I tried to make it as safe as I could, you still can make your local repository unusable. Use at your own risk!
And yes, I know that the code is not a state of art. It was written during my NADD (Nerd Attention Deficiency Disorder) period, not during the NAND (Nerdy Attraction to Naughty Development - code have to be sexy!) one. Sorry :D
You can download the plugin from my server (4 KB)
I welcome any feedback and bug reports, but please, don't be too hard on me, I'm just learning.
Also if possible don't be too harsh on my english - still studying ;)
Reklamy: sklep komputerowy ,
18-letni geek-webdesigner uczęszczający do ZSE w Bydgoszczy. więcej...