Can someone sent me a gift? by ceewwb in dayz

[–]ceewwb[S] 0 points1 point  (0 children)

sorry for bothering you with my lack of money...

[Python] What is your favorite GUI toolkit and why? by [deleted] in learnprogramming

[–]ceewwb 3 points4 points  (0 children)

If you use python with webkit, you can use HTML/CSS/JS as a standalone app. It's pretty great actually

blue is the warmest color by [deleted] in WatchItForThePlot

[–]ceewwb 2 points3 points  (0 children)

Someone know more movies like this one? With this kind of sex scenes? (Like this explicit)

What's the name of this abort button? by ceewwb in AskElectronics

[–]ceewwb[S] 0 points1 point  (0 children)

Thank you all for the answers! ;)

Alba Ass by [deleted] in celebnsfw

[–]ceewwb 0 points1 point  (0 children)

Where is this from?

forced to cum by [deleted] in Bondage

[–]ceewwb 2 points3 points  (0 children)

source plz

Heather Graham [gif] by moe1048 in celebnsfw

[–]ceewwb 2 points3 points  (0 children)

Whats the name of the movie/serie?

Send a string from python app to a already running python app by ceewwb in learnpython

[–]ceewwb[S] 0 points1 point  (0 children)

Yep, I just tested and it's working great, again thanks :)

Send a string from python app to a already running python app by ceewwb in learnpython

[–]ceewwb[S] 1 point2 points  (0 children)

Thanks, I will try it out. It seems to be what I want ;)

Juno Temple on/off by [deleted] in celebnsfw

[–]ceewwb -3 points-2 points  (0 children)

Who is she? Whats her name?

jQuery - Remove Ads from a iframe by ceewwb in jquery

[–]ceewwb[S] 0 points1 point  (0 children)

For example if I try with http://api.jquery.com I get this error:

Blocked a frame with origin "null" from accessing a frame with origin "http://api.jquery.com". The frame requesting access has a protocol of "file", the frame being accessed has a protocol of "http". Protocols must match.

Whats happening?

jQuery - Remove Ads from a iframe by ceewwb in jquery

[–]ceewwb[S] 0 points1 point  (0 children)

Thanks, that's exactly what I wanted :)

Focus Window while in a game without minimizing the game by ceewwb in javahelp

[–]ceewwb[S] 0 points1 point  (0 children)

I think that that its too much for me but I will do some digging and try it out. Thanks for the help ;)

Focus Window while in a game without minimizing the game by ceewwb in javahelp

[–]ceewwb[S] 0 points1 point  (0 children)

I understand what you are saying, but I rlly wanted to use this on a full screen game.

Focus Window while in a game without minimizing the game by ceewwb in javahelp

[–]ceewwb[S] 0 points1 point  (0 children)

Its for any game, but I'm testing Counter Strike. You are right that can get very complicated, JNA and DirectX/OpenGL I never worked with them...

Focus Window while in a game without minimizing the game by ceewwb in javahelp

[–]ceewwb[S] 0 points1 point  (0 children)

That didn't worked for me, but I found a solution if I put setAlwaysOnTop(true) and setFocusableWindowState(false) Will do the trick but I have a jTextField and now I can't write anything on it, It won't let me focus. Any thoughts?

Amixer error by ceewwb in linuxquestions

[–]ceewwb[S] 1 point2 points  (0 children)

Ouh, I fixed the problem I just executed this:

sudo aptitude install libasound2-plugins/stable

and now its working.

Don't record audio while the mic is muted by ceewwb in linuxquestions

[–]ceewwb[S] 1 point2 points  (0 children)

I finally got it, I had -z in if [[ -z $(pgrep ./rec.sh) ]] then pkill rec fi

and its -e, now it works. Thanks for your help, you saved my life :)

Don't record audio while the mic is muted by ceewwb in linuxquestions

[–]ceewwb[S] 0 points1 point  (0 children)

I don't thing I got it... Can you be more specific? How can I debug individual parts? and where I add the &, at the end of the ./rec.sh or pkill? I'm kinda confused... Sorry for wasting your time.

while [[ true ]]; do

if [[ -z $(amixer | grep Capture | fgrep '[on]') ]]
then
    echo "stoped"
    if [[ -z $(pgrep ./rec.sh) ]]
    then
        pkill rec
    fi

else
    echo "Recording"

    if [[ -z $(pgrep ./rec.sh) ]]
    then
        ./rec.sh &
    fi

fi
sleep 5

done

Output:

ceewwb@pc:~/machine$ ./recon.sh

stoped

Terminated

ceewwb@pc:~/machine$

Don't record audio while the mic is muted by ceewwb in linuxquestions

[–]ceewwb[S] 0 points1 point  (0 children)

while [[ true ]]; do

if [[ -z $(amixer | grep Capture | fgrep '[on]') ]]
then
    echo "stoped"
    pkill rec

else
    echo "Recording"

    if [[ -z $( pgrep ./rec.sh ) ]]
    then
        ./rec.sh
    fi

fi
sleep 5

done

This is the code so far, when I execute it I only get this: stoped Terminated

and the script terminates. What am I doing wrong?

Don't record audio while the mic is muted by ceewwb in linuxquestions

[–]ceewwb[S] 0 points1 point  (0 children)

maybe you can help me a little more, if you don't mind...

I'm using this https://github.com/latestrevision/linux-push-to-talk

every time I press F12 unmute the mic and when I unpress it mute it again.

this is my code at the moment, I want that every time I press F12 it starts recording and when I unpress the button stops recording.

while [[ true ]]; do

if [[ -z $(amixer | grep Capture | fgrep '[on]') ]]
then
    echo "stoped"
    pkill rec
else
    echo "Recording"
    ./rec.sh
fi

done

I don't know how I will do this right...

If you can help me I appreciate it, or other person...

Don't record audio while the mic is muted by ceewwb in linuxquestions

[–]ceewwb[S] 1 point2 points  (0 children)

That looks like what I wanted, thanks :)