Skip to content

Instantly share code, notes, and snippets.

View BroVic's full-sized avatar
🎯
Focusing

Victor Ordu BroVic

🎯
Focusing
View GitHub Profile
@BroVic
BroVic / build.ps1
Last active August 31, 2023 11:31 — forked from dmode/build.ps1
Powershell script to convert a markdown file into an word document by using pandoc
<#
.SYNOPSIS
Script to convert markdown file to word document
.DESCRIPTION
Convertes a markdown file into an word document using pandoc as converter. The process uses a word template file
.PARAMETER i
Specifies the input file. This is the markdown file
.PARAMETER o
Specifies the output file. This is the word document
.PARAMETER t
@BroVic
BroVic / gist:3502366f7855cd0c660320beb8cd4e5f
Last active March 9, 2018 17:54 — forked from dieulinh110/gist:0b5b17f10b2807c648b482682449b3fc
Calculating the sum of rows in each column group
## LOAD PACKAGE
library(dplyr)
## INPUT
input <- data.frame(president = c("A1", "A1", "A1", "A1", "A1", "A1", "A1"),
vice_president = c("B", "B", "B", "B", "C", "C", "C"),
manager = c("D", "D", "E", "E", "F", "G", "H"),
staff = c("I", "J", "K", "L", "M", "N", "O"),
qty_1 = c(1:7),
@BroVic
BroVic / Twitcurl.cpp
Created January 18, 2018 10:27 — forked from komasaru/Twitcurl.cpp
C++ source code to tweet by twitcurl library.
/**
* Tweet by twitcurl
*/
#include <iostream>
#include <string>
#include <twitcurl.h>
using namespace std;
/*