How to Become a Human Calendar Mentally finding out the day of the week for any date is a skill you can easily learn. You don’t need to be an autistic genius – all it takes is basic memorization effort and some trivial math. When I first learned this technique many years ago, I did it just for fun. With time, I learned to enjoy the convenience of not needing a calendar anymore. The Method To find out the days of the week for any date, use the formula: [day of week] = (yearcode + monthcode + day) mod 7 If you’re not math-inclined, this may look quite scary at first, but don’t worry: using the formula is straightforward. Month and Year Codes The month codes are one of the formula’s most troublesome parts, since they don’t follow a clear logic. January: 1 February: 4 March: 4 April: 0 May: 2 June: 5 July: 0 August: 3 September: 6 October: 1 November: 4 December: 6 We also need the year code, which are also apparently arbitrary. Days of the Week The Calculation Step 1: Get the codes for month and year. 5 means Thursday.
Essential Linux Commands Following are some of the most essential Linux commands which I often use and might be a one page reference for you as well. Use these Linux commands at your own risks. Some of these commands, specially the rm commands, might do harm if not used properly without additional checks. So always think twice before you run the rm commands. I use these commands all the times on my centOS dedicated servers whenever I need it and they work flawlessly. List Show file sizes in KB, MB, GB ls -lah List only directories ls -l | egrep `^d’ List and sort by date ls -t ls -lt Sort by file size ls -S Search/Find find . Above command will find a searchterm in all files in the present directory and will print it on screen. If you want to search for a term in specific folders then use following command. find /home/*/public_html/ -exec grep “searchterm” ‘{}’ \; –print Above command comes very handy when you want to search for any term in all of your websites hosted on a single host. Find files modified by date find . Sort
10 places where anyone can learn to code Teens, tweens and kids are often referred to as “digital natives.” Having grown up with the Internet, smartphones and tablets, they’re often extraordinarily adept at interacting with digital technology. But Mitch Resnick, who spoke at TEDxBeaconStreet, is skeptical of this descriptor. Sure, young people can text and chat and play games, he says, “but that doesn’t really make you fluent.” Mitch Resnick: Let's teach kids to code Fluency, Resnick proposes in this TED Talk, comes not through interacting with new technologies, but through creating them. The former is like reading, while the latter is like writing. The point isn’t to create a generation of programmers, Resnick argues. In his talk, Resnick describes Scratch, the programming software that he and a research group at MIT Media Lab developed to allow people to easily create and share their own interactive games and animations. While we’re at it: bonus!
Mental Math Mental Math - A Guide to Effective Mental Calculations[edit] Note about Notation: This book generally uses the English/U.S. styles of notation. This includes using commas as a way to divide up the thousands in long numbers (e.g. 32,000 = thirty-two thousand), it will use full stops (periods) as decimal points. With good mental math skills you can save yourself time by not needing to pull out a calculator (or cell phone) every time you want to do a task.Mental math skills will improve your ability to estimate results, thus having a better ability to catch errors from computer-derived results. Addition[edit] The foundation of all arithmetic is addition, also known as summing. Changing the Order of Addition[edit] Often when looking for a pattern to help you quickly do an addition problem, it can help to change the order that you add things. Adding Zero, One, or Two[edit] Unless you are completely new to addition, you surely know the pattern for adding I zero. Adding Fives[edit] Example:
CodeBangers | A collection of solutions for the bastard programming problems. List of paradoxes This is a list of paradoxes, grouped thematically. The grouping is approximate, as paradoxes may fit into more than one category. Because of varying definitions of the term paradox, some of the following are not considered to be paradoxes by everyone. This list collects only scenarios that have been called a paradox by at least one source and have their own article. Although considered paradoxes, some of these are based on fallacious reasoning, or incomplete/faulty analysis. Logic[edit] Self-reference[edit] These paradoxes have in common a contradiction arising from self-reference. Barber paradox: A barber (who is a man) shaves all and only those men who do not shave themselves. Vagueness[edit] Ship of Theseus (a.k.a. Mathematics[edit] Statistics[edit] Probability[edit] Infinity and infinitesimals[edit] Geometry and topology[edit] The Banach–Tarski paradox: A ball can be decomposed and reassembled into two balls the same size as the original.
Learn the Basics of Coding Allowing remote access to your home computer is not the best advice, especially for someone new to programming and security. However, we all do it. Just be aware that you are risking all the data and probably all the other systems on your home network in doing this. Secure web programming is hard, really hard. If you are writing code for your own internal use, working code is the goal. When you write code for others, it needs to work with strange inputs. Possibly the most important item to learn is that just because something works, that doesn't mean it is correct or secure. End User Programming If you are on MS-Windows and want to make your PC do things, check out PowerShell programming. If you are on Linux or OSX, check out bash programming. Power User Programming If you want to create cross-platform programs that can have GUIs and aren't CPU intensive, while learning simple and advanced programming techniques, check out Python. Web programming requires a multitude of skills.
8 Ways to Sleep Better Steps Method 1 Getting to Sleep Quickly (Easy Methods) <img alt="Image titled Sleep Better Step 1" src=" width="728" height="546" class="whcdn">1Take a nice warm bath or shower in the evening. <img alt="Image titled Sleep Better Step 6" src=" width="728" height="546" class="whcdn">6Add gentle sounds. Method 2 Moderating your Diet <img alt="Image titled Sleep Better Step 13" src=" width="728" height="546" class="whcdn">1Eat dinner at least three hours before bedtime. Method 3 Making Your Bed and Bedroom Welcoming Method 4 Changing Your Daily Routine Method 5 Medication for Better Sleep Reader Questions and Answers Tips Warnings
How I Taught Myself to Code in Eight Weeks Brain Teasers And Games To Test Your Brain Here you can enjoy the Top 25 Brain Teasers, Games & Illusions that SharpBrains readers (primarily adults, but some younger minds too) have enjoyed the most. It is always good to learn more about our brains and to exercise them!. Fun experiments on how our brains and minds work 1. 2. 3. 4. Challenge your attention and memory 5. 6. 7. Optical illusions 8. 9. 10. 11. Language and logic puzzles 12. 13. 14. 15. A few visual workouts 16. 17. 18. Teasing your pattern recognition and thinking 19. 20. 21. 22. Brain teasers for job interviews 23. 24. 25.
50 Places You Can Learn to Code (for Free) Online If you’re curious about learning a programming language then you’re in luck: there’s no shortage of resources for learning how to code online. University-level courses, tutorials, cheat sheets, and coding communities all offer excellent ways to pick up a new language, and maybe even a new job, too. Read on, and you’ll discover 50 great places to learn how to code, for free, online. University Many big names in education including MIT and Stanford offer programming courses, absolutely free. General If you’re just dipping your toes into programming, or you want to find a variety of resources, these sites offer several different ways to learn how to code. Community Learn how to code on these sites with a heavy community influence ready to offer help to newbs. Language Specific Drill down to the language you really want on these sites, offering expansive learning in one or two specific languages.