Archive for Kulverstukas

DuathlonStarter for small sport events

This is a program designed for small Du/Tri-athlon sporting events (but probably more for tri-) where running and biking (and swimming?) can’t be done in the same place, so this program helps with that, and usually for swimming, the pool is not at the same place…

I did this when some guy approached me with such a problem he had when organizing these events, and the solution he was using was rather… poor (though he had no choice at the time). He was using some Excel document which looked like it was made by a mad man. You’d paste in the times and press the start button. Then Excel would freeze completely and eat up 100% CPU for no reason like wtf.

In essence how this works is, when athletes go through one section (i.e. running), the times are recorded in some time-logging program, like a spreadsheet maybe, athletes relocate to where they’ll be doing the next section (i.e. biking or swimming), recorded times are loaded into the program and the program counts down time difference and beeps when it reaches zero for each athlete.
Read more

Better license assignment in O365

powershell

Hello!
Since the last time I wrote about this original script for license assignment in Office365 cloud there were some changes. Now there are two parts of the script, for different groups of people in the company. And had to add timezone and language assignment also. And some more debugging output too.

For the first part of the script it didn’t change much, just added a line to assign the same timezone and language for everyone and changed a filter template.

Then I added a second part of the script, this one has a bit more logic. This group needs to be assigned the same timezone but different language (for the interface). By different language I mean Lithuanian or English.
Read more

Dr. Noire, Chapter 14

I shuddered awake, penetrating cold sending ripples through my body. It was freezing here, and I didn’t know where here was, only that the surface I was laying on had leeched away what little heat I had. The soulless chill of the granite permeated me like the endless cold of death, reminding me of the dream from which I had so recently emerged. I flicked my eyes open and let my vision settle, re-calibrating until the ceiling sharpened into focus. Slowly, I pushed myself up, expecting with every moment to experience a lance of pain, but nothing came.

My hand brushed against the 1911A that I had tried to take my life with. Sticky blood coated the weapon, and dirt and dust had gathered on its once-gleaming finish. I touched the side of my head and felt the matching stickiness. My hair was stiff and matted to the touch, shifting and splitting into smaller strands beneath my fingertips. Trembling, I took the clip out and counted the rounds. One was missing.
Read more

Dr. Noire, Chapter 13

I woke in a pool of my own blood, the gun still clutched within my hand. Above me, the sky was a cold and lifeless gray, and around me I heard the keening and rattling of the wind. It howled down the narrow alleyway, scouring the ground for trash and grit and hurling them into the air, a stinging, scourging force of nature in the city. Pop cans clattered across the chipped, uneven brick, coated with a grime that had lasted for an untold count of years, and rats scurried from one bag to the next, clambering over and amongst the refuse. I turned my head to look around, and it was then I recognized the place that I had come to rest.

As I stood the wind whipped back my coat, its icy tendrils battering my shirt and writhing around my chest. They clawed against my skin and penetrated, reaching deep into my bones with mindless, numbing cold. My heart convulsed, stricken by the chill, and I shuddered, feeling as though someone must be walking on my grave.
Read more

Dr. Noire, Chapter 12

I tumbled the clip out of the gun and shucked the cold brass into my hand, counting until I reached eight. My hands shook, and sweat trickled down my brow. Two shots. She had fired two shots, and I had slept right through it. The bullets clinked together as I dumped them in my belt-pouch. The sound of falling, dripping water was deafening in the silence.

After a time, the stillness penetrated me. I sank to my knees and ran my hands along the ground. The stone was smooth and wet, slick with moss and algae, poor footing but excellent breeding ground for all manner of germ-ridden beasts. Glinting eyes in the darkness answered my suspicions. I reached for my gun to ward them off, but some instinct warned me not to fire. I realized whatever had taken Sophia was not afraid of bullets. I let my gun rasp back into its holster with my hands now firm and steady, if covered with filth of unknown origin. The shell casings reflected the light of my headlamp, distorting it into an oval. I sealed them into an evidence bag and pocketed it for safekeeping.
Read more

Dr. Noire, Chapter 11

The door swung open with an echoing boom that rattled down the hallway beyond and back throughout the entry chamber. Torches which had sprung alive at the door’s opening now flickered in the draft, barely staying lit. I put my crowbar back and stepped inside. A chill ran up my spine.

Beyond the firelight’s dim glow, only the beam of my headlamp illuminated the dusty darkness. Skeletons and discarded implements of battle adorned the passageway like the macabre decorations of a Halloween long past and fain forgotten. Upon the walls there lay an arch of torches like the heralds of arrival in this ancient place. We walked beneath them with a rapid step.
Read more

Dr. Noire, Chapter 10

The forest air was moist and pungent, smelling strongly of the good, damp earth which underlay it. Above me droplets fell from dripping trees, glinting brightly in the sunlight of midmorning. A cool breeze swept between the conifers, rustling branches and sending shimmering waterfalls of light cascading to the ground. I felt it kiss my skin with tenderness no human being could ever match, and deep within me something stirred, awakening an ancient longing for the source.

Ahead of me the trail dissolved into a clearing. As I came up to it I caught a flash of color in the corner of my eye, a scrap of cloth snagged on a branch where it had torn free from its owner’s garment. I recognized it as the same pink that Sophia had been wearing, and wondered how she had managed to lose her hoodie. I cast an eye around, thinking she must have dropped it, then realized that her shirt had been visible with its longer hem. I tucked the scrap of fabric into the pocket of my cargoes.
Read more

Dr. Noire, Chapter 9

I took a long, slow draw of cigarette smoke, holding it deep within my lungs before exhaling it into the cool morning air. The sky was a clear and brilliant blue, and as the tendrils wreathed around my head they dissipated and dissolved into the ether, vanishing from all perception like the mists of some ephemeral slumber. I took the cigarette from my mouth and breathed deeply of the cool, clean air. Before me, mountains loomed as timeless and impenetrable as the Earth itself, the standing testament of Mother Nature’s ancient glory. I beheld the vista that had dominated over all the landscape since before the race of man had walked the Earth, and in my heart the wild call of some primeval nature shuddered into life. I felt my neck hairs prickle with a feeling that I could not shake. This was a raw and wild land.
Read more

Dr. Noire, Chapter 8

I stepped towards Sophia and examined her. Neither of us spoke; she glared at me through tears of fear and frustration and I ran my eyes lingeringly over her body. She was beautiful, and helpless. I felt my blood grow hot within my veins, a throbbing pulse that forced my breath to ragged gasps. My every muscle tensed in pure anticipation. Slowly, like a beast of prey about to throw its body forward in a violent, deadly pounce, I crept towards her. I could hear the cadence of her breath, a panicked, shallow rhythm born of terror at her utter inability to sway her fate, and as I leaned my body over hers and let my hand caress the smooth, soft skin above her breast, I heard her gasp in pleasure and surprise.
Her composure seemed at once to leave her as I slid my left arm behind her and my right to her own wrist, drawing her into a tight embrace. She fought me, and I unlocked the cuff, pinning her wrist to the table. She struggled, and I chastised her.
Read more

Dr. Noire, Chapter 7

“We’ll take him by surprise,” Maria said. “He may already know that we’re twins, but since Sophia’s going in it shouldn’t be a problem. I’ll be set up with a fifty-cal suppressor some two hundred yards away, on this rooftop across the quad. I’ll have a thermal scope, so don’t worry about giving me a line of sight. I can see the whole office. If he balks, I’ll put a round into his arm, make him easier to take. Once he’s out of the picture the SWAT team will come in and secure the area. Any questions?”

I shook my head, fastening my handcuffs around Sophia’s wrists. I drew my tranq gun and pressed it into her back.

“Hit me,” she said.

“What?”

“Hit me,” she repeated. “Nice and hard. It has to look like you knocked me out.”
Read more