r/ProgrammerTIL • u/BOT_Negro • Nov 12 '17
r/ProgrammerTIL • u/itays123 • May 13 '21
Javascript I spent the last 6 months developing a multiplayer game with React.js, Node.js and Spring Boot
Hey everyone!
Last fall my friend gave me an app idea - a multiplayer game with rules similar to Cards Against Humanity - each round, a question is displayed and the player with the funniest response gets a point.
I spent a lot of time and effort working on it and I would love you all to share!
Repo link: https://github.com/itays123/partydeck
r/ProgrammerTIL • u/Matthisk • Aug 13 '17
Other TIL you can use "say" to invoke Siri on OS X
You can convert text-to-speech using OS X Siri's voice from the command line with the say command.
$ say "Hello World"For more info: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/say.1.html
r/ProgrammerTIL • u/josephismyfake • Feb 24 '17
Python Never use "gg=G" key combination to indent your python code in vim
"gg=G" is commonly used key combination to indent code automatically in vim. When used with python there are chances that it will get messed up really bad, since python in itself uses indentation for grouping statements
r/ProgrammerTIL • u/jab-programming • Jun 26 '20
Other TIL that code is a language which is easier to write than it is to read, and easier to read than it is to refactor
r/ProgrammerTIL • u/mehdifarsi • Dec 17 '22
Other A Powerful palindrome checker in 2 lines of code using POSIX bracket expressions
It handles cases such as A man, a plan, a canal β Panama:
r/ProgrammerTIL • u/[deleted] • Mar 27 '20
Other Coding Tutorial Channel
Hello Everyone, my name is notanexpert guy.
I made a video that explains how to convert a binary number to decimal using C.
In the video , I try to explain some concepts and share some tricks I know when it comes to C programming. Please check it out and if you find it
beneficial, consider supporting me by liking the video.
Video : https://www.youtube.com/watch?v=UNK2Jut3nII
DISCLAIMER: I DO NOT CLAIM to KNOW EVERYTHING about C or even programming in General. (I am also learning), I enjoy sharing knowledge in a digestible form, easy for the beginner to learn. I truly believe this video has some value , although it may not be perfect!
r/ProgrammerTIL • u/SylvainDe • Jan 14 '17
Javascript [Javascript] TIL many things one can do with Chromeβs Developer Console
Via /r/programming, I've discovered https://medium.freecodecamp.com/10-tips-to-maximize-your-javascript-debugging-experience-b69a75859329#.cxmr6mjw6 which is full of potentially useful things I didn't know.
r/ProgrammerTIL • u/Accountant_Coder123 • May 20 '21
Python Calculation of IRR using Newton Raphson Method
Python Code for computing IRR using Newton Raphson Method on :- Random Python Codes: Python Code for calculating IRR using Newton Raphson Method (rdpythoncds.blogspot.com)
r/ProgrammerTIL • u/susanss2015 • Jan 05 '17
Other TIL about Esoteric programming language
TIL about Esoteric programming language
r/ProgrammerTIL • u/nemo-nowane • Jan 27 '22
Python [Python] White space dosen't matter ;)
In Python, adding whitespace between words and punctuation doesn't affect code
>>> import math
>>> a = [0,1]
>>> math . sin ( a [ 0 ] )
0.0r/ProgrammerTIL • u/EsspressoCoffee • Aug 18 '22
C Storing information in a password salt
A salt is a fixed length random integer appended to the end of a password before it's hashed in order to make life harder for a hacker trying to bruteforce passwords. But recently I thought, does a salt have to be random? π€ Maybe you could store some useful information inside? Information that could only be retrieved by bruteforcing the password? "That would be a really secure way to store/transport sensitive/private information" -- I thought!
So I decided to write a program in c to test my idea, I called it Pinksalt, because it's a special kind of saltπ€©
It's on GitHub if you're interested in having a look!
r/ProgrammerTIL • u/jmarie777 • Mar 11 '22
Other Any early guidance tools for a n00b?
Recently started reading and researching coding and I am extremely interested in exploring this as a career option. Iβm interested primarily (I think) in Python, Java, & Solidity. Although Iβm interested in reasons why you prefer any language! Any advice yβall have would be appreciated and please share links to free and affordable resources I could utilize!?!
Thanks so much for your support! π
r/ProgrammerTIL • u/4dr14n31t0r • Apr 21 '22
Other TIL you can create links relative to the root of your project folder
If you have a project structure like this:
a
β b
β β c
β β d
β β README.md
β e
β f
β README.mdThen you can create in a/b/c/d/README.md a link to e/f/README.md with this code:
[link](/e/f/README.md)Basically you only have to start the path with /. Makes me wonder how it would work in linux systems because / represent the root of the file system. π€
r/ProgrammerTIL • u/HappyGoblin • Sep 05 '17
Other Language [CSS] TIL you can specify multiple classes in single element
<style>
.x1 {
border:solid;
border-width:1px;
}
.x2 {
background-color:lightblue
}
</style>
<h1 class="x1 x2">TEST999</h1>r/ProgrammerTIL • u/JazzXP • Aug 03 '21
Javascript TIL Boolean('false') == true
Yep, it doesn't work like Number
r/ProgrammerTIL • u/Froyo_Unique • May 29 '23
Other [Javascript] Learned how to build an LLM app with node and react
I built a simple React app with a Node server that connects to Open AI's large language model (LLM). Sharing a tutorial of how to build this LLM React and Node app by following an LLM React and Node javascript template
Tutorial: https://blog.desktopdocs.com/build-an-llm-app-with-node-react-and-langchain-js/
Github repo with project template: https://github.com/golivecosmos/llm-react-node-app-template
r/ProgrammerTIL • u/Weirfish • Jun 18 '16
PHP [PHP] TIL cURL doesn't like protocol-relative URLs
Hissy fit:
//www.website.com Fine:
http://www.website.comAlso fine
https://www.website.comHalf a day spent on that one. Goddamn.
EDIT: So apparently this should be blindingly obvious and I'm an idiot for not knowing it. Coming from a largely self-taught web-dev background, so there's that. Go figure.
r/ProgrammerTIL • u/astritmalsia • Feb 28 '20
Other 500+ CSS Icons, Customizable, Retina Ready & API
Hi π everyone,
Would like to share this project I made - https://css.gg
It is a Minimalistic icon library Designed by code.
500 Customizable & Retina-Ready icons. Entirely built in CSS.
The website is also built entirely using CSS & HTML where icon selection is done with radio buttons and no JS whatsoever, even icon selection and cookies are set inline via CSS.
Easy integration: Embed, NPM & API.
And most importantly it is open-source: https://github.com/astrit/css.gg
r/ProgrammerTIL • u/i_devansh_chaudhary • Feb 02 '21
Android development I started Android development 3 years back; Feeling nostalgic so thought to post my first program; It might also be helpful for newbies though; Hello world app, You guessed it right.
Step 1 : Install Studio
Step 2 : Create a new File
Step 3 : Go to android:XML sub file.
Step 4: Type code
Code is :
<TextView>
android : text = "Hello world";
android: layout_width = "wrap_content";
android: layout_height = "wrap_content";
</TextView>
A little bit of help for those who want to master Android Development: I wrote a blog of my journey as a developer, the courses I took and "How I overcame the problems?" Have it look at the blog here.
r/ProgrammerTIL • u/Relevant_Visit_7668 • Nov 27 '25
Other I had Learn the Machine Learning, Deep Learning Etc. this stuff for that with NLP what should i learn full stack dev or backend dev.
As I need to the guidance to anybody had that. As i am in 2nd year.
r/ProgrammerTIL • u/manishsalunke • Dec 22 '21
Other The Complete 2022 Flutter Development Bootcamp with Dart
r/ProgrammerTIL • u/[deleted] • Mar 21 '20
Other Coding Tutorial Channel
Hello Everyone, I run a Youtube Channel that focuses on teaching people about the key concepts of coding. Here is a video I made on Input Validation using the C programming language.
I am asking for support to grow and reach my target audience. If you think this video could benefit you or anyone you know, please consider liking the video and subscribing to the channel.
--> Youtube Channel <--
r/ProgrammerTIL • u/starg2 • Feb 16 '21
Python [Python] TIL Python's raw string literals cannot end with a single backslash
r"\" is not valid in Python.