Skip to content

Instantly share code, notes, and snippets.

Eugene Heriniaina heriniaina

Block or report user

Report or block heriniaina

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 gist:9bf2568ff46dcaf39348d2df7075e7ea
<audio src="https://docs.google.com/uc?authuser=0&id=XXXXXXXX&type=.mp3" class="media" type="audio/mp3" controls="controls">
</audio>
View naoty.cpp
#include <iostream>
#include <string>
#include <map>
using namespace std;
int main() {
string source[12][3] = {
{"Jaona", "Math", "3"},
{"Marka", "Math", "5"},
View gist:5a2a7ee5271b77919024eb4fedd8f4f5
//naotin'ny mpianatra
rows =
[{"Jaona", "Math", "3"},
{"Marka", "Math", "5"},
{"Solofo", "Math", "8"},
{"Jaona", "fizika", "4"},
{"Marka", "fizika", "3"},
{"Solofo", "fizika", "10"},
{"Jaona", "siansa", "5"},
View gist:d5d57c640e0d110e96f6510748c1e3a4
/*
A 1 A1
A 2 A2
A 3 A3 1 2 3
B 1 B1 A A1 A2 A3
B 2 B2 => B B1 B2 B3
B 3 B3 C C1 C2 C3
C 1 C1
C 2 C2
View Style Shaded Grey
body { font-size: 100%;}
p {font-size: initial;}
/*
Pour les codes ou nom de couleurs:
http://htmlcolorcodes.com/color-names/
*/
/* font plus grand */
body { font-size: 100%;}
@heriniaina
heriniaina / Server Backup Shell Script
Last active Apr 30, 2016 — forked from AlexBezuska/Server Backup Shell Script
Server Backup script not mine, credit goes to Joshua R Jones
View Server Backup Shell Script
#!/bin/bash
# A Simple Shell Script to Backup Red Hat / CentOS / Fedora / Debian / Ubuntu Apache Webserver and SQL Database
# Path to backup directories
USER="hery"
HOME="/home"
# Store only day of month
DOM=$(date +"%d")
# Temporary backup name
View Arduino RC Car using Bluetooth HC06 and Motor Drive L9110S
#define AIA 5 //mandroso
#define AIB 6 //mihemotra
#define BIA 8 //havia
#define BIB 7 //havanana
#define MS 12 // mijanona ny moteur direction
#define JI 10 // jiro
#define KX 9 //klaxon
char vertical; //mandroso sa mihemotra
@heriniaina
heriniaina / RVG Player 2 (iframe)
Last active Aug 29, 2015
RVG Player 2 (Iframe)
View RVG Player 2 (iframe)
<iframe src="http://radiovazogasy.com/player/"
framespacing="0"
style="border: none; width: 100%"
id="rvgPlayer"
scrolling="no"
width="300"
height="30"
frameborder="no"></iframe>
View Mamina
body {
background-color: yellow; /* when edited */
}
View gist:07dc9f9b76b6ea2e5f73
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, a_title + ": " + a_text + " \n" + a_link);
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_to)));
You can’t perform that action at this time.