Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
fletch to 99

The under 100 line challenge!

Recommended Posts

On 6/14/2013 at 9:29 PM, deafboy said:

Under 100 lines... does that include comments?

 

This might be fun :)

just make inline comments, I'm very sure you're not desperate enough to sacrifice whole lines to just comments :)


Bloodshot

First PC Build and Generally Very High End

Originally planned for December 2017 | 

 

Build Log Post

 

CPU: Intel Core i7-8700K

Cooler: Custom Hardline loop cooling GPU and CPU with 2 360 Rads

Thermal Compound: Thermal Grizzly Kryonaut Thermal Paste

Motherboard: Asus ROG MAXIMUS X HERO (WI-FI AC)

RAM: G.Skill Trident Z RGB 32GB (4 x 8GB) DDR4-3600 Memory

SSD: Samsung 960 Pro 512Gb M.2-2280 Solid State Drive

HDD: Seagate Barracuda PRO 4TB 3.5" 7200RPM Internal Hard Drive

GPU: EVGA GeForce GTX 1080 Ti FTW3

Case: Fractal Design Define R6 Blackout TG

PSU: EVGA SuperNOVA P2 1000W 80+ Platinum Fully-Modular ATX Power Supply

Case Fans: 7 Corsair Air Series SP120 High Performance Edition

Fan Controller: NZXT GRID+ V3 Fan Controller

Accessories:

  • Corsair Commander Pro Fan Controller

Set Up

  • Mouse: Razer Deathadder Elite
  • Keyboard: Razer Blackwidow X Chroma
  • Mousepad: Steelseries QcK Gaming Mousepad
  • Monitor: Asus ROG Swift PG278QR
  • Audio
    • AMP: Sennheiser GSX1000
    • Headphones: HyperX Cloud Alpha
    • Speakers: Bose Companion 2 Series III
  • Oculus Rift + Touch 3 Sensor Roomscale Setup
  • IKEA Desk
    • IKEA White Linmon Tabletop (Longest Size)
    • IKEA 5 Black Olov Legs
    • IKEA White Alex Drawer
Link to post
Share on other sites
On 6/15/2013 at 8:08 AM, Cheesebaron said:

Is it allowed to use external libraries? Also, how do you count lines? For instance you can just cramp up all your code on one line if the language uses delimiters such as ;{}()[]

I just realized that that's soo smart, makes 10 files full of like 1,000 lines each, imports them all to one file, Best program in in 10 lines *insert mischievous face here*


Bloodshot

First PC Build and Generally Very High End

Originally planned for December 2017 | 

 

Build Log Post

 

CPU: Intel Core i7-8700K

Cooler: Custom Hardline loop cooling GPU and CPU with 2 360 Rads

Thermal Compound: Thermal Grizzly Kryonaut Thermal Paste

Motherboard: Asus ROG MAXIMUS X HERO (WI-FI AC)

RAM: G.Skill Trident Z RGB 32GB (4 x 8GB) DDR4-3600 Memory

SSD: Samsung 960 Pro 512Gb M.2-2280 Solid State Drive

HDD: Seagate Barracuda PRO 4TB 3.5" 7200RPM Internal Hard Drive

GPU: EVGA GeForce GTX 1080 Ti FTW3

Case: Fractal Design Define R6 Blackout TG

PSU: EVGA SuperNOVA P2 1000W 80+ Platinum Fully-Modular ATX Power Supply

Case Fans: 7 Corsair Air Series SP120 High Performance Edition

Fan Controller: NZXT GRID+ V3 Fan Controller

Accessories:

  • Corsair Commander Pro Fan Controller

Set Up

  • Mouse: Razer Deathadder Elite
  • Keyboard: Razer Blackwidow X Chroma
  • Mousepad: Steelseries QcK Gaming Mousepad
  • Monitor: Asus ROG Swift PG278QR
  • Audio
    • AMP: Sennheiser GSX1000
    • Headphones: HyperX Cloud Alpha
    • Speakers: Bose Companion 2 Series III
  • Oculus Rift + Touch 3 Sensor Roomscale Setup
  • IKEA Desk
    • IKEA White Linmon Tabletop (Longest Size)
    • IKEA 5 Black Olov Legs
    • IKEA White Alex Drawer
Link to post
Share on other sites
On 6/15/2013 at 11:29 AM, ChrisPBacon2010 said:

YouTube competition winner generator, paste YouTube video link in and click generate.

 

All commenters will be recorded and get one entry each (excludes replies) and then one of those users gets randomly picked as the winner - https://gist.github.com/Cirx08/9ccbdce2d21cabefa472#file-random-youtube-winner

can you relink it because the link isn't working anymore and I want to see how you did it, it sounds realllly cool!!


Bloodshot

First PC Build and Generally Very High End

Originally planned for December 2017 | 

 

Build Log Post

 

CPU: Intel Core i7-8700K

Cooler: Custom Hardline loop cooling GPU and CPU with 2 360 Rads

Thermal Compound: Thermal Grizzly Kryonaut Thermal Paste

Motherboard: Asus ROG MAXIMUS X HERO (WI-FI AC)

RAM: G.Skill Trident Z RGB 32GB (4 x 8GB) DDR4-3600 Memory

SSD: Samsung 960 Pro 512Gb M.2-2280 Solid State Drive

HDD: Seagate Barracuda PRO 4TB 3.5" 7200RPM Internal Hard Drive

GPU: EVGA GeForce GTX 1080 Ti FTW3

Case: Fractal Design Define R6 Blackout TG

PSU: EVGA SuperNOVA P2 1000W 80+ Platinum Fully-Modular ATX Power Supply

Case Fans: 7 Corsair Air Series SP120 High Performance Edition

Fan Controller: NZXT GRID+ V3 Fan Controller

Accessories:

  • Corsair Commander Pro Fan Controller

Set Up

  • Mouse: Razer Deathadder Elite
  • Keyboard: Razer Blackwidow X Chroma
  • Mousepad: Steelseries QcK Gaming Mousepad
  • Monitor: Asus ROG Swift PG278QR
  • Audio
    • AMP: Sennheiser GSX1000
    • Headphones: HyperX Cloud Alpha
    • Speakers: Bose Companion 2 Series III
  • Oculus Rift + Touch 3 Sensor Roomscale Setup
  • IKEA Desk
    • IKEA White Linmon Tabletop (Longest Size)
    • IKEA 5 Black Olov Legs
    • IKEA White Alex Drawer
Link to post
Share on other sites

4 lines of python code that returns the position of your mouse every time you press enter in the console of the running file, enjoy :).

 

import pyautogui as gui
while True:
	input()
    print(gui.position())

 


Bloodshot

First PC Build and Generally Very High End

Originally planned for December 2017 | 

 

Build Log Post

 

CPU: Intel Core i7-8700K

Cooler: Custom Hardline loop cooling GPU and CPU with 2 360 Rads

Thermal Compound: Thermal Grizzly Kryonaut Thermal Paste

Motherboard: Asus ROG MAXIMUS X HERO (WI-FI AC)

RAM: G.Skill Trident Z RGB 32GB (4 x 8GB) DDR4-3600 Memory

SSD: Samsung 960 Pro 512Gb M.2-2280 Solid State Drive

HDD: Seagate Barracuda PRO 4TB 3.5" 7200RPM Internal Hard Drive

GPU: EVGA GeForce GTX 1080 Ti FTW3

Case: Fractal Design Define R6 Blackout TG

PSU: EVGA SuperNOVA P2 1000W 80+ Platinum Fully-Modular ATX Power Supply

Case Fans: 7 Corsair Air Series SP120 High Performance Edition

Fan Controller: NZXT GRID+ V3 Fan Controller

Accessories:

  • Corsair Commander Pro Fan Controller

Set Up

  • Mouse: Razer Deathadder Elite
  • Keyboard: Razer Blackwidow X Chroma
  • Mousepad: Steelseries QcK Gaming Mousepad
  • Monitor: Asus ROG Swift PG278QR
  • Audio
    • AMP: Sennheiser GSX1000
    • Headphones: HyperX Cloud Alpha
    • Speakers: Bose Companion 2 Series III
  • Oculus Rift + Touch 3 Sensor Roomscale Setup
  • IKEA Desk
    • IKEA White Linmon Tabletop (Longest Size)
    • IKEA 5 Black Olov Legs
    • IKEA White Alex Drawer
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×