Details
-
AboutProgrammer
-
Skillsc#, COBOL, shell bash, c++,
Joined devRant on 5/13/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Will meet some fellow devranters in Zurich today if everything goes well.
Excited to meet you guys!
Devy doesn't seem to be too excited, though :/15 -
Ahhh shit I hit 200 rants without even realizing it.
Well here's to like 14 months of awesome times and destressing.
Cheers you beautiful bastards1 -
A cool bash shell script to download (cut) a portion of video from youtube. It depends on youtube-dl and avconv/ffmpeg tools which can be installed from the distribution.
Bash Shell Script (can be named as ytcut):
Note: No error handing implemented
#!/bin/bash
#set -x
_yt_id="$1"
_yt_start_time="$2"
_yt_end_time="$3"
#_yt_format_id="bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio"
# use youtube-dl -F <video id> to get the list of formats available
# Using format id as 22 as the above one didn't work.
_yt_format_id=22
_yt_time_selection_opts="-ss ${_yt_start_time}"
_yt_time_selection_opts="${_yt_time_selection_opts} -to ${_yt_end_time}"
_yt_url=$(youtube-dl -f ${_yt_format_id} -g "${_yt_id}")
_yt_filename=$(youtube-dl --get-filename --restrict-filenames -f ${_yt_format_id} "${_yt_id}")
avconv -y -nostats -loglevel 0 -i "${_yt_url}" ${_yt_time_selection_opts} -codec copy "file:${_yt_filename}"
Example Usage:
ytcut 3dWrKNrWbWQ 0:40 1:402 -
Me to co-worker: The tests are failing because you didn't format your code before submitting your PR
-Co-worker changes the test command to run the format command just before running the tests-
Co-worker: The tests are passing now!
-facepalm- -
I am a backend web/android developer for quite some time now and have a good experience in this field and Yesterday, I lost several hours to the following typo: "127.0.01”5
-
If Suicide Linux deletes all your files when you mistype a command, what operating system only deletes half your files when you mistype a command?
ThanOS4 -
Best Practice: variables with meaningful names.
Me: variables named after stuff from the Marvel universe.
End result: Debugging after 6 months. WTF is mjolnir6 ???2 -
Wan't to hear my ridiculous recruiter story? I am originally from MA, and been on a small town since I was 4 (Born in Brazil). Well after years and years on the same town, always going back (MA) when a job here and there wouldn't work out. Going through some depression, and just got tired of everything. Well one day I found a recruiter on linkedIn and he knew a friend of mine. So he said he had a possible job offer but it was in Florida, anyhow he would later contact me and in the mean time for me to send him some examples of my work. Well in the mean time I packed my stuff and called him letting him know I was on the way. He was shocked and didn't know what to say. Went to the interview with him, got the job. 9 months later :) I don't regret taking my changes, it was all I had. I'm currently employed, love my job, and if it wasn't for my ridiculous recruiter... I don't know where I would have ended up. Long story, sorry /: ... here is a potato :) (9gag reference)10
-
A better profile page would be nice, preferably with a picture and collapsible header area for more view room for rants that the user has posted.2
-
I don't know which one is worse.
Freezing of laptop while am important demonstration or battery dying in the same situation.
I forgot the charger back home and the only thing client could make out was that the software we made bricked my laptop right after opening it and that I was making excuses to cover it.1 -
Trying to sleep knowing you have at least 5 bugs to try to fix when you wake up so you go to devrant to complain about it just to go back to thinking about the bugs and not sleeping.1
-
I was given 8 hours to build an entire website from scratch. No storyboards. No content to start with. Just "I have a meeting with the CEO tomorrow. Make sure we have a new website to show him"4
-
I'm finally making some visible progress on my Unity mobile game called "it goes number in the night!" gotta add a scoring system then I'll have a playable demo.4
-
I was up until 3AM working on devRant bot adding new features and improving stability.
https://github.com/nblackburn/...
After some very close monitoring, i am happy to relaunch it for you guys to enjoy.6 -
Devrant is the reason I left Facebook. Why be with those shitty people when you have community of your own kind!9