The SART activates the same right fronto-parietal attentional network (Fassbender et al., 2004; Manly et al., 2003) that appears dysfunctional in ADHD and autism (Giedd, Blumenthal, Molloy, & Castellanos, 2001; McAlonan et al., 2005; Silk et al., 2005). In this study we employed fixed- and random-sequence versions of the SART. The Random SART has a greater response inhibition loading than the Fixed SART, due to the random stimuli presentation. The Fixed SART places a larger endogenous demand upon the sustained attention system, due to the predictability of the stimuli presentation. Errors of commission (responding to the no-go stimuli) on the Fixed SART primarily reflect lapses of sustained attention and to a lesser degree deficits in response inhibition. Commission errors on the Random SART reflect to a greater degree response inhibition deficits, in addition to lapses of sustained attention. Errors of omission (failure to respond to the go-stimuli) in either SART reflect a break from task engagement and thus are reflective of lapsing attention. The current study therefore employed both the fixed and random version of the SART to examine the dissociation between sustained attention and response inhibition in children with ADHD, autism and controls.


Twenty three children with ADHD (3 females), 21 children with HFA (1 female) and 18 control children (3 females) participated in the study (see Table 1). There was no significant difference between the mean ages or in IQ, as measured using four subtests (picture completion, vocabulary, information, block design) of the Weschler Intelligence Scale for Children (Weschler, 1992), between the three groups. The data of 15 of the children with ADHD and 5 controls had previously been published and these children were randomly chosen to match the children with HFA according to age and IQ (Johnson et al., 2007).


Exclusion criteria for participation in the study included known neurological conditions or pervasive developmental disorders (apart from the presently studied disorders for each group), serious head injuries and below average intelligence (below 70 on the WISC-III) (Weschler, 1992). Control children were also excluded if they had first degree relatives with ADHD or HFA. Handedness was measured using the Edinburgh Handedness Inventory (Oldfield, 1971).


The participants with ADHD and HFA were recruited as part of ongoing genetic studies (Gallagher, Hawi, Kearney, Fitzgerald, & Gill, 2004; Kirley et al., 2002). These participants were either referred by consultant psychiatrists or recruited through support groups.


Yvonne: How's uncle Sam?
Lucy: He's OK, just came back from work.
Chiara: We were worried about him. Dad told us he was in hospital.
Lucy: It's nothing serious, don't worry! How kind of you to write to us!
Yvonne: Auntie, you're like our second parents!
Lucy: <3
Chiara: <file_photo>
Chiara: It's us in Chicago 2 weeks ago.
Lucy: Wow, you looked stunning!
Yvonne: Thanks, it was at our cousins wedding.
Lucy: And how are you girls? Any nice boys in sight?
Chiara: Yvonne is dating a hot Argentinian!
Yvonne: Chiara, stop it!
Lucy: Oh, come on! Tell me the details!

Uncle Sam was in hospital, but it was nothing serious. He and Lucy are like second parents to Chiara  and Yvonne. Chiara and Yvonne were in Chicago 2 weeks ago at their cousin's wedding. Yvonne is dating an Argentinian.


Jacob: Emily!! stop the busses .. I am not on my way..
Emily: Hurry up!! the busses are about to leave..
Jacob: Count to 10 and i will reach the parking lot
Emily: 10..9..1 where are you...

Emily is waiting for Jacob while the buses have almost left.


Steve: BTW, USA won last night!
Gulab: I forgot to check!
Steve: England playing tomorrow at 2:00!
Gulab: That's right, Croatia?
Steve: Yep.

USA won last night. England is playing against Croatia tomorrow at 2.


Matt: I feel like my homestay parents don't treat me that well
Jorge: Why u think so?
Matt: They take Carlos for subway
Matt: And I feel like they prefer talking to Carlos
Jorge: Do they feed you well tho
Matt: Yea I guess
Jorge: Maybe you're just overthinking
Matt: I don't know
Matt: It feels like a negative vibe
Matt: is it because I stay at home too much
Matt: And so They have to pay more for electricity
Jorge: I doubt it but hmm
Jorge: I would give a fuck
Jorge: You're there one more month and go
Matt: True

Matt will be staying with homestay parents for one more month. They seem to talk more to Carlos. They have higher electricity bills because Matt spends a lot of time at home.


Jones: Hey.
Angelina: Hey.
Angelina: Long time. How are you doing?
Jones: I'm fine
Jones: You?
Angelina: I'm cool too.
Jones: You think we can meet today later in the afternoon in town?
Angelina: Definitely.
Jones: Okay. I will call you to confirm where we will meet.
Angelina: Cool

Jones and Angelina will meet in town in the afternoon.


Oliver: Dude, how's the campaign going?
Bruce: It's more than ok, we've got around 200 backers right now
Oliver: Good! Have we reached 5000 dollars yet?
Bruce: Yes, we're a little over 6000... 6132 bucks.
Oliver: Crowdfunding is the way!

Bruce informs Oliver that the campaign is more than successful. They have so far won about 200 backers and crowdfunded 6123 dollars.


Rory: Max, is your sister studying in China?
Max: She is
Rory: How does she like it?
Max: it's not amazing, but she believes it's a good investment
Rory: does she speak Chinese?
Max: I think she does already
Joseph: Hard to control I imagine
Max: hahaha
Eliza: I think this is the best investment imaginable
Max: really?
Eliza: sure, the every 5th earthling is Chinese
Eliza: or so
Rory: true, I don't think you could stay unemployed speaking Chinese
Max: but there are Chinese everywhere and they speak foreign languages
Rory: true
Rory: anyway, where is is? Beijing?
Max: Nope. Shanghai
Rory: I've just checked, it has 25 million inhabitants!
Max: yes, she said it's actually bigger than the capital
Rory: Insane, it's the population of the whole Australia

Max's sister is studying in Shanghai and she already speaks Chinese. She doesn't find the whole experience amazing but she believes it's a good investment.


Ying: <file_photo>
Ying: my 10 years challenge everyone
Helen: wow
Norma: :O
Zazu: dude...
Zazu: I'm impressed

Ying sent a photo of his 10 years challenge to Helen, Norma and Zazu.


a turn, [our men] surround on every side, and slay those who had

a-ay urn-tay, [our-ay en-may] urround-say on-ay every-ay ide-say, and-ay ay-slay ose-thay o-whay ad-hay


and at the instant. Having dismissed them, meeting both with wind and

and-ay at-ay e-thay instant-ay. aving-Hay ismissed-day em-thay, eeting-may oth-bay ith-way ind-way and-ay


Corfinium, to Domitius Aenobarbus, and informed him that Caesar was

orfinium-Cay, o-tay omitius-Day enobarbus-Aay, and-ay informed-ay im-hay at-thay aesar-Cay as-way


XXV.--When Caesar observed this, he ordered the ships of war, the

en-XXV.--Whay aesar-Cay observed-ay is-thay, e-hay ordered-ay e-thay ips-shay of-ay ar-way, e-thay


should any one judge that he would so rashly depart from his duty? He

ould-shay any-ay one-ay udge-jay at-thay e-hay ould-way o-say ashly-ray epart-day om-fray is-hay uty-day? e-Hay


committed to them the charge of his ships of war, which he had

ommitted-cay o-tay em-thay e-thay arge-chay of-ay is-hay ips-shay of-ay ar-way, ich-whay e-hay ad-hay


such speed and such ardour, though they stood above the water by their

uch-say eed-spay and-ay uch-say ardour-ay, ough-thay ey-thay ood-stay above-ay e-thay ater-way y-bay eir-thay


the hope of [making good their] defence was infused into the Remi, and,

e-thay ope-hay of-ay [aking-may ood-gay eir-thay] efence-day as-way infused-ay into-ay e-thay emi-Ray, and-ay,


a bill had been carried by the ten tribunes of the people

a-ay ill-bay ad-hay een-bay arried-cay y-bay e-thay en-tay ibunes-tray of-ay e-thay eople-pay


falling on the foragers by surprise as they were dispersed without any

alling-fay on-ay e-thay oragers-fay y-bay urprise-say as-ay ey-thay ere-way ispersed-day ithout-way any-ay


To investigate the efficacy of 6 weeks of daily low-dose oral prednisolone in improving pain , mobility , and systemic low-grade inflammation in the short term and whether the effect would be sustained at 12 weeks in older adults with moderate to severe knee osteoarthritis ( OA ) .


A total of 125 patients with primary knee OA were randomized 1:1 ; 63 received 7.5 mg/day of prednisolone and 62 received placebo for 6 weeks .


Outcome measures included pain reduction and improvement in function scores and systemic inflammation markers .


Pain was assessed using the visual analog pain scale ( 0-100 mm ) .


Secondary outcome measures included the Western Ontario and McMaster Universities Osteoarthritis Index scores , patient global assessment ( PGA ) of the severity of knee OA , and 6-min walk distance ( 6MWD ) .


Serum levels of interleukin 1 ( IL-1 ) , IL-6 , tumor necrosis factor ( TNF ) - , and high-sensitivity C-reactive protein ( hsCRP ) were measured .


There was a clinically relevant reduction in the intervention group compared to the placebo group for knee pain , physical function , PGA , and 6MWD at 6 weeks .


The mean difference between treatment arms ( 95 % CI ) was 10.9 ( 4.8-18 .0 ) , p < 0.001 ; 9.5 ( 3.7-15 .4 ) , p < 0.05 ; 15.7 ( 5.3-26 .1 ) , p < 0.001 ; and 86.9 ( 29.8-144 .1 ) , p < 0.05 , respectively .


Further , there was a clinically relevant reduction in the serum levels of IL-1 , IL-6 , TNF - , and hsCRP at 6 weeks in the intervention group when compared to the placebo group .


These differences remained significant at 12 weeks .


ideje aludni olly


Uh, Wolf Haley, Golf Wang, go
Im a fuckin walkin paradox, no, Im not
Threesomes with a fuckin triceratops, Reptar
Rappin as Im mockin deaf rock stars
Wearin synthetic wigs made of Anwars dreadlocks
Bedrock, harder than a motherfuckin Flintstone
Making crack rocks outta pussy nigga fishbones
This nigga Jasper tryin to get grown
About five, seven of his bitches in my bedroom
Swallow the cinnamon, Ima scribble this sin and shit
While Syd is tellin me that shes been getting intimate with men
Heres the number to my therapist
You tell him all your problems, hes fuckin awesome with listenin
Uh, Wolf Haley, uh, Golf Wang
Uh, Wolf Haley, Golf fuckin Wang
Jesus called, he said hes sick of the disses
I told him to quit bitchin, this isnt a fuckin hotline
For a fuckin shrink, sheesh, I already got mine
And hes not fuckin workin, I think Im wastin my damn time
Im clockin three past six and goin postal
This the revenge of the dicks, thats nine cocks that cock 9s
This aint no V. Tech shit, or Columbine
But after bowling, I went home for some damn Adventure Time
 I slipped myself some pink Xannies
And danced around the house in all-over print panties
My moms gone, that fuckin broad will never understand me
Im not gay, I just wanna boogie to some Marvin
Fuck her, Wolf Haley robbin them
Ill crash that fuckin airplane that that faggot nigga B.o.B is in
And stab Bruno Mars in his goddamn esophagus
And wont stop until the cops come in
Im an overachiever, so how about I start a team of leaders
And pick up Stevie Wonder to be the wide receiver?
Green paper, gold teeth, and pregnant golden retrievers
All I want, fuck money, diamonds, and bitches, dont need em
But where the fat ones at? I got somethin to feed em
Its some cooking books, the black kids never wanted to read em
Snap back, green ch-ch-chia fuckin leaves
Its been a couple months
And Tina still aint perm her fuckin weave
Damn
Uh, Wolf Haley, uh, Golf Wang
Uh, Wolf Haley, Golf Wang, yeah
Goddamn goblin
Wolf Haley, uh, Golf Wang
Uh, Wolf Haley, Golf Wang, yeah
They say success is the best revenge
So I beat DeShay up with the stack of magazines Im in
Oh, not again, another critic writing report
Im stabbin any bloggin faggot hipster with a pitchfork
Still suicidal, I am
Im Wolf, Tyler put this fuckin knife in my hand
Im Wolf, Ace gon put that fuckin hole in my head
And Im Wolf, that was me who shoved a cock in your bitch
 Fuck the fame and all the hype, G
I just wanna know if my father would ever like me
But I dont give a fuck, so hes probably just like me
A motherfuckin goblin
 Thats what my conscience said
Then it bunny-hopped off my shoulder, now my conscience dead
Now the only guidance that I had is splattered on cement
Actions speak louder than words, let me try this shit
Dead


Yo, shout out to everybody that worked on the album, you feel me, son?
Yo, shouts out to Ty Dollas
Shouts out to Hodgy Daddies, shouts out to Left Brizzle
Shouts out to Domyen, shouts out to Frankie Ocean
Shouts out to Syd the Dude
Shouts out to L-Boy, awwwwk
I told you
The big-eared bandit is tossin all his manners
In a bag and wrappin them in Saran wrap bandages
Tossin em in baskets with the rest of those sandwiches
So when he says, Catch up, nigga, it looks like an accident
Um, flowing like my pad is the maxiest
My bitch white and black like shes been mimicking a panda
Its the dark-skinned nigga, kissing bitches in Canada
Then kicking all out like Mr. Lawrence did Pamela
Put her in the chamber all against her Wilt Chamberlain
I never had a reason, nigga, I was just Ableton
Not a fucking Logic-contradicting dickhead
Flyer than an ostrich moshing in a tar pit
Semen-scented cheetah printed tee
In that Preme five-panel, Ill repeat it for the season
Previous items in the present
With the normal-ass past like I cheated on my team
Its me
To have some type of knowledge that is one perception
But knowin you own your opponent is a defeatin bonus
Im Zeus to a Kronos, cartilage cartridge is boneless
Smiles of cowards in lead showers, dead spouses in red blouses
Children who fled houses on Mustang horses and went joustin
Im on my Robin Hood shit, robbing in the hood
Whips, drugs, jewels and your pet, Im stealin your rims
Coke diamonds and your Vette, soldiers lace the fuckin boot
And salute like the troop, when they shoot, you gon brrrooop
Its KILLHodgy, nigga, stay the fuck off my stoop
And out my Kool-Aid, Juice
Whats up, bitch?
Hodgy got the juice, I got the gin
Jasper got the Henny, my nigga, we get it in
Wolf Gang party at the hotel
I call a ho, you call a ho, and all the hoes tell
You know Left Brain need a freak
I need a bitch to go down like a Nitty beat
Yup, uh, and her ass fat
Dont be surprised if I ask where the hash at
Nigga, Im tryna smoke, bitch, get higher
Domo, where that Flocka Flame? Talking bout a lighter
Still bang salute me or just shoot me
Cause if you dont salute me then my team will do the shooting
Yeah, my nigga Ace will pull the black jack
The king Mike G is in the cut with the black mac
We like the mafia, bitch, dont get to slacking up
And if these haters acting up, throw em in the aqueduct
Free my nigga Earl, yo, I dont really ask for much
But two bad bitches in front of me cunnilingus
What the fuck is caution?
Often I leave em flossing in KAWS, exes next to coffins
Lost in translation, the dreams you chase
Got you diving for the plates like you stealing home base
Thats great, Im home alone dreaming of two on ones
With Rihanna and Christina Milian, bring it on
And Travis is in the closet organizing and hanging the tramp
Three lettermans that Ace has been making him
No strays while we catching matinees, huh?
Im getting blazed thinking bout those days
I had the top off the GT3 like toupees
One finger in the air, alls fair when crime pays
My grand scheme of things is to be attached
To the game like bitches to their wedding rings
And you dont even need to look cause we gleam obscene
In the light, ride slow to my yellow diamond shining
Like the Batman logo over Gotham, rock LA to Harlem
If you say, Get em, Mike G, then I got em
One man squadron, nigga, Im a problem
From Briggs, I got bars and plans to
Pimp these Polish bitches into pop stars
Humanity kills, we all suffer from insanity still
And if I said it then it is or its gonna be real
OF til I OD and I probably will, uh
Its still Mr. Smoke-a-Lotta-Pot, get your baby mommy popped
With my other snobby bop, do I love her? Probably not
Know your shit is not as hot as anything I fuckin drop
Bitch, Im in the zone, stand alone, like Macaulay Culk
Ive been runnin blocks since a snotty tot
Big wheel was a big deal with the water Glocks
Now Im all grown, same song, just a different waltz
Fire what I talk, but still cooler than an Otter Pop
Op, Dom next shit in your wish list
Mad sick shit, mad dick for your bitches
On some slick shit, your mistress on my hit list
And Im lifted til Im stiff outta this bitch
Odd in your motherfuckin area
Blood clots give me five feet fore I bury ya
Suicide flow, let the big wave carry ya
Tyler got the mask like he held Jim Carrey up
And fuck your team, ho, nigga, wassup?
Wolf Gang so you know we not givin no fucks
You know me dog, Im a chill in the cut
So I can cut it short, break it down, couple pounds, roll it up
Get me a Persian rug where the center looks like Galaga
Right, right
Rent a supercar for a day
Drive around with your friends, smoke a gram of that haze
Bro, easy on the ounce, thats a lot for a day
But just enough for a week, my nigga, what can I say?
Im high and Im bi, wait, I mean Im straight
Ima get you this wine, the runner just brought the grapes
My brother give it some time, Morris, and Day
Course you know the vibes just as fly as the rhymes
On the song, cut and you could sample the feel
Headphone bleed, make this shit sound real
Used to work the grill, fat burger and fries
Then I made a mil and them psychics was liars
Now, how many fucking crystal balls can I buy and own?
Humble old me had to flex for the folks
Down in Muscle Beach pumping iron and bone
Bumping oldies off my cellular phone
Yeah, bumping oldies off my cellular phone
Bumping oldies off my cellular phone
Goddammit!
Rapping is stupid and its hard
Gotta do it over and over and over again but here it go
Hey, its Jasper, not even a rapper
Only on this beat to make my racks grow faster
Got a TV show, so I guess Im an actor
Pothead, half-baked, lookin like Chappelle
Rollin up a blunt with that fire from hell
Still ignorant, still hit a bitch
Wolf Gang, nigga, so I still dont give a shit
Catch me in the back with Mileys on my lap
Bong rips as I feel on that little bitch cat
Hah, nigga came through with a 9-bar real quick
Just for the bitches, little bit of money in my pocket
Fuck it, Wolf Gang
Yeah, fuck that
Look, for contrast, heres a pair of lips
Swallowin sarapin, settin fire to sheriffs whips
 Fuckin All-American terrorist
Crushin rapper larynx to feed em a fuckin carrot stick
And me? I just spent a year Ferrisin
And lost a little sanity to show you what hysterics is
Spit til the lips meet the bottom of a barrel, so that sterile piss
Flow remind these niggas where embarrassed is
Narrow, tight line, might impair him since
I made it back to Fahrenheit, grimey get dinero type
Feral, fuckin ill-apparel-wearin pack of parasites
Threw his own youth off the roof after paradise
La di da di, back in here to fuck the party up
Raidin fridges, tippin over vases with a tommy gun
Never dollars, poppa make it rain hockey pucks
And sixty-day chips from fuckin awesome anonymous
Call him bloated til he show em that the flow deluxe
Off the wall loafers, Four Loko in a cobra clutch
Vocals bold and rough, evoke a ho to pose as drum
And let me hit and beat it with a stick until the hole is numb
The culprit of the potent punch
Scoldin hot as dunkin scrotum in a Folgers cup
Or Nevada, drivin drunk inside a stolen truck
And shittin like his colon bust
Belly full of chicken and a fifth of old petroleum
Supernova, Im rollin over the novices
And roamin through the forest and spittin cold as his porridge is
Stay gold til the case closed and the story end
Post mortem porkin this rap shit and record it
To escort it to the morgue again, lord of lips
Bored of this, forklift the tippy top, best under 40 list
Stormin the gate, ensurin the bass
Scorchin, leave these motherfuckers sore in torso and face
Get at me, we savages, half a pack of Apache
Indian pack of niggas who dont give a fuck if we nasty as flatulence
As a matter of fact, your swagger is tacky
So see me, you cant, like Crunchy Black catchin a taxi
Uh, back like lateral passin
With that motherfuckin gladiator manner of rappin
As an addict, I let Percocet and Xannies relax me
Fall back if your paddies is Maxi, please
OF, shit, thats all I got
From my bigger brother Frankie to my little brother Tac
From that father figure Clancy to that skatey nigga Nak
Shreddin down Fax, Wolf Gang run the fuckin block
Storefront, knee tat
Book cover is the same lettering on lettermans and cotton socks
And grip tape... and my shoes
Um, I was fifteen when I first drew that donut
Five years later, for our label, yeah, we own it
I started an empire, I aint even old enough
To drink a fucking beer, Im tipsy off this soda pop
This is for the niggers in the suburbs
And the white kids with nigga friends that say the n-word
And the ones who got called weird, fag, bitch, nerd
Cause you was into jazz, kitty cats and Steven Spielberg
They say we aint actin right
Always try to turn our fuckin color into black and white
But theyll never change em, never understand em
Radicals my anthem, turn my fuckin amps up
So instead of critiquing and bitchin, bein mad as fuck
Just admit, not only are we talented, were rad as fuck, bitches
OFM, banging on your FM
Gnaw, 2011, yeah
Golf Wang


I never wouldve thought that
Feelings could get thrown in the air
Cause I accidentally caught that
I need some new boxing gloves
Shit got hectic whenever I fought back
For example, ten minutes cant go past without you brushing my thoughts
Thats fourteen forty a day so Ill say a hundred and forty-four times
I think about you or something like that
Lost match, the fucking thought of you with somebody else
I dont like that; cellular convos getting left in the wrong
Cause I get so fucking mad when you dont write back
This isnt a song, I just happen to rhyme when I get emo
And find time to write facts, fuck
I love you
Can we add some more color, um, like, some more, yellow?
Yeah, thats good
I fucking hate you, but I love you
Im bad at keeping my emotions bubbled
Youre good at being perfect
Were good at being troubled, yeah
I fucking hate you, but I love you
Im bad at keeping my emotions bubbled
Youre good at being perfect
Were good at being troubled, yeah
Girl, you fucking with my emotions
The fuck is all this noise about?
I even considered picking up smoking
You turned to a bitch, who let the dogs out?
But in my dog house
My bitch is the raddest
Crazy who makes me the happiest can make me the saddest
Look Alice, lets get lost in your wonder-er-land, fuck an atlas
Youre perfectly perfect for me
What the fuck is this, practice?
Actually, if you even consider leaving
Ill lose a couple screws in due time, Ill stop breathin
And youll see the meaning of stalkin
When I pop out the dark to find you
And that new dude that youre seein with an attitude
Then proceed to fuck up your evenin
Make sure you never meet again like goddamn vegans
Cause when I hear your name, I cannot stop cheesin
I love you so much that my heart stops beatin when youre leavin
And Im grievin and my heart starts bleedin
Life without you has no goddamn meanin
Sorry, Im passive-aggressive for no goddamn reason
Its that my mood change like these goddamn seasons
I fall for you, but I love you
Im bad at keeping my emotions bubbled
Youre good at being perfect
Were good at being troubled
Yeah
The skys falling girl, lets try to catch it
The skys falling girl, lets try to catch it
The skys falling girl, lets try to catch it tonight
The skys falling girl, lets try to catch it
The skys falling girl, lets try to catch it
The skys falling bitch, lets try to catch it tonight
Cmon baby, even though I hate you, I still love you
I love you
And Salem, my love
Im passive aggressive
I like when we hold hands
See I get jealous
And if I see that nigga
I just might kill him, haha
Love, love, love
Im in love
I fucking hate you, but I love you
Im bad at keeping my emotions bubbled
Youre good at being perfect
Were good at being troubled, yeah
I fucking hate you, but I love you
Im bad at keeping my emotions bubbled
Youre good at being perfect
Were good at being troubled, yeah
Yo, why is Samuel such a fucking dick?
He isnt such a badass actually. Hes only here because he ran away, because some shit happened back home. Hes actually a dweeb
Yo, what happened?


Golden rubbers in these denim pockets
On my waist, theres a black Glock
New girl moved on the block
She been plottin on my brown cock
Last night I slept over hers
During sex, I overheard
A sword sliced the air, I pulled out the na-na
Rolled off the bed, then shot back, pow-pow
Blood on the sheets, probably spillin from my gash
Looked out the glass, seen him sprintin on the grass
A real ninja, with the blade and the mask
Had them gold ninja stars, and red Supreme nunchuks
Now she tryna patch me up, but
Girl, I was just tryna get a nut bust
If thats your ex, you should probably own a pistol
But Im guessin its wiser to exit with dude
The blinds wide open so he can
See you in the dark when youre sleepin
Naked body, fresh out the shower
And you touch yourself after hours
Aint no man allowed in your bedroom
Youre sleeping alone in bed
But check your window
Hes at your window
Night light hits off, turnin kisses to bites
Im a down to Earth nigga with intentions thats right
Youll be down in Earth quicker if you diss me tonight
But Ill be the happiest if you decide to kick it tonight
We can chill and I can act like I dont wanna fuck
You can tell me all your problems like I really give one
But I give two for us cause youre the one that I want
Dont wanna seem like a punk pussy that simps over punk pussy
See when Im with my friends I just put on a front
But in the back of my top, Im writing songs about we
We, as including I, and yourself, making three
Little ones, the drums are hitting pretty hard if you ask me
Youre a pretty broad in the top three
Of things that Ive been waiting to come, so
Meet me by the lake around 10 and skinny dippin and then
We can begin the pretend game, I wanna be Finn from Adventure Time
The blinds wide open so he can
See you in the dark when youre sleepin
Naked body, fresh out the shower
And you touch yourself after hours
Aint no man allowed in your bedroom
Youre sleeping alone in bed
But check your window
Hes at your window
One, two; youre the girl that I want
Three, four, five, six, seven; shit
Eight is the bullets if you say no after all this
And I just couldnt take it, youre so motherfuckin gorgeous
Gorgeous, baby youre gorgeous
I just wanna drag your lifeless body to the forest
And fornicate with it
But thats because Im in love with you, cunt
I just wanna talk, and conversate
Cause I usually just stalk you and masturbate
And I finally got the courage to ask you on a date
So just say yes, let the future fall into place
I just wanna talk and conversate
Cause I usually just stalk you and masturbate
And I finally got the courage to ask you on a date
So just say yes, let the future fall into place, cunt
The blinds wide open so he can
See you in the dark when youre sleepin
Naked body, fresh out the shower
And you touch yourself after hours
Aint no man allowed in your bedroom
Youre sleeping alone in bed
But check your window
Hes at your window
The blinds wide open so he can
See you in the dark when youre sleepin
Naked body, fresh out the shower
You touch yourself after hours
Aint no man allowed in your bedroom
Youre sleeping alone in bed
Hes at your window
One, two; youre the girl that I want
Three, four, five, six, seven; shit
Eight is the bullets if you say no after all this
And I just couldnt take it, youre so motherfuckin gorgeous
Gorgeous, gorgeous, gorgeous, gorgeous


Thats a pretty big trunk on my Lincoln Town Car, aint it?
Big enough to take these broken hearts and put em in it
Now Im drivin round on the boulevard, trunk bleedin
And every time the cops pull me over, they dont ever see them
They never see them
And Ive got this black suit on
Roamin around like Im ready for a funeral
Five more miles til the road runs out
Im about to drive in the ocean
Ima try to swim from somethin bigger than me
Kick off my shoes
And swim good, and swim good
Take off this suit
And swim good, and swim good, good
Got some pretty good beats on this 808s CD, yeah
Memory seats Im sittin on stay heated
I woulda put tints on my windows, but whats the difference?
If I feel like a Ghost, no Swayze
Ever since I lost my baby
Ive had this black suit on
Roamin around like Im ready for a funeral
One more mile til the road runs out, out
Im about to drive in the ocean
Ima try to swim from somethin bigger than me
Kick off my shoes
And swim good, and swim good
Take off this suit
And swim good, and swim good, good
Im goin off
Dont try stopping me
Im goin off
Dont try saving
No flares
No vest
And no fear
Waves are washin me out
Im about to drive in the ocean
Ima try to swim from somethin bigger than me
Kick off my shoes
And swim good, and swim good
Take off this suit
And swim good, and swim good, good
Dont die


I bought this for my 13 year old niece, who has an iphone for Christmas. Although you didn't have to put it together, the directions weren't very detailed on how to use it exactly. The next day we figured it out.... There's an ON/OFF switch on the bottom of the pole, boy did we feel stupid, lol.  Needless to say SHE LOVES IT.


it was ok not what i expected but the first time it dropped.it broke and i only use it for a.couple of days


Perfect Fit! best of all the cases i have seen. Easy access with the charging, headphones and durable. Finally a case worth while.


Received the goods too good product is also very good condition. I think I called Fantastic and good products.


This was the same product as pictured. It's exactly what I need for working out. The only negative is that it took about 4-5 weeks to receive. It came from Hong Kong. Overall, worth the wait.


The item was okay because it wasn't the right size for my daughter's phone.  We waited over a week for the cover to be received and then it was the wrong size, so we were disppointed.  We had to go somewhere local to purchase a case for a much higher price because I didn't want her phone to remain unprotected while I tried to order another case in the correct size.


I just received a new Sidekick ID in the mail today.  Here are my initial thoughts on this phone after messing with it all day long.    The phone comes with a number of useful things such as a carrying case (made of black denim and very sturdy), wrist strap, and a headset. Set-up of the phone is very simple. Battery fits in easily and back cover is almost fool-proof to put on and take off. There are a lot of unfamiliar buttons on this phone so it took me awhile to find the power button, which is on the bottom right. The phone is a bit smaller then the Sidekick 3, feels awkward in one hand but fits perfectly in two. Phone is surrounded in a rubber material which provides easy grip and greats a better texture to pressing some of the main buttons.     After turn on, it takes you through a tutorial of the phone's features and how to do certain things. It then asks you to create a profile (name, nicname to create an email address, and some other minor information). Once you are done doing this, the phone is ready to use.     The screen flips open easily by the push of your thumb and snaps in place by a magnet. The screen itself isn't the greatest....it looks a little dull and text/images do not jump out at you. Quality is a little poor....and you will want to adjust the brightness to better see things.     Navigation is done a couple ways, with a square key on the left or the pearl trackball on the right. The trackball takes some getting used to and can navigate in all directions....once you get used to it you will realize that it's much easier to use then the standard four-way square button. The menu is simple. You have Downloads, IM, Email, Phone, Text Messaging, Contacts, Web Browser, Organizer, Photo Album, Games. You have to press one of the main keys to reach a menu that allows you to get to the settings.    Downloads allow you to browse through many things TMobile offers to download for the phone.  IM allows you to chat with any of these three instant messaging programs: AIM, MSN, and Yahoo. Each are very easy to figure out and use.  Email provides you immediate access to the email account you create with the Sidekick during initial set-up (nicname@tmail.com).  Phone puts it into the mode where you can use the keyboard to dial numbers and call out.  Text Messaging takes you to your message inbox (which only shows inbox, sent, outbox, saved, trash. You have to access a seperate menu just to create a new message, which I find annoying).  Organizer has a calendar for events, a notepad, and tasks feature.  Photo album allows you to save photos you receive. There is no camera on the phone so obviously, you can't save photos taken via the phone.  Games includes one game called Pumpjack.    The web browser cam be useful for simple sites, but download time is slow on the T-mobile Edge network, so expect long loading times. Plus, you will have to scroll quite a bit to view an entire page's content. The hassle of viewing pages in the browser makes it aggravating to use. I stopped using it after my second try.     The QWERTY keyboard is perfect for people who love to text. As someone who texts a lot, I really enjoy how handy the QWERTY keyboard is. Once you get the hang of it, you type words much more quickly on a QWERTY. The keys are a bit tiny, but spaced out enough to not have any problems. They work great for my small fingers but I am female with small hands so not sure how someone with bigger hands will fare with it. Keyboard has a dedicated numbers row at the top, and the keys used to dial numbers are shaded a different color.    Call quality is OKAY. The speaker of the phone it large, but during the calls I made, I found it hard to hear the other person half the time even with the volume all the way up. The speakerphone quality is poor. The other person could always hear me loud and clear, though. Due to the shape and size of the phone, it is very weird using it to call people. Doesn't feel right holding it up to your ear.     Pros to this phone:  Layout of the keys and keyboard  The pearl trackball making it easier to navigate  The rubber material around the phone for easy grip  QWERTY keyboard, perfect for texting, email and IM  Design of the phone is cool and trendy  Can customize the appearance of the phone many different ways  Very simple and easy to use    Cons of the phone:  NO camera, media player or Bluetooth.  Sound quality of calls, and speaker phone  Quality of screen  Some of the methods you have to take to achieve simple things on the phone  No slot for extended memory    Overall, I highly enjoyed using this phone for texting, email and IM but didn't care for making/receiving calls or any other feature on the phone. It's very limited on features, and really is only a cheap and suitable phone for younger kids who love to type messages and make few calls. You have to have the Sidekick Data Plan through T-Mobile to use the messaging, email and browsing features of the phone (which is about 25 bucks a month) and you can either pay per call or add a calling plan to the phone.....but you do not need a calling plan to use most of the phone's features.


Paypal customer service is appalling, arduous & time consuming.


This charger is much better than the "universal" charger Verizon tries to sell you when the original charger dies, and was much less expensive.


I didn't really like this item. It looked totally different than it did in the picture. In the picture it looked more black. Wouldnt recommend this item.


What player squats an average of 3 times during a baseball doubleheader ?


What is the definition of a witch ?


How can you prevent it ?


Why do many Native American students not complete college ?


What is hypertext ?


What country boasts Ismail 's Palace and the Palace of King Farouk ?


What 's the colored part of the eye called ?


What do the letters D.C. stand for in Washington , D.C. ?


How many times has `` Louie , Louie '' been recorded ?


Name the various costumed personas of Dr. Henry Pym .


Human: iPad Mini (1st generation) -- On June 13, 2016, Apple announced the iOS 10 update - with some major updates to the mobile operating system. However, the iPad Mini did not receive this update (along with other devices using the A5 processor including the iPhone 4S, iPad 2, iPad (3rd generation), and iPod Touch (5th generation)) due to hardware limitations. can ipad mini 1st generation get ios 10? I think the answer is No
AI: The answer is No
Human: We can't afford to send our children to college. Can you afford this car? Does the word "afford" have the same meaning in each sentence? I think the answer is Yes
AI: The answer is Yes
Human: The Child in Time -- Stephen experiences a strange event that he cannot explain: he sees his parents as a young couple in a pub, before they married. The book also deals with his grief and eventually his painful acceptance of the loss of his child. do they find kate in a child in time? I think the answer is No
AI: The answer is No
Human: Everyone in the class turned to stare at the student. There are two possible causes. 1: The student's phone rang. 2: The student took notes. Is the first cause more plausible? I think the answer is Yes
AI: The answer is Yes
Human: The new car is a delight. His delight to see her was obvious to all. Does the word "delight" have the same meaning in each sentence? I think the answer is No
AI: The answer is No
Human: Collapse the music stand. The school system is collapsing. Does the word "collapse" have the same meaning in each sentence? I think the answer is No
AI: The answer is


Human: Asprin, an inexpensive drug helps protect survivors of heart attack and stroke from subsequent heart attacks and death, and even helps reduce the number of deaths that occur within the first hours following a heart attack. Now consider the following statement. People experienced adverse effects while taking aspirin. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is No
Human: Energy subsidies -- According to a 2015 estimate by the Obama administration, the US oil industry benefited from subsidies of about $4.6 billion per year. A 2017 study by researchers at Stockholm Environment Institute published in the journal Nature Energy estimated that nearly half of U.S. oil production would be unprofitable without subsidies. does the government give subsidies to oil companies? I think the answer is No
AI: The answer is Yes
Human: Buy Buy Baby -- The chain was founded in 1996 by brothers Richard and Jeffrey Feinstein. It consisted of eight stores when it was acquired by Bed Bath & Beyond in 2007. Its primary competitor was Babies ``R'' Us. is bye bye baby owned by bed bath and beyond? I think the answer is Yes
AI: The answer is Yes
Human: Hepburn's platinum, diamond and sapphire brooch had been estimated to fetch just $20,000, but sold for $120,000, six times its estimated price. Now consider the following statement. Hepburn's diamond and sapphire brooch fetched $120,000. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is Yes
Human: To cushion a blow. Cushion the blow. Does the word "cushion" have the same meaning in each sentence? I think the answer is Yes
AI: The answer is Yes
Human: Compuware claims that Allan Tortorice and Jim Hildner were among several former employees who revealed trade secrets after they moved to IBM. Now consider the following statement. Trade secrets were stolen. Can it be inferred from the preceding text? I think the answer is No
AI: The answer is


Human: Gram-positive bacteria -- Gram-positive bacteria take up the crystal violet stain used in the test, and then appear to be purple-coloured when seen through a microscope. This is because the thick peptidoglycan layer in the bacterial cell wall retains the stain after it is washed away from the rest of the sample, in the decolorization stage of the test. does gram positive have a thick cell wall? I think the answer is Yes
AI: The answer is Yes
Human: Energy subsidies -- According to a 2015 estimate by the Obama administration, the US oil industry benefited from subsidies of about $4.6 billion per year. A 2017 study by researchers at Stockholm Environment Institute published in the journal Nature Energy estimated that nearly half of U.S. oil production would be unprofitable without subsidies. does the government give subsidies to oil companies? I think the answer is No
AI: The answer is Yes
Human: Monica Meadows, a 22-year-old model from Atlanta, was shot in the shoulder on a subway car in New York City. Now consider the following statement. Monica Meadows, 23, was shot in shoulder while riding a subway car in New York City Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is No
Human: Sam's Club -- There were also Sam's Club locations in Canada, six located in Ontario, in which the last location closed in 2009. are there any sam's clubs in canada? I think the answer is No
AI: The answer is No
Human: Don't fuss too much over the grandchildren -- they are quite big now. She fusses over her husband. Does the word "fuss" have the same meaning in each sentence? I think the answer is No
AI: The answer is No
Human: Letterman (sports) -- While it is commonly done, removing one's letter from the letter jacket upon graduation is not firmly held as protocol. Many graduates keep the letter on the jacket after graduation as a symbol of accomplishment and school pride and commitment, especially with college lettermen. can you wear your letterman after high school? I think the answer is Yes
AI: The answer is


Human: Dragon (Middle-earth) -- In Tolkien's works, dragons are quadrupedal, like Komodo dragons or other lizards, and are either flightless (Glaurung) or are winged and capable of flight (Ancalagon and Smaug). Winged dragons are stated to have first appeared during the War of Wrath, the battle that ended the First Age. is smaug the only dragon in middle earth? I think the answer is No
AI: The answer is No
Human: The student forgot to do her assignment. There are two possible effects. 1: She made up an excuse to tell the teacher. 2: The teacher promoted her to the next grade. Is the first effect more plausible? I think the answer is Yes
AI: The answer is Yes
Human: Dine Brands Global -- Dine Brands Global Inc, formerly DineEquity Inc., and before that IHOP Corporation, is an American company that franchises and operates IHOP and Applebee's restaurants. The company is headquartered in Glendale, California. are applebee's and ihop owned by the same company? I think the answer is No
AI: The answer is Yes
Human: The level of activity declines with age. His sphere of activity. Does the word "activity" have the same meaning in each sentence? I think the answer is No
AI: The answer is No
Human: Point a gun. It's rude to point at other people. Does the word "point" have the same meaning in each sentence? I think the answer is No
AI: The answer is No
Human: The man turned on the faucet. There are two possible effects. 1: The toilet filled with water. 2: Water flowed from the spout. Is the first effect more plausible? I think the answer is No
AI: The answer is


Human: State your name. State your opinion. Does the word "state" have the same meaning in each sentence? I think the answer is No
AI: The answer is Yes
Human: Statue of Liberty -- The statue was administered by the United States Lighthouse Board until 1901 and then by the Department of War; since 1933 it has been maintained by the National Park Service. Public access to the balcony around the torch has been barred for safety since 1916. does the us own the statue of liberty? I think the answer is Yes
AI: The answer is Yes
Human: Oqueli was to fly to Nicaragua to join an international Socialist delegation, which will observe the Nicaraguan electoral campaign. Now consider the following statement. An electoral campaign is being held in Nicaragua. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is Yes
Human: A straggle of followers. A straggle of outbuildings. Does the word "straggle" have the same meaning in each sentence? I think the answer is No
AI: The answer is Yes
Human: Lead(II) nitrate -- Lead(II) nitrate is an inorganic compound with the chemical formula Pb(NO). It commonly occurs as a colourless crystal or white powder and, unlike most other lead(II) salts, is soluble in water. is pb(no3)2 soluble in water? I think the answer is Yes
AI: The answer is Yes
Human: Salsa (sauce) -- Taco sauce is a condiment sold in American grocery stores and fast food Tex-Mex outlets. Taco sauce is similar to its Mexican counterpart in that it is smoothly blended, having the consistency of thin ketchup. It is made from tomato paste instead of whole tomatoes and lacks the seeds and chunks of vegetables found in picante sauce. is picante sauce the same as taco sauce? I think the answer is Yes
AI: The answer is


Human: At the same time the Italian digital rights group, Electronic Frontiers Italy, has asked the nation's government to investigate Sony over its use of anti-piracy software. Now consider the following statement. Italy's government investigates Sony. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is No
Human: Political violence broke out in the nation. There are two possible effects. 1: Many citizens relocated to the capitol. 2: Many citizens took refuge in other territories. Is the first effect more plausible? I think the answer is No
AI: The answer is No
Human: Cote d'Ivoire's President, Laurent Gbagbo, promulgated new election laws on July 14. Now consider the following statement. President Laurent Gbagbo lives in Cote d'Ivoire. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is Yes
Human: Rooster -- A rooster, also known as a gamecock, cockerel or cock, is an adult male gallinaceous bird, usually a male chicken (Gallus gallus domesticus). is a chicken and rooster the same thing? I think the answer is Yes
AI: The answer is Yes
Human: Known as "heap leach" mining, the method has become popular in the last decade because it enables microscopic bits of gold to be economically extracted from low-grade ore. Now consider the following statement. The mining industry uses a method known as heap leaching. Can it be inferred from the preceding text? I think the answer is Yes
AI: The answer is Yes
Human: The news caused a sensation. A sensation of touch. Does the word "sensation" have the same meaning in each sentence? I think the answer is No
AI: The answer is


Human: Sweeney Todd: The Demon Barber of Fleet Street -- Sweeney Todd: The Demon Barber of Fleet Street is a 1979 musical thriller with music and lyrics by Stephen Sondheim and book by Hugh Wheeler. The musical is based on the 1973 play Sweeney Todd, the Demon Barber of Fleet Street by Christopher Bond. is the barber of seville the same as sweeney todd? I think the answer is Yes
AI: The answer is No
Human: Leave your child the nurse's care. He left the decision to his deputy. Does the word "leave" have the same meaning in each sentence? I think the answer is Yes
AI: The answer is Yes
Human: Port Louis -- The economy of the city is mostly dominated by its financial centre, port facilities, tourism and the manufacturing sector which include textiles, chemicals, plastics and pharmaceuticals. Port Louis is home to the biggest port facility in the Indian Ocean region and one of Africa's major financial centers. is port louis mauritius in the atlantic or pacific ocean? I think the answer is No
AI: The answer is No
Human: A political gesture. A gesture of defiance. Does the word "gesture" have the same meaning in each sentence? I think the answer is Yes
AI: The answer is Yes
Human: The nap was a welcome refresher. He stopped at the bar for a quick refresher. Does the word "refresher" have the same meaning in each sentence? I think the answer is Yes
AI: The answer is Yes
Human: List of films with a 0% rating on Rotten Tomatoes -- On the film review aggregation website Rotten Tomatoes, films that all surveyed critics consider bad have a 0% rating. Some of these are often considered some of the worst films ever made. is there a movie with 0 on rotten tomatoes? I think the answer is Yes
AI: The answer is


"""
Test the session-flushing middleware
"""
import unittest

from django.conf import settings
from django.test import Client

@unittest.skipUnless(settings.ROOT_URLCONF == 'lms.urls', 'Test only valid in lms')
class TestSessionFlushMiddleware(unittest.TestCase):
    """
    Ensure that if the pipeline is exited when it's been quarantined,
    the entire session is flushed.
    """
    def test_session_flush(self):
        """
        Test that a quarantined session is flushed when navigating elsewhere
        """
        client = Client()
        session = client.session
        session['fancy_variable'] = 13025
        session['partial_pipeline'] = 'pipeline_running'
        session['third_party_auth_quarantined_modules'] = ('fake_quarantined_module',)
        session.save()
        client.get('/')
        self.assertEqual(client.session.get('fancy_variable', None), None)

    def test_session_no_running_pipeline(self):
        """
        Test that a quarantined session without a running pipeline is not flushed
        """
        client = Client()
        session = client.session
        session['fancy_variable'] = 13025
        session['third_party_auth_quarantined_modules'] = ('fake_quarantined_module',)
        session.save()
        client.get('/')
        self.assertEqual(client.session.get('fancy_variable', None), 13025)

    def test_session_no_quarantine(self):
        """
        Test that a session with a running pipeline but no quarantine is not flushed
        """
        client = Client()
        session = client.session
        session['fancy_variable'] = 13025
        session['partial_pipeline'] = 'pipeline_running'
        session.save()
        client.get('/')
        self.assertEqual(client.session.get('fancy_variable', None), 13025)


#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.
#

"""Add ip_allocation to port """

from alembic import op
import sqlalchemy as sa

from neutron.db import migration

# revision identifiers, used by Alembic.
revision = '5cd92597d11d'
down_revision = '6b461a21bcfc'

# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.NEWTON]

def upgrade():
    op.add_column('ports',
                  sa.Column('ip_allocation',
                            sa.String(length=16),
                            nullable=True))


# Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved

# Django
from django.core.management.base import BaseCommand
from django.core.management.base import CommandError
from django.contrib.auth.models import User

class UpdatePassword(object):
    def update_password(self, username, password):
        changed = False
        u = User.objects.get(username=username)
        if not u:
            raise RuntimeError("User not found")
        check = u.check_password(password)
        if not check:
            u.set_password(password)
            u.save()
            changed = True
        return changed

class Command(BaseCommand):
    def add_arguments(self, parser):
        parser.add_argument('--username', dest='username', action='store', type=str, default=None,
                            help='username to change the password for')
        parser.add_argument('--password', dest='password', action='store', type=str, default=None,
                            help='new password for user')

    def handle(self, *args, **options):
        if not options['username']:
            raise CommandError('username required')
        if not options['password']:
            raise CommandError('password required')

        cp = UpdatePassword()
        res = cp.update_password(options['username'], options['password'])
        if res:
            return "Password updated"
        return "Password not updated"


import uuid

from django import forms
from django.utils.translation import ugettext as _
from django.utils.text import slugify
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Div, Field, HTML, Layout, Fieldset
from crispy_forms.bootstrap import PrependedText
from django.template import RequestContext

from .models import Event

class EventForm(forms.ModelForm):

    def __init__(self, user, *args, **kwargs):
        self.user = user
        super(EventForm, self).__init__(*args, **kwargs)

    @property
    def helper(self):
        helper = FormHelper()
        helper.render_unmentioned_fields = True
        helper.form_tag = False

        helper.layout = Layout(
            Fieldset(
                _(u'Event'),
                Div(Div(Field('summary', placeholder=_(u'Event summary')), css_class='col-sm-6'),
                    Div(Field('category', placeholder=_("Category")), css_class='col-sm-6'),
                    css_class='row'
                ),

                Div(Div(Field('tags', placeholder=_("keyword, keyword 1, key word 2")), css_class="col-sm-12"),
                    css_class="row"
                ),
                Div(Div(Field('description', help_text=_('tada')), css_class="col-sm-12"),
                    css_class="row"
                ),
            ),
            Fieldset(
                _(u'Contact'),
                Div(Div(Field('email', placeholder=_("Contact Email")), css_class="col-sm-6"),
                    Div(Field('web', placeholder=_("Web site URL")), css_class="col-sm-6"),
                    css_class="row"
                ),
            ),
            Fieldset(
                _(u'Date'),
                Div(Div(Field('dtstart', placeholder=_(u'From')), css_class='col-sm-6'),
                    Div(Field('dtend', placeholder=_(u'To')), css_class='col-sm-6'),
                    css_class='row'
                ),
                Div(Div(Field('allday'), css_class='col-sm-12'),
                    css_class='row'
                ),
            ),
            Fieldset(
                _(u'Location'),
                Div(Div(Field('country', placeholder=_("country")), HTML('''{% load i18n %}
<button id="geosearch-button" type="button" class="btn btn-default">
                {% trans 'Geolocate' %}</button> Try to geolocate from the given address.

'''), css_class="col-sm-6"),
                    Div(Field('address', placeholder=_(
'''Street

\n

 ZipCode City''')), css_class="col-sm-6"),
                    css_class="row"
                ),
                Div(Div(HTML('''

'''), css_class="col-sm-12"),
                    css_class="row"),
                Div(Div(Field('lat', placeholder=_("Location latitude")), css_class="col-sm-6"),
                    Div(Field('lon', placeholder=_("Location longitude")), css_class="col-sm-6"),
                    css_class="row"),
            ),
        )

        return helper

    class Meta:
        model = Event
        widgets = {
            'description': forms.Textarea(attrs={'cols': 10, 'rows': 6}),
            'address': forms.Textarea(attrs={'cols': 10, 'rows': 3}),
            'dtstart': forms.DateInput(attrs={'class': 'datepicker'}),
            'dtend': forms.DateInput(attrs={'class': 'datepicker'}),
            'lat':forms.HiddenInput(),
            'lon':forms.HiddenInput(),
       }
        #fields = "__all__"
        exclude =['slug', 'pub_status', 'status', 'sequence', 'creation_user']

    class Media:
        js = ["/static/thedirectory/js/map_mini.js"]

    def save(self, commit=True):
        u'''Add the slug value'''

        event = super(EventForm, self).save(commit=False)

        if not event.slug:
            event.slug = slugify(self.cleaned_data.get('summary'))
            try:
                Event.objects.get(slug=event.slug)
                event.slug = "%s-%s" % (event.slug, str(uuid.uuid4())[:5])
            except Event.DoesNotExist:
                pass
        if commit:
            event.creation_user = self.user
            event.save()
            self.save_m2m()
        return event


"""Views handler for ask admin page rendering."""
from django.core.urlresolvers import reverse

import simplejson as json

from django.http import Http404, HttpResponse
from django.template.loader import render_to_string
from django.core.mail.message import EmailMultiAlternatives
from apps.managers.challenge_mgr import challenge_mgr

from apps.widgets.ask_admin.forms import FeedbackForm

def supply(request, page_name):
    """Supply view_objects for widget rendering, returns form."""
    _ = request
    _ = page_name
    form = FeedbackForm(auto_id="help_%s")
    form.url = reverse("help_index")
    return {
        "form": form,
        }

def send_feedback(request):
    """send feedback."""
    if request.method == "POST":
        form = FeedbackForm(request.POST)
        if form.is_valid():
            html_message = render_to_string("email/ask_admin.html", {
                "user": request.user,
                "url": form.cleaned_data["url"],
                "question": form.cleaned_data["question"],
                })
            message = render_to_string("email/ask_admin.txt", {
                "user": request.user,
                "url": form.cleaned_data["url"],
                "question": form.cleaned_data["question"],
                })

            challenge = challenge_mgr.get_challenge()
            # Using adapted version from Django source code
            subject = u'[%s] %s asked a question' % (
                challenge.name,
                request.user.get_profile().name)

            if challenge.email_enabled or True:
                mail = EmailMultiAlternatives(subject, message, challenge.contact_email,
                    [challenge.contact_email, ], headers={
                    "Reply-To": request.user.email})

                mail.attach_alternative(html_message, 'text/html')
                print html_message
                mail.send()

            #print "email sent %s" % html_message
            if request.is_ajax():
                return HttpResponse(json.dumps({"success": True}),
                                    mimetype="application/json")

    raise Http404


# This code was originally contributed by Jeffrey Harris.
import datetime
import struct

from six.moves import winreg
from six import text_type

try:
    import ctypes
    from ctypes import wintypes
except ValueError:
    # ValueError is raised on non-Windows systems for some horrible reason.
    raise ImportError("Running tzwin on non-Windows system")

from ._common import tzrangebase

__all__ = ["tzwin", "tzwinlocal", "tzres"]

ONEWEEK = datetime.timedelta(7)

TZKEYNAMENT = r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones"
TZKEYNAME9X = r"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones"
TZLOCALKEYNAME = r"SYSTEM\CurrentControlSet\Control\TimeZoneInformation"

def _settzkeyname():
    handle = winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE)
    try:
        winreg.OpenKey(handle, TZKEYNAMENT).Close()
        TZKEYNAME = TZKEYNAMENT
    except WindowsError:
        TZKEYNAME = TZKEYNAME9X
    handle.Close()
    return TZKEYNAME

TZKEYNAME = _settzkeyname()

class tzres(object):
    """
    Class for accessing `tzres.dll`, which contains timezone name related
    resources.

    .. versionadded:: 2.5.0
    """
    p_wchar = ctypes.POINTER(wintypes.WCHAR)        # Pointer to a wide char

    def __init__(self, tzres_loc='tzres.dll'):
        # Load the user32 DLL so we can load strings from tzres
        user32 = ctypes.WinDLL('user32')

        # Specify the LoadStringW function
        user32.LoadStringW.argtypes = (wintypes.HINSTANCE,
                                       wintypes.UINT,
                                       wintypes.LPWSTR,
                                       ctypes.c_int)

        self.LoadStringW = user32.LoadStringW
        self._tzres = ctypes.WinDLL(tzres_loc)
        self.tzres_loc = tzres_loc

    def load_name(self, offset):
        """
        Load a timezone name from a DLL offset (integer).

        >>> from dateutil.tzwin import tzres
        >>> tzr = tzres()
        >>> print(tzr.load_name(112))
        'Eastern Standard Time'

        :param offset:
            A positive integer value referring to a string from the tzres dll.

        ..note:
            Offsets found in the registry are generally of the form
            `@tzres.dll,-114`. The offset in this case if 114, not -114.

        """
        resource = self.p_wchar()
        lpBuffer = ctypes.cast(ctypes.byref(resource), wintypes.LPWSTR)
        nchar = self.LoadStringW(self._tzres._handle, offset, lpBuffer, 0)
        return resource[:nchar]

    def name_from_string(self, tzname_str):
        """
        Parse strings as returned from the Windows registry into the time zone
        name as defined in the registry.

        >>> from dateutil.tzwin import tzres
        >>> tzr = tzres()
        >>> print(tzr.name_from_string('@tzres.dll,-251'))
        'Dateline Daylight Time'
        >>> print(tzr.name_from_string('Eastern Standard Time'))
        'Eastern Standard Time'

        :param tzname_str:
            A timezone name string as returned from a Windows registry key.

        :return:
            Returns the localized timezone string from tzres.dll if the string
            is of the form `@tzres.dll,-offset`, else returns the input string.
        """
        if not tzname_str.startswith('@'):
            return tzname_str

        name_splt = tzname_str.split(',-')
        try:
            offset = int(name_splt[1])
        except:
            raise ValueError("Malformed timezone string.")

        return self.load_name(offset)

class tzwinbase(tzrangebase):
    """tzinfo class based on win32's timezones available in the registry."""
    def __init__(self):
        raise NotImplementedError('tzwinbase is an abstract base class')

    def __eq__(self, other):
        # Compare on all relevant dimensions, including name.
        if not isinstance(other, tzwinbase):
            return NotImplemented

        return  (self._std_offset == other._std_offset and
                 self._dst_offset == other._dst_offset and
                 self._stddayofweek == other._stddayofweek and
                 self._dstdayofweek == other._dstdayofweek and
                 self._stdweeknumber == other._stdweeknumber and
                 self._dstweeknumber == other._dstweeknumber and
                 self._stdhour == other._stdhour and
                 self._dsthour == other._dsthour and
                 self._stdminute == other._stdminute and
                 self._dstminute == other._dstminute and
                 self._std_abbr == other._std_abbr and
                 self._dst_abbr == other._dst_abbr)

    @staticmethod
    def list():
        """Return a list of all time zones known to the system."""
        with winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE) as handle:
            with winreg.OpenKey(handle, TZKEYNAME) as tzkey:
                result = [winreg.EnumKey(tzkey, i)
                          for i in range(winreg.QueryInfoKey(tzkey)[0])]
        return result

    def display(self):
        return self._display

    def transitions(self, year):
        """
        For a given year, get the DST on and off transition times, expressed
        always on the standard time side. For zones with no transitions, this
        function returns ``None``.

        :param year:
            The year whose transitions you would like to query.

        :return:
            Returns a :class:`tuple` of :class:`datetime.datetime` objects,
            ``(dston, dstoff)`` for zones with an annual DST transition, or
            ``None`` for fixed offset zones.
        """

        if not self.hasdst:
            return None

        dston = picknthweekday(year, self._dstmonth, self._dstdayofweek,
                               self._dsthour, self._dstminute,
                               self._dstweeknumber)

        dstoff = picknthweekday(year, self._stdmonth, self._stddayofweek,
                                self._stdhour, self._stdminute,
                                self._stdweeknumber)

        # Ambiguous dates default to the STD side
        dstoff -= self._dst_base_offset

        return dston, dstoff

    def _get_hasdst(self):
        return self._dstmonth != 0

    @property
    def _dst_base_offset(self):
        return self._dst_base_offset_

class tzwin(tzwinbase):

    def __init__(self, name):
        self._name = name

        with winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE) as handle:
            tzkeyname = text_type("{kn}\\{name}").format(kn=TZKEYNAME, name=name)
            with winreg.OpenKey(handle, tzkeyname) as tzkey:
                keydict = valuestodict(tzkey)

        self._std_abbr = keydict["Std"]
        self._dst_abbr = keydict["Dlt"]

        self._display = keydict["Display"]

        # See http://ww_winreg.jsiinc.com/SUBA/tip0300/rh0398.htm
        tup = struct.unpack("=3l16h", keydict["TZI"])
        stdoffset = -tup[0]-tup[1]          # Bias + StandardBias * -1
        dstoffset = stdoffset-tup[2]        # + DaylightBias * -1
        self._std_offset = datetime.timedelta(minutes=stdoffset)
        self._dst_offset = datetime.timedelta(minutes=dstoffset)

        # for the meaning see the win32 TIME_ZONE_INFORMATION structure docs
        # http://msdn.microsoft.com/en-us/library/windows/desktop/ms725481(v=vs.85).aspx
        (self._stdmonth,
         self._stddayofweek,   # Sunday = 0
         self._stdweeknumber,  # Last = 5
         self._stdhour,
         self._stdminute) = tup[4:9]

        (self._dstmonth,
         self._dstdayofweek,   # Sunday = 0
         self._dstweeknumber,  # Last = 5
         self._dsthour,
         self._dstminute) = tup[12:17]

        self._dst_base_offset_ = self._dst_offset - self._std_offset
        self.hasdst = self._get_hasdst()

    def __repr__(self):
        return "tzwin(%s)" % repr(self._name)

    def __reduce__(self):
        return (self.__class__, (self._name,))

class tzwinlocal(tzwinbase):
    def __init__(self):
        with winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE) as handle:
            with winreg.OpenKey(handle, TZLOCALKEYNAME) as tzlocalkey:
                keydict = valuestodict(tzlocalkey)

            self._std_abbr = keydict["StandardName"]
            self._dst_abbr = keydict["DaylightName"]

            try:
                tzkeyname = text_type('{kn}\\{sn}').format(kn=TZKEYNAME,
                                                          sn=self._std_abbr)
                with winreg.OpenKey(handle, tzkeyname) as tzkey:
                    _keydict = valuestodict(tzkey)
                    self._display = _keydict["Display"]
            except OSError:
                self._display = None

        stdoffset = -keydict["Bias"]-keydict["StandardBias"]
        dstoffset = stdoffset-keydict["DaylightBias"]

        self._std_offset = datetime.timedelta(minutes=stdoffset)
        self._dst_offset = datetime.timedelta(minutes=dstoffset)

        # For reasons unclear, in this particular key, the day of week has been
        # moved to the END of the SYSTEMTIME structure.
        tup = struct.unpack("=8h", keydict["StandardStart"])

        (self._stdmonth,
         self._stdweeknumber,  # Last = 5
         self._stdhour,
         self._stdminute) = tup[1:5]

        self._stddayofweek = tup[7]

        tup = struct.unpack("=8h", keydict["DaylightStart"])

        (self._dstmonth,
         self._dstweeknumber,  # Last = 5
         self._dsthour,
         self._dstminute) = tup[1:5]

        self._dstdayofweek = tup[7]

        self._dst_base_offset_ = self._dst_offset - self._std_offset
        self.hasdst = self._get_hasdst()

    def __repr__(self):
        return "tzwinlocal()"

    def __str__(self):
        # str will return the standard name, not the daylight name.
        return "tzwinlocal(%s)" % repr(self._std_abbr)

    def __reduce__(self):
        return (self.__class__, ())

def picknthweekday(year, month, dayofweek, hour, minute, whichweek):
    """ dayofweek == 0 means Sunday, whichweek 5 means last instance """
    first = datetime.datetime(year, month, 1, hour, minute)

    # This will work if dayofweek is ISO weekday (1-7) or Microsoft-style (0-6),
    # Because 7 % 7 = 0
    weekdayone = first.replace(day=((dayofweek - first.isoweekday()) % 7) + 1)
    wd = weekdayone + ((whichweek - 1) * ONEWEEK)
    if (wd.month != month):
        wd -= ONEWEEK

    return wd

def valuestodict(key):
    """Convert a registry key's values to a dictionary."""
    dout = {}
    size = winreg.QueryInfoKey(key)[1]
    tz_res = None

    for i in range(size):
        key_name, value, dtype = winreg.EnumValue(key, i)
        if dtype == winreg.REG_DWORD or dtype == winreg.REG_DWORD_LITTLE_ENDIAN:
            # If it's a DWORD (32-bit integer), it's stored as unsigned - convert
            # that to a proper signed integer
            if value & (1 << 31):
                value = value - (1 << 32)
        elif dtype == winreg.REG_SZ:
            # If it's a reference to the tzres DLL, load the actual string
            if value.startswith('@tzres'):
                tz_res = tz_res or tzres()
                value = tz_res.name_from_string(value)

            value = value.rstrip('\x00')    # Remove trailing nulls

        dout[key_name] = value

    return dout


#!/usr/bin/env python
#-*- coding: utf-8 -*-

"""
feed2db works to turn text-based feed list into database
"""
# @author chengdujin
# @contact chengdujin@gmail.com
# @created Jul. 30, 2013

import sys

reload(sys)
sys.setdefaultencoding('UTF-8')
sys.path.append('../..')

from config.settings import Collection
from config.settings import db

# CONSTANTS
from config.settings import FEED_REGISTRAR
#FILE_PREFIX = '/home/work/newsman/newsman/bin/text_based_feeds/feed_lists/'
#FILE_PREFIX = '/home/users/jinyuan/newsman/newsman/bin/text_based_feeds
# /feed_lists/'
#FILE_PREFIX = '/home/ubuntu/newsman/newsman/bin/text_based_feeds/feed_lists/'
#FILE_PREFIX = '/home/jinyuan/Downloads/newsman/newsman/bin/text_based_feeds
# /feed_lists/'

def _parse_task(line):
    """
    read *_feeds_list.txt
    """
    line = line.strip()
    if line:
        task = line.strip().split('*|*')
        # task[1] refers to categories
        if len(task) == 5:
            return task[0].strip(), task[1].strip(), task[2].strip(), task[
                3].strip(), task[4].strip(), None
        else:
            return task[0].strip(), task[1].strip(), task[2].strip(), task[
                3].strip(), task[4].strip(), task[5].strip()
    else:
        return None

def _convert(language='en', country=None):
    """
    turn text-based feed infor into database items
    Note. 1. categories: [(), ()]
    """
    # read in file content
    feeds_list = open('%s%s_%s_feeds_list' %
                      (FILE_PREFIX, language, country), 'r')
    lines = feeds_list.readlines()
    feeds_list.close()

    link_dict = title_dict = {}

    for line in lines:
        if line.strip():
            language, category, transcoder, link, title, labels = _parse_task(
                line)
            # link check
            if link not in link_dict:
                link_dict[link] = title
            else:
                print link, title
            # title check
            if title not in title_dict:
                title_dict[title] = link
            else:
                print title, link

if __name__ == "__main__":
    if len(sys.argv) > 1:
        _convert(sys.argv[1], sys.argv[2])
    else:
        print 'Please indicate a language and country'


#!/usr/bin/python
#CHIPSEC: Platform Security Assessment Framework
#Copyright (c) 2010-2015, Intel Corporation
#
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; Version 2.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#chipsec@intel.com
#

"""
The mem command provides direct access to read and write physical memory.
"""

import os
import time

import chipsec_util
import chipsec.defines
import chipsec.file

from chipsec.logger     import print_buffer
from chipsec.command    import BaseCommand

def read_mem(pa, size = chipsec.defines.BOUNDARY_4KB):
    try:
        buffer = chipsec_util._cs.mem.read_physical_mem( pa, size )
    except:
        buffer = None
    return buffer

def dump_region_to_path(path, pa_start, pa_end):
    pa = (pa_start + chipsec.defines.ALIGNED_4KB) & ~chipsec.defines.ALIGNED_4KB
    end = pa_end & ~chipsec.defines.ALIGNED_4KB
    head_len = pa - pa_start
    tail_len = pa_end - end
    f = None

    # read leading bytes to the next boundary
    if (head_len > 0):
        b = read_mem(pa_start, head_len)
        if b is not None:
            fname = os.path.join(path, "m%016X.bin" % pa_start)
            f = open(fname, 'wb')
            f.write(b)

    while pa < end:
        b = read_mem(pa)
        if b is not None:
            if f is None:
                fname = os.path.join(path, "m%016X.bin" % pa)
                f = open(fname, 'wb')
            f.write(b)
        else:
            if f is not None:
                f.close()
                f = None
        pa += chipsec.defines.BOUNDARY_4KB

    # read trailing bytes
    if (tail_len > 0):
        b = read_mem(end, tail_len)
        if b is not None:
            if f is None:
                fname = os.path.join(path, "m%016X.bin" % end)
                f = open(fname, 'wb')
            f.write(b)

    if f is not None:
        f.close()

# Physical Memory
class MemCommand(BaseCommand):
    """
    >>> chipsec_util mem <op> <physical_address> <length> [value|buffer_file]
    >>>
    >>> <physical_address> : 64-bit physical address
    >>> <op>               : read|readval|write|writeval|allocate|pagedump
    >>> <length>           : byte|word|dword or length of the buffer from <buffer_file>
    >>> <value>            : byte, word or dword value to be written to memory at <physical_address>
    >>> <buffer_file>      : file with the contents to be written to memory at <physical_address>

    Examples:

    >>> chipsec_util mem <op>     <physical_address> <length> [value|file]
    >>> chipsec_util mem readval  0xFED40000         dword
    >>> chipsec_util mem read     0x41E              0x20     buffer.bin
    >>> chipsec_util mem writeval 0xA0000            dword    0x9090CCCC
    >>> chipsec_util mem write    0x100000000        0x1000   buffer.bin
    >>> chipsec_util mem write    0x100000000        0x10     000102030405060708090A0B0C0D0E0F
    >>> chipsec_util mem allocate                    0x1000
    >>> chipsec_util mem pagedump 0xFED00000         0x100000
    >>> chipsec_util mem search   0xF0000            0x10000  _SM_
    """

    def requires_driver(self):
        # No driver required when printing the util documentation
        if len(self.argv) < 3:
            return False
        return True

    def run(self):
        size = 0x100

        if len(self.argv) < 3:
            print MemCommand.__doc__
            return

        op = self.argv[2]
        t = time.time()

        if 'allocate'   == op and 4 == len(self.argv):
            size = int(self.argv[3],16)
            (va, pa) = self.cs.mem.alloc_physical_mem( size )
            self.logger.log( '[CHIPSEC] Allocated %X bytes of physical memory: VA = 0x%016X, PA = 0x%016X' % (size, va, pa) )

        elif 'search' == op and len(self.argv) > 5:
            phys_address = int(self.argv[3],16)
            size         = int(self.argv[4],16)

            buffer = self.cs.mem.read_physical_mem( phys_address, size )
            offset = buffer.find(self.argv[5])

            if offset != -1:
                self.logger.log( '[CHIPSEC] search buffer from memory: PA = 0x%016X, len = 0x%X, target address= 0x%X..' % (phys_address, size, phys_address + offset) )
            else:
                self.logger.log( '[CHIPSEC] search buffer from memory: PA = 0x%016X, len = 0x%X, can not find the target in the searched range..' % (phys_address, size) )

        elif 'pagedump' == op and len(self.argv) > 3:
            start   = long(self.argv[3],16)
            length  = long(self.argv[4],16) if len(self.argv) > 4 else chipsec.defines.BOUNDARY_4KB
            end = start + length

            dump_region_to_path( chipsec.file.get_main_dir(), start, end )

        elif 'read'     == op:
            phys_address = int(self.argv[3],16)
            size         = int(self.argv[4],16) if len(self.argv) > 4 else 0x100
            self.logger.log( '[CHIPSEC] reading buffer from memory: PA = 0x%016X, len = 0x%X..' % (phys_address, size) )
            buffer = self.cs.mem.read_physical_mem( phys_address, size )
            if len(self.argv) > 5:
                buf_file = self.argv[5]
                chipsec.file.write_file( buf_file, buffer )
                self.logger.log( "[CHIPSEC] written 0x%X bytes to '%s'" % (len(buffer), buf_file) )
            else:
                print_buffer( buffer )

        elif 'readval'  == op:
            phys_address = int(self.argv[3],16)
            width        = 0x4
            if len(self.argv) > 4:
                width = chipsec_util.get_option_width(self.argv[4]) if chipsec_util.is_option_valid_width(self.argv[4]) else int(self.argv[4],16)
            self.logger.log( '[CHIPSEC] reading %X-byte value from PA 0x%016X..' % (width, phys_address) )
            if   0x1 == width: value = self.cs.mem.read_physical_mem_byte ( phys_address )
            elif 0x2 == width: value = self.cs.mem.read_physical_mem_word ( phys_address )
            elif 0x4 == width: value = self.cs.mem.read_physical_mem_dword( phys_address )
            self.logger.log( '[CHIPSEC] value = 0x%X' % value )

        elif 'write'    == op:
            phys_address = int(self.argv[3],16)
            if len(self.argv) > 4:
                size = int(self.argv[4],16)
            else:
                self.logger.error( "must specify <length> argument in 'mem write'" )
                return
            if len(self.argv) > 5:
                buf_file = self.argv[5]
                if not os.path.exists( buf_file ):
                    #buffer = buf_file.decode('hex')
                    try:
                      buffer = bytearray.fromhex(buf_file)
                    except ValueError, e:
                        self.logger.error( "incorrect <value> specified: '%s'" % buf_file )
                        self.logger.error( str(e) )
                        return
                    self.logger.log( "[CHIPSEC] read 0x%X hex bytes from command-line: %s'" % (len(buffer), buf_file) )
                else:
                    buffer = chipsec.file.read_file( buf_file )
                    self.logger.log( "[CHIPSEC] read 0x%X bytes from file '%s'" % (len(buffer), buf_file) )

                if len(buffer) < size:
                    self.logger.error( "number of bytes read (0x%X) is less than the specified <length> (0x%X)" % (len(buffer),size) )
                    return

                self.logger.log( '[CHIPSEC] writing buffer to memory: PA = 0x%016X, len = 0x%X..' % (phys_address, size) )
                self.cs.mem.write_physical_mem( phys_address, size, buffer )
            else:
                self.logger.error( "must specify <buffer>|<file> argument in 'mem write'" )
                return

        elif 'writeval' == op:
            phys_address = int(self.argv[3],16)
            if len(self.argv) > 4:
                width = chipsec_util.get_option_width(self.argv[4]) if chipsec_util.is_option_valid_width(self.argv[4]) else int(self.argv[4],16)
            else:
                self.logger.error( "must specify <length> argument in 'mem writeval' as one of %s" % chipsec_util.CMD_OPTS_WIDTH )
                return
            if len(self.argv) > 5:
                value = int(self.argv[5],16)
            else:
                self.logger.error( "must specify <value> argument in 'mem writeval'" )
                return

            self.logger.log( '[CHIPSEC] writing %X-byte value 0x%X to PA 0x%016X..' % (width, value, phys_address) )
            if   0x1 == width: self.cs.mem.write_physical_mem_byte ( phys_address, value )
            elif 0x2 == width: self.cs.mem.write_physical_mem_word ( phys_address, value )
            elif 0x4 == width: self.cs.mem.write_physical_mem_dword( phys_address, value )

        else:
                print MemCommand.__doc__
                return

        self.logger.log( "[CHIPSEC] (mem) time elapsed %.3f" % (time.time()-t) )

commands = { 'mem': MemCommand }


# -*- coding: utf-8 -*-
import pytest
from django.utils import timezone
from nose.tools import *  # noqa

from framework.auth.core import Auth
from osf_tests.factories import AuthUserFactory, ProjectFactory, UserFactory
from scripts import parse_citation_styles
from tests.base import OsfTestCase
from osf.models import OSFUser as User, AbstractNode as Node
from website.citations.utils import datetime_to_csl
from website.util import api_url_for

pytestmark = pytest.mark.django_db

class CitationsUtilsTestCase(OsfTestCase):
    def test_datetime_to_csl(self):
        # Convert a datetime instance to csl's date-variable schema
        now = timezone.now()

        assert_equal(
            datetime_to_csl(now),
            {'date-parts': [[now.year, now.month, now.day]]},
        )

class CitationsNodeTestCase(OsfTestCase):
    def setUp(self):
        super(CitationsNodeTestCase, self).setUp()
        self.node = ProjectFactory()

    def tearDown(self):
        super(CitationsNodeTestCase, self).tearDown()
        Node.remove()
        User.remove()

    def test_csl_single_author(self):
        # Nodes with one contributor generate valid CSL-data
        assert_equal(
            self.node.csl,
            {
                'publisher': 'Open Science Framework',
                'author': [{
                    'given': self.node.creator.given_name,
                    'family': self.node.creator.family_name,
                }],
                'URL': self.node.display_absolute_url,
                'issued': datetime_to_csl(self.node.logs.latest().date),
                'title': self.node.title,
                'type': 'webpage',
                'id': self.node._id,
            },
        )

    def test_csl_multiple_authors(self):
        # Nodes with multiple contributors generate valid CSL-data
        user = UserFactory()
        self.node.add_contributor(user)
        self.node.save()

        assert_equal(
            self.node.csl,
            {
                'publisher': 'Open Science Framework',
                'author': [
                    {
                        'given': self.node.creator.given_name,
                        'family': self.node.creator.family_name,
                    },
                    {
                        'given': user.given_name,
                        'family': user.family_name,
                    }
                ],
                'URL': self.node.display_absolute_url,
                'issued': datetime_to_csl(self.node.logs.latest().date),
                'title': self.node.title,
                'type': 'webpage',
                'id': self.node._id,
            },
        )

    def test_non_visible_contributors_arent_included_in_csl(self):
        node = ProjectFactory()
        visible = UserFactory()
        node.add_contributor(visible, auth=Auth(node.creator))
        invisible = UserFactory()
        node.add_contributor(invisible, auth=Auth(node.creator), visible=False)
        node.save()
        assert_equal(len(node.csl['author']), 2)
        expected_authors = [
            contrib.csl_name for contrib in [node.creator, visible]
        ]

        assert_equal(node.csl['author'], expected_authors)

class CitationsUserTestCase(OsfTestCase):
    def setUp(self):
        super(CitationsUserTestCase, self).setUp()
        self.user = UserFactory()

    def tearDown(self):
        super(CitationsUserTestCase, self).tearDown()
        User.remove()

    def test_user_csl(self):
        # Convert a User instance to csl's name-variable schema
        assert_equal(
            self.user.csl_name,
            {
                'given': self.user.given_name,
                'family': self.user.family_name,
            },
        )

class CitationsViewsTestCase(OsfTestCase):

    @pytest.fixture(autouse=True)
    def _parsed_citation_styles(self):
        # populate the DB with parsed citation styles
        try:
            parse_citation_styles.main()
        except OSError:
            pass

    def test_list_styles(self):
        # Response includes a list of available citation styles
        response = self.app.get(api_url_for('list_citation_styles'))

        assert_true(response.json)

        assert_equal(
            len(
                [
                    style for style in response.json['styles']
                    if style.get('id') == 'bibtex'
                ]
            ),
            1,
        )

    def test_list_styles_filter(self):
        # Response includes a list of available citation styles
        response = self.app.get(api_url_for('list_citation_styles', q='bibtex'))

        assert_true(response.json)

        assert_equal(
            len(response.json['styles']), 1
        )

        assert_equal(
            response.json['styles'][0]['id'], 'bibtex'
        )

    def test_node_citation_view(self):
        node = ProjectFactory()
        user = AuthUserFactory()
        node.add_contributor(user)
        node.save()
        response = self.app.get("/api/v1" + "/project/" + node._id + "/citation/", auto_follow=True, auth=user.auth)
        assert_true(response.json)


!!!  : as a woman you shouldnt complain about cleaning up your house. ; as a man you should always take the trash out...


!!!!!  : boy dats cold...tyga dwn bad for cuffin dat hoe in the 1st place!!


!!!!!!!   dawg!!!!  : you ever fuck a bitch and she start to cry? you be confused as shit


!!!!!!!!!  :  she look like a tranny


!!!!!!!!!!!!!  : the shit you hear about me might be true or it might be faker than the bitch who told it to ya &;


!!!!!!!!!!!!!!!!!!": the shit just blows me..claim you so faithful and down for somebody but still fucking with hoes! &;&;&;"


!!!!!!": i can not just sit up and hate on another bitch .. i got too much shit going on!"


!!!!&;: cause im tired of you big bitches coming for us skinny girls!!&;


" ; you might not get ya bitch back ; thats that "


"  :hobbies include: fighting mariam"

bitch


meditation matin


British Imported Linen Wrinkled Drapery Sheer


Sony IP Cams


Ar-Condicionado-Multi-Split-27000-quente-frio-poloar


Leighton Meester

Born Leighton Marissa Claire Meester on April 9, 1986, she spent her earliest years on Marco Island, FL, and at age 11 moved with her mother to New York City.

In just three years in the Big Apple, she signed on with Wilhelmina Models, was shot by famed photographer Bruce Webber for a Ralph Lauren ad campaign, and, at just age 13, earned a guest role on NBC's hit New York-set crime drama "Law & Order" (1990- ).

With her career burgeoning, the family moved to Beverly Hills, CA, where Meester attended Beverly High School as so many stars-in-training had before her.

In October 2002, the Meesters found themselves unexpectedly mired in scandal when Leighton's brother Douglas was accused of raping ... Continue Bio >>


Welcome to our community

Be apart of something great, join today!

Cheesemonger

Australia is now the first Western nation to ban security, following a decision by its parliament to pass a bill forcing companies to hand over encrypted data to police upon demand.

The government will be allowed to demand this without judicial review or oversight of any kind, beyond the requirement to get a warrant in the first place.

Furthermore, the law requires corporations to build tools to give them the ability to intercept data sought by police when such tools do not already exist.


LIAR OF GOLGOTHA

The Long Forgotten Wastelands Lyrics

The closer I came the sweeter the smell.

I could feel powers of the
Ancient domain.

I travelled for years in search of this place: a place
beyond dreams, a place with no name.

Lost between pages of an old manuscript, scattered through ages as
unholy relics.

Their powers were sleeping in hands of the fools, waiting
to be woken by those who knew.

Unsure what to find in these unholy
grounds, the gateway to past opened to now.

I will be Legend after the
Ancient Ones return.

I have taken them out of their shells into my
deserts of the long forgotten wastelands.


Q:

How to identify ionic compounds

I have a Chemistry lab in which I must design and carry out an experiment to determine the compound in each of eight numbered vials.

Each vial contains one of these ionic compounds:

BaCl2
CaCO3
Ca(OH)2
KI
NaCl
NaHCO3
Na2SO4
Pb(NO3)2

Materials:

Distilled water
Several microwell reaction plates
Tooth picks (to stir)
8x 1mL Beral style pipets
The contents of the lab drawer (beakers, test tubes, etc.)

In addition to the materials above, one of the following four additional reagents may be used:

6M H2SO4
6M HCl
6M NaOH
phenolphthalein indicator solution

I know how to identify a couple of them.

For instance, CaCO3 can be identified by its insolubility in water, but as for the rest, I'm not completely sure.

I know some can be identified by how and if they react with other compounds, but I don't know exactly how to go about that.

A:

First, you can use phenolphthalein indicator solution, $\ce{Ca(OH)2}$ and $\ce{NaHCO3}$ will turn red.

Then use 6M $\ce{HCl}$ and the $\ce{NaHCO3}$ bubbles.

$\ce{NaOH}$ to identify $\ce{Pb(NO3)2}$: it generates precipitations.

Use $\ce{Pb(NO3)2}$ to identify $\ce{KI}$: generate golden precipitations.

$\ce{H2SO4}$ with $\ce{BaCl2}$ gives white precipitations, $\ce{Na2SO4}$ with $\ce{BaCl2}$ likewise.


2-phosphonomethyl-pentanedioic acid (glutamate carboxypeptidase II inhibitor) increases threshold for electroconvulsions and enhances the antiseizure action of valproate against maximal electroshock-induced seizures in mice.

This study examined the effect of 2-(phosphonomethyl)-pentanedioic acid (2-PMPA), a potent and selective inhibitor of glutamate carboxypeptidase II (GCP II), an enzyme releasing glutamate and N-acetyl-aspartate from synaptical terminals, on the electroconvulsive threshold in mice.

Moreover, the influence of 2-PMPA on the anticonvulsant activities of four conventional antiepileptic drugs (carbamazepine, phenobarbital, phenytoin and valproate) was evaluated in the maximal electroshock-induced seizure test in mice.

Results indicated that 2-PMPA (at a dose range of 50-200 mg/kg, i.p.)

raised the electroconvulsive threshold in mice dose-dependently.

Linear regression analysis of dose-response relationship between the doses of 2-PMPA and their corresponding threshold values allowed the calculation of threshold increasing dose by 20% (TID20), which was 109.2 mg/kg.

at a constant dose of 150 mg/kg (the dose increasing the threshold for electroconvulsions) enhanced significantly the anticonvulsant action of valproate, by reducing its median effective dose (ED50) from 281.4 to 230.1 mg/kg (P<0.05).

In contrast, 2-PMPA at the lower dose of 100 mg/kg (i.p.)

had no impact on the antiseizure activity of valproate in the maximal electroshock-induced seizure test.

Likewise, 2-PMPA at 100 and 150 mg/kg did not affect the antiseizure action of carbamazepine, phenobarbital and phenytoin against maximal electroshock-induced seizures in mice.

Additionally, none of the combinations investigated between 2-PMPA (150 mg/kg, i.p.)

and carbamazepine, phenobarbital, phenytoin and valproate (at their ED50 values) produced motor coordination impairment in the chimney test.

Pharmacokinetic evaluation of interaction between 2-PMPA and valproate revealed that 2-PMPA at 150 mg/kg selectively increased total brain concentrations of valproate, remaining simultaneously without any effect on free plasma concentrations of valproate, indicating a pharmacokinetic nature of observed interaction in the maximal electroshock-induced seizures in mice.

Based on our preclinical data, it may be concluded that 2-PMPA possesses a seizure modulating property by increasing the electroconvulsive threshold.

The reduction of glutamate neurotransmission in the brain, as a consequence of inhibition of GCP II activity by 2-PMPA, was however insufficient to enhance the anticonvulsant activity of conventional antiepileptic drugs, except for valproate, whose antiseizure action against maximal electroconvulsions was potentiated by 2-PMPA.

Unfortunately, the favourable interaction between 2-PMPA and valproate was associated with a pharmacokinetic increase in total brain valproate concentrations.


This study focuses on three categories of materials, namely, semi-conductors, heat transfer fluids, and stainless steel that are used in solar renewable energy projects.

The aim is to provide the reader with an understanding of technological developments within these three categories of materials and opportunities for their use in South Africa.

An overview of South Africa's renewable energy targets, projects, and challenges in these fields are also provided.


B


S


"Every turn of the cards changes the situation.

A good player isnt
waiting to see the next card.

A good player is interpreting the environment and
planning their next move to bet, call or fold before the next card is turned.

The turn of the card and the reaction of the other players dictates which plan
is implemented.

Once your followers are
ready for change, you implement the plan.

"Andrew J. Harvey and Raymond E. Foster (Leadership: Texas Hold 'em
Style).

Articles on Leadership
and Decision Making

Problem Definition
A clear problem definition is the first, and, perhaps, most important step
toward rationally selecting the best alternative.

Many dedicated and intelligent
individuals have produced elegant solutions for problems other than those they
were tasked to solve.

Therefore, a good executive decision maker participates in
problem definition because this step establishes the goal for everything else
that follows and places a premium on professional judgment.

READ MORE

Consensus Team Decision Making
The Westerner and the Japanese man mean something different when they talk of
"making a decision."

In the West, all the emphasis is on the answer to the
question.

To the Japanese, however, the important element in decision making is
defining the question.

The crucial steps are to decide whether there is a need
for a decision and what the decision is about.

And it is in that step that the
Japanese aim at attaining consensus.

Indeed, it is this step that, to the
Japanese, is the essence of decision.

The answer to the question (what the West
considers the decision) follows from its definition.

During the process that
precedes the decision, no mention is made of what the answer might be. . . .

Thus the whole process is focused on finding out what the decision is really
about, not what the decision should be.

READ MORE

Effective Decision Making
One of the critical, but often overlooked, requirements for effective leadership
is sound decision making.

This is especially true as we soar ever higher into
the ranks of middle and upper management.

Typically, as this progression occurs,
leaders become more focused on strategic decisions relating to plans, policies,
programs and personnel, and less consumed with day-to-day tactical concerns.

Good decision making, especially in middle and upper management, will therefore
likely increase overall organizational health and effectiveness.

Understanding
the meaning and art of deciding, therefore, is paramount.

READ MORE

Ethical Decision-Making: The Link Between Ambiguity and
Accountability
A growing body of literature thoroughly examines the topic of ethics in public
service from numerous, contrary, and complementary perspectives.

Ethics in public service is the study of the nature of
morals and moral choices and the rules governing a profession that define
professional conduct (Bruce, 2001, p. xiii).

In answering these questions it becomes
remarkably clear that there are no absolutes.

Nor is there any single school of
thought or theory to guide the inquiry.

Why do we try to understand ethics in
public service?

The answer is clear: because we intuitively know it makes a
difference.

READ MORE

NCOs and Values-Based Decision Making
In the Army of One, senior leaders look to the NCO Corps to embrace a value
system that develops character and to lead soldiers.

The Army depends on its
NCOs to create the environment and set the tempo for success in full-spectrum
operations.

Successful NCOs anticipate change, exploit every opportunity to meet
the units objectives and motivate their subordinates to higher levels of
productivity to achieve the units goals.

Successful sergeants promote Army
Values and take care of soldiers in the process.

In short, they are leaders with
values-based decision-making skills.

READ ON

Studies in Group Leadership How Should We Decide Elements of
Sound Decision Making
Making decisions and solving problems takes much time and energy.

But most
groups allow little time and energy to selecting a decision-making model or to
evaluating the process once the decision has been reached or a solution
attempted.

Ideally, decisions arise as a result of judgments and reasoning to a
final conclusion, unfortunately, that is not always the case.

Problem solving
involves the organization and arrangement of several decisions so that they will
have some usefulness solving a problem.