Skip to content

Instantly share code, notes, and snippets.

Working from home

Julian David juliandavidmr

Working from home
View GitHub Profile
juliandavidmr / Crear.cshtml
Created Jan 8, 2017
Mostrar Select (html) con datos a partir de un DataTable en C# & Razor
View Crear.cshtml
<div class="">
@Html.LabelFor(model => model.griv_idgrupoinv, htmlAttributes: new { @class = "" })
@Html.DropDownList("griv_idgrupoinv", new SelectList(ViewBag.GrupoInv, "Text", "Value"), new { @class = "form-control" })
juliandavidmr / HomeController.cs
Created Feb 17, 2017
Implementacion de API OAuth Chaira en MVC Razor C#. Iniciar sesión y obtener información basica del usuario logeado.
View HomeController.cs
using System.Web.Mvc;
using Helpers;
using System.Web.Security;
namespace Project.Controllers {
public class HomeController : Controller {
sqlstunts /
Created Sep 29, 2015
Refactor plugin for MySQL Workbench.
# import the wb module
from wb import *
# import the grt module
import grt
# import the mforms module for GUI stuff
import mforms
# define this Python module as a GRT module
ModuleInfo = DefineModule(name="Refactor", author="mjlmo", version="0.1")
View guia-contribució

Guía de colaboración para proyectos


Dado que existen numerosos desarrolladores contribuyendo a varios proyectos en paralelo, he creado esta guía para esclarecer el proceso que llevamos a cabo para manejar el modelo de branching. Para esto voy a listar una serie de pasos que es proceso adecuado que debemos llevar a cabo una vez que nos llega una tarea.


Después de aceptar la tarea revisando que todo esté en orden, vamos a nuestra terminal y nos pasamos a la rama de develop.

juliandavidmr / stop_iis_windows.bash
Created Oct 8, 2017
Start or Stop the Web Server (IIS 7)
View stop_iis_windows.bash
# Stop
net stop WAS
# Start
# net start W3SVC
juliandavidmr / example.markdown
Created Oct 25, 2017
Simple component of Angular 2/4 with QuillJS (wysiwyg)
View example.markdown



Content html

<wysiwyg (onChangeText)="onChangeText($event)"></wysiwyg>

Content typescript

View client_grades.php
// This file is NOT a part of Moodle -
// This client for Moodle 2 is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
Frankity / main.vala
Created Oct 7, 2016 — forked from rickybassom/main.vala
Simple Gtk.Application example in vala
View main.vala
using Gtk;
public class MyApplication : Gtk.Application {
public MyApplication () {
Object(application_id: "",
flags: ApplicationFlags.FLAGS_NONE);
protected override void activate () {
xinranxiao / app.js
Created Dec 4, 2013
Boilerplate Express Node.js App with
View app.js
* Module dependencies.
var express = require('express');
var routes = require('./routes');
var user = require('./routes/user');
var http = require('http');
var path = require('path');
lokeshjain2008 / fcm_config_files_proces.js
Created Apr 15, 2018
Ionic cordova-plugin-fcm error fix
View fcm_config_files_proces.js
#!/usr/bin/env node
'use strict';
var fs = require('fs');
var path = require('path');
fs.ensureDirSync = function (dir) {
if (!fs.existsSync(dir)) {
dir.split(path.sep).reduce(function (currentPath, folder) {
currentPath += folder + path.sep;