A while back I’ve shared my list for getting ready to cycle long-distance on the Facebook group called Solitary Cycling. The comments were a mixed bag. From people who enjoyed my list and thanked me, to people who had no idea what long-distance cycling meant and thought I should “just ride” and improvise if something […]
The first thing I’ve been doing for training is to tell everyone I know about my plan. I want to build a lot of peer pressure so I feel accountable. Given how crazy this project is, I am pretty sure nobody would be really sorry if I wouldn’t pull it off. But some people believe […]
In August during a ride, my buddy Karl told me there is this bicycle team that orders a lot of bicycles, and joining them would be a guaranteed way to get a nice bike for cheap. I was not really excited because the team orders Bianchi bikes and they are not my favorites. Not sure […]
EDIT: I have been now working at Smartly.io for 5 years. Going from 40 employees to more than 400 today. My mission today is to scale the way we do customer support to the next 1000 employees. Our ways of hiring have changed a lot. The story below is not really a good reflection of […]
Just saw a great video from Pr. James Paul Gee from Arizona State University.
When learning new words we need to have an image, an action, something tangible to associate to that new word. If you have nothing but a synonym or a definition or even a translation, you don’t really grasp the meaning of that new word.
In order to understand this, go to a video game shop and buy a brand new video game. Go home and start reading the manual. See if it teaches you to play the game… You will most likely not understand anything this is about. It will like a sequence of unrelated words with no meaning whatsoever.
Then start playing the game for some time.
Take the manual again and start reading. You should be able to understand everything it says. That’s because you can now easily associate the words on the manual with the actions you’ve just been performing.
Simply create a trigger which will insert unsubscribed users in the blacklist after every update on the subscriber table.
If you want to insert a sleep in a script for a random number of seconds, you can do the following:
NUMBER=$[ ( $RANDOM % 60 ) + 1 ]
Replace 60 with the interval chosen and you will get a random sleep between 1 and 60 seconds.
This can be useful if you are trying to fetch data from a server who’s monitoring the number of connections you are opening and tends to blacklist you if you do too much.
You need to execute this as root.
First enable SysRq feature in the kernel
echo “1” > /proc/sys/kernel/sysrq
Then crash the kernel (makes a kernel dump)
echo c > /proc/sysrq-trigger
Reboot with no conditions (no disk unmount, just like pressing reset button)
echo b > /proc/sysrq-trigger
Shutdown all the processes gracefully except init
echo e > /proc/sysrq-trigger
Kill all the process brutally except init
echo i > /proc/sysrq-trigger
There is one very simple way to take your elearning module to the next level. Recording.
Recording almost like a pro means, several things:
– the right voice
– no noise
– the right pace
For the right pace, there is a lot to say but that is not the topic today. What I want is to give you a couple of tips you will find useful to create quality recording on the cheap.
– the right voice
Some people say I sound very well when I record myself. Truthfully I started to think so when people said it. I would have never started recording myself if nobody else would think my voice is good for recording.
I think most people can record themselve. I don’t think there is a bad voice and a good voice. It’s a matter of how you articulate, the noise, the technique. Not the texture of the voice. So if you sound like a screeching bird, keep faith, there is hope!
– no noise
That’s where there is usually room for improvment.
First, you really need a good microphone. I bought a Samson Meteor mic. It’s awesome. I just have one problem with it, the first time I showed it to my colleagues, they were wondering what I was doing with a dildo…
The sound of this mic is just fantastic and it costed me 100 euros.
When you are recording yourself you may have to hit the keyboard, if you do a screencast, you may have to click, etc. These little noise can be captured by the mic and it may even be necessary to give a sense of reality to your performance, but it can also create loud banging noise every time you hit a key.
So here a little piece of advise. Find another table and put the mic there. Or find something like a laptop pouch, a backpack, whatever soft and big you may have and put the mic on it.
That’s my setup and it works. You can also put a pullover under, a coat or whatever you have close by.
Also make sure the CPU fan is not blowing directly towards the mic. That would mean more noise to get rid off in post production.
– Microphone orientation
One of the most annoying thing in amateur audio recording is Ps and Bs popping. Some people will sell you expensive screens to prevent them Some other people will teach how to make one yourself. But the true real way to get rid of them without investing anything is to setup your mic properly.
Just make it point upwards and don’t speak directly towards it. Direct your speech slightly to the side of it. that way you will not create bursts of air
Today I had to forward 2200 emails from a mailbox to another address. I looked around a bit to find a way to automate this process but all I could find was how to forward new messages.
That’s easy, just put a .forward file in your home dir with the email where you want to forward and it works.
But to forward already received email, it’s a bit trickier.
I was already using Mutt and I know it is a very powerful tool so I looked a bit more into it.
In order to solve my problem I found the following:
You can Tag many messages with this command:
Then execute one command on all the message tagged with this:
It will then ask you the email address where to bounce all this emails.
Fill it in and off you go. It took 3 minutes to send the 2200 mails. Cool 🙂
Then you can easily delete all these files with this: