copy and paste this google map to your website or blog!
Press copy button and paste into your blog or website.
(Please switch to 'HTML' mode when posting into your blog. Examples: WordPress Example, Blogger Example)
The Keyboard Shift Cipher - Code Golf Stack Exchange Given the following input: An integer n where n > 0 A string s where s is not empty and s~=[0-9A-Z]+ (alpha-numeric capitals only) Using a standard, simplified QWERTY keyboard (as shown below): 1234567890 QWERTYUIOP ASDFGHJKL ZXCVBNM Perform the following operation: Find the original row that each character is in on the keyboard Replace the letter with the correct shifted equivalent for n
Longest word using a single row of the qwerty keyboard The three rows of the qwerty keyboard are qwertyuiop, asdfghjkl and zxcvbnm Your task is to find the longest word that can be typed using only one row of the keyboard, from a given list of words
Help Alice fix her text! - Code Golf Stack Exchange Try it online! 'qwertyuiop[asdfghjkl;zxcvbnm, ' The full keyboard, including the shifted away left-most chars and the extra chars [;,, as well as two extra spaces at the end <:@i: Find the index of the input within that, searching from the right, and substract one {[ Pull those shifted indexes from the string in step 1
Given an input, move it along the keyboard by N characters The Challenge: Given any input that can be typed on a keyboard, move the text along by N chars Here is the QWERTY keyboard to be used You can ignore the modifier keys (Shift, Caps, Enter, Delet
Programming with a Sporadic Shift Key - Code Golf Stack Exchange Shifted versions (47 only): ~!@#$%^ *()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>? The last 3 keys are Enter, Tab, and Space, which are the same shifted and unshifted A sequence of N of these characters has 2 N - (whitespace char count) ways it might have been output if you had typed them with your faulty keyboard
code golf - Walk Across a Keyboard - Code Golf Stack Exchange žV # Push ["qwertyuiop","asdfghjkl","zxcvbnm"] ` # Pop and push all three separated to the stack ι # Interweave the top two with each other J # Join the list of characters to a single string # → "azsxdcfvgbhnjmkl" s # Swap so "qwertyuiop" is at the top R # Reverse it to "poiuytrewq"
code golf - Typing, but to the left - Code Golf Stack Exchange Try it online! I have created a mapping string (~1!2@3#4$5%6^7 8*9(0 qwertyuiopasdfghjklzxcvbnm) which for each digit has their SHIFT mode on the left and for each letter has the letter key to their left I loop over input characters and for each character: If character is a or A, caps lock flag gets reversed (logical not)