Skip to content

Instantly share code, notes, and snippets.

View kingRayhan's full-sized avatar
:atom:
in relationship with console.log( )

Md Raihan kingRayhan

:atom:
in relationship with console.log( )
View GitHub Profile
সি এরজন্য এই দুইটা টিউটো ফলো করেন =>
http://url.mashpy.me/ctuto (শরীফ আহমেদ ১০১ টা টিউটরিয়াল)
http://url.mashpy.me/ctamim (তামিম শাহরিয়ার সুবিন)
প্রথম লিঙ্কে সি প্রোগ্রামিং এর বেসিক থেকে এডভান্স+প্রোগ্রামিং কনটেস্ট সম্পর্কে আলোচনা করা হয়েছে।
আর পরের লিঙ্কটা সি প্রোগ্রামিং এর একেবারে বেসিক জানতে সাহায্য করবে।
ভিডিও টিউটরিয়ালের পাশাপাশি নিটনের সবার জন্য সি বইটাও যদি কিনে পড়া শুরু করেন তাহলে অনেক ভাল হবে।
আর সি প্লাস প্লাসের জন্য বাংলাতে ভিডিও টিউটরিয়াল তেমন নাই without Bdgeeks.
http://url.mashpy.me/164 (বিডিগিকস ৪৫ টিউটরিয়াল)
anonymous
anonymous / debug.md
Created December 1, 2016 16:19
Atom-Beautify debugging information
@federicofazzeri
federicofazzeri / .babelrc
Last active February 7, 2022 14:45
Node Express-based REST API (CRUD) using Firebase cloud Functions and FireStore cloud database + Babel config (The current Node version running in Cloud Functions is 6.10)
{
"presets": [
["env", {
"targets": {
"node": "6.10"
}
}]
]
}
@andrewjmead
andrewjmead / many-to-many.js
Created February 1, 2016 14:05
Sequelize Many-to-many Example
var Sequelize = require('sequelize');
var sequelize = new Sequelize(undefined, undefined, undefined, {
'dialect': 'sqlite',
'storage': __dirname + '/basic-sqlite-database.sqlite'
});
var Todo = sequelize.define('todo', {
description: {
type: Sequelize.STRING,
allowNull: false,
@vinnihoke
vinnihoke / firestore-guide.js
Created October 1, 2019 19:00
Firestore CRUD Cheat Sheet
// Setup Firestore. Note that all of these will be asyncronous tasks and can have a .then attached. Write in a config process for Firebase. Include the necessary process.env files and instructions how to make a .env file.
***************************************************************
// Add data - C
firestore.collection("CollectionName").add({
key: value,
key: value,
})
@shlomohass
shlomohass / jQuery-mousewheel-direction-capture.js
Last active October 28, 2022 20:24
jQuery - Get mousewheel scroll event to detect scrolling direction cross browser
$('body').on('mousewheel DOMMouseScroll', function(e){
if(typeof e.originalEvent.detail == 'number' && e.originalEvent.detail !== 0) {
if(e.originalEvent.detail > 0) {
console.log('Down');
} else if(e.originalEvent.detail < 0){
console.log('Up');
}
} else if (typeof e.originalEvent.wheelDelta == 'number') {
if(e.originalEvent.wheelDelta < 0) {
console.log('Down');
@dillonchanis
dillonchanis / example.css
Created September 20, 2020 14:44
Tailwind Utility for using gradients with text
@layer utilities {
.text-gradient {
background-clip: text;
-webkit-text-fill-color: transparent;
}
}
@pixeline
pixeline / php_upgrade_to_71.sh
Last active March 16, 2023 16:49
Update Mac Os X's php version to php 7.1 using homebrew. Includes curl and mcrypt
# 1. Install brew --> http://brew.sh/
# 2. run the following commands in your Terminal
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install --with-openssl curl
brew install --with-homebrew-curl --with-apache php71
brew install php71-mcrypt php71-imagick
# 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot.
brew info php71
@devmycloud
devmycloud / ParseInputStream.php
Last active December 6, 2023 15:22
Process php://input to get multipart/form-data parameters for PATCH API request
<?php
use Illuminate\Support\Facades\Log;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* stream - Handle raw input stream
*
* LICENSE: This source file is subject to version 3.01 of the GPL license
* that is available through the world-wide-web at the following URI:
@mgcm
mgcm / instagram.json
Created August 25, 2015 12:27
Instagram JSON Sample
{
"meta": {
"code": 200
},
"data": [
{
"attribution": null,
"tags": [],
"type": "image",
"location": null,