Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Alireza Dabiri Nejad alirdn

🏠
Working from home
Block or report user

Report or block alirdn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View windows-kill-library-usage-example-exception-handeling.cpp
#include <stdexcept>
#include "windows-kill-library.h"
using WindowsKillLibrary::sendSignal;
using WindowsKillLibrary::SIGNAL_TYPE_CTRL_C;
using WindowsKillLibrary::SIGNAL_TYPE_CTRL_BREAK;
try {
sendSignal(signal_pid, signal_type);
std::cout << "Signal sent successfuly. type: " << signal_type << " | pid: " << signal_pid << "\n";
@alirdn
alirdn / shatelland-advanced-features.user.js
Last active Jun 14, 2017
Shatelland.com Upload Center Advanced Features Userscript | Abandend | New versions: https://github.com/alirdn/Shatelland-Upload-Center-Userscript
View shatelland-advanced-features.user.js
// ==UserScript==
// @name Shatelland Upload Center Advanced Features
// @namespace http://allii.ir/
// @version 3.2.4
// @description Add new and advanced features to Shatelland upload center
// @author Alireza Dabiri Nejad | alireza.dabirinejad@live.com | http://allii.ir
// @include http*://*shatelland.com/upload*
// @run-at document-end
// @grant none
// ==/UserScript==
View addition-controller-params.html
<!DOCTYPE html>
<html lang="en">
<head>
<!-- AngularJS 1.4.8 !-->
<script src="../src/angular.min.js"></script>
<script src="module.js"></script>
<script src="addition-controller-params.js"></script>
</head>
<body ng-app="app">
<p ng-controller="AdditionController">
View expressions-condition.html
<!DOCTYPE html>
<html></html>
<head>
<!-- AngularJS 1.4.8 !-->
<script src="../src/angular.min.js"></script>
</head>
<body ng-app>
String equals to Number? {{'1' == 1}}
</body>
</html>
@alirdn
alirdn / dfplayer_mini_avr.c
Last active Nov 26, 2018
DFPlayer Mini MP3 Module Controlling Using AVR UART Codevision Sample: http://blog.allii.ir/2016/01/dfplayer-mini-mp3-module-control-avr-uart/
View dfplayer_mini_avr.c
/************************************************************************************
Run DFPlayer Mini Module With Atmega8
DFPlayer Mini: http://blog.allii.ir/go/dfplayer-mini-main-wiki/
For: http://blog.allii.ir/2016/01/dfplayer-mini-mp3-module-control-avr-uart/
By: Alireza Dabiri Nejad | http://blog.allii.ir
Program: : Codevision
Chip type : ATmega8
AVR Core Clock frequency: 8/001000 MHz
*************************************************************************************/
You can’t perform that action at this time.