Coder Merlin
Merlin
Pathway W1000s
Pathway W2000s
Pathway W3000s
Emacs Keys
Magit Keys
Screen Keys
LLDB Commands
References
Code Snippets
Google
Donate
Support
Discussion
View source
History
Create account
Log in

Code Snippets

From Coder Merlin
Jump to:navigation, search

Contents

  • 1 User Input
  • 2 Randomness
  • 3 Strings and Characters
  • 4 Printing
  • 5 Files
  • 6 Igis
  • 7 Swift Packages
  • 8 Git

User Input[edit]

  1. User Input-Single Line
  2. User Input-Multi Line
  3. Prompt for Yes or No

Randomness[edit]

  1. Random Integers
  2. Random Fractions
  3. Random Boolean
  4. Random Strings
  5. Shuffle Strings

Strings and Characters[edit]

  1. Changing Character Case
  2. Long Strings
  3. Printing a String Backwards
  4. Characters and Strings to ASCII Values
  5. Print All Integers in a String
  6. Splitting Key-Value Pairs into Components
  7. Check if String Begins with Prefix and Retrieve Remainder
  8. Access Individual Characters
  9. Matching Regular Expressions

Printing[edit]

  1. Slow Printing

Files[edit]

  1. Read a File
  2. Print a File Line-by-Line

Igis[edit]

  1. Clearing the Canvas Every Frame
  2. Maintaining a Constant Aspect Ratio

Swift Packages[edit]

  1. Script Snippet: Swift Packages

Git[edit]

  1. Repoint Repository to New Remote
  2. Revert to a Specific Tag


Facebook-FindUs.svg
Merlin Merch MerlinMerch-T-Shirt.png
@codermerlin Twitter-Logo-Blue.svg
Discord-Logo-Blue.svg
Discourse logo.png
Newsletter
Open Badges Logo.png


Retrieved from "https://www.codermerlin.com/wiki/index.php?title=Code_Snippets&oldid=7795"
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Browse properties
Browse properties
This page was last edited on 26 January 2020, at 20:46.
Privacy policy
About Coder Merlin
Disclaimers
Powered by MediaWiki
Powered by Semantic MediaWiki