Skip to content

Instantly share code, notes, and snippets.

View Reznov9185's full-sized avatar
:octocat:
forking

Sajidur Rahman Reznov9185

:octocat:
forking
View GitHub Profile
@Reznov9185
Reznov9185 / c
Created September 18, 2023 19:26
Code Help
// Hello World
https://drive.google.com/drive/folders/1Sw-YzQwwW1KcFKIPj2muARUwnBDXCWyG?usp=sharing
@Reznov9185
Reznov9185 / mthreads.cpp
Created February 19, 2022 06:16
Mthread_Proj1
#include <iostream>
#include <thread>
#include <string.h>
#include <random>
#include <stack>
#include <pthread.h>
#include <time.h>
using namespace std;
@Reznov9185
Reznov9185 / ayon-.txt
Last active January 5, 2022 07:20
Ayon's Plan (extensive but not exhaustive)
- পান-চিনি / engagement
- রঙ-খেলা / rang
- সঙ্গীত সন্ধ্যা / Shangeet Shondha
- আক্দ / marriage
- হলুদ (জামাই'র) / haldi (groom's)
- হলুদ (বউ'র) / haldi (bride's)
- বিয়ে / reception
- বউভাত / walima
prinf("hello")
@Reznov9185
Reznov9185 / postman.rb
Created July 12, 2018 06:06
postman_with_ruby
require 'uri'
require 'net/http'
require 'json'
url = URI(ARGV[0].to_s)
http = Net::HTTP.new(url.host, url.port)
case ARGV[3].to_s
when "post"
request = Net::HTTP::Post.new(url)
@Reznov9185
Reznov9185 / pg_modeler_scripts_on_demand.sh
Last active December 21, 2017 09:37
Scripts on demand
# pgmodeler pre-req
sudo apt-get install -y libpq-dev libxml2-dev qt5-default qttools5-dev-tools clang qt5-image-formats-plugins libqt5svg5-dev clang

I am really impressed with the message of the video   He is right! Publishing misinformation is the worst thing you can do to a community. And these claims are never made by the people who really know linux(e.g. not for Linux Torvalds). Points to clarify:

  1. Malware: Obviously it can be bugged! There is no silver bullet/shield to protect from anything. But remember this is your system so you can write your own scripts to protect yourself.

  2. Disk defragment: Yes you should defrag/+ cleanup. Period.

  3. Reboots: Undoubtedly you have to reboot your machine sometimes! See it from as an insider, say you are a system process thread running on a machine. To kill that and start that again, might need some dependent threads to be killed too. So it some cases you have to do a reboot there is no other way. For example, processes like ssh daemon. In his case(firefox update) if he knew exactly which threads to be reboots he might be able to do it without a reboot.

  4. Hard-drive modularity: Come on! He is right. It's

RubyConf Bangladesh, 2017. Register here.

Ruby developers community here in Bangladesh has prompted a gathering for the enthusiasts to participate and build a knowledge tunnel. Please enlighten us with your presence.

NB: Seat availability is limited. Please register @http://rubybd.org/ to confirm your attendance. For any further queries, you can call anyone from the website or just ping me!
@Reznov9185
Reznov9185 / interest.md
Last active January 21, 2017 15:48
A quick trip to the basic interview questions on RoR.

What is an object and class to Ruby?

  1. Class is an object too
  2. To some, it's also the root class in ruby (Object).

What is a module? Can you tell me the difference between classes and modules?

Modules serve as a mechanism for namespaces.