Skip to content

Instantly share code, notes, and snippets.

View tasks_v2.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Pascal",
"type": "shell",
"windows": {
"command": "C:\\FPC\\3.0.4\\bin\\i386-win32\\fpc.exe"
},
"presentation": {
View tasks.json
{
"version": "0.1.0",
"windows": {
"command": "C:\\FPC\\3.0.4\\bin\\i386-win32\\fpc.exe"
},
"linux": {
"command": "fpc"
},
"isShellCommand": true,
"showOutput": "always",
View install-gnu-global.sh
sudo apt-get update
sudo apt-get -y install curl
sudo apt-get -y install wget
sudo apt-get -y install ncurses-dev
sudo apt-get -y install exuberant-ctags
sudo apt-get -y install python
CUR=`pwd`
wget http://tamacom.com/global/global-6.4.tar.gz
View XmlDocumentationProvider.cs
namespace WebApi.Areas.HelpPage
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
View HelpPageConfig.cs
using System.Diagnostics.CodeAnalysis;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
namespace WebApi.Areas.HelpPage
{
/// <summary>
/// Use this class to customize the Help Page.
/// For example you can set a custom <see cref="System.Web.Http.Description.IDocumentationProvider"/> to supply the documentation
View User.cs
namespace WebApi.Contracts
{
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// Representa un usuario de la aplicación.
/// </summary>
public class User
{
View ValuesController.cs
using System.Collections.Generic;
using System.Web.Http;
namespace WebApi.Controllers
{
public class ValuesController : ApiController
{
/// <summary>
/// Recolecta información de distintos sitios para encontrar todos los valores.
/// </summary>
@diegobersano
diegobersano / HelpPageConfig.cs
Created Apr 2, 2017
Ejemplo para configurar el origen de la documentación Xml
View HelpPageConfig.cs
using System.Diagnostics.CodeAnalysis;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
namespace WebApi.Areas.HelpPage
{
/// <summary>
/// Use this class to customize the Help Page.
/// For example you can set a custom <see cref="System.Web.Http.Description.IDocumentationProvider"/> to supply the documentation
View App.cs
using Xamarin.Forms;
namespace AppForms
{
public class App : Application
{
public App()
{
MainPage = new MasterDetailPage
{
View MainPage.xaml.cs
namespace AppForms.Windows
{
public sealed partial class MainPage
{
public MainPage()
{
this.InitializeComponent();
LoadApplication(new AppForms.App());
}
You can’t perform that action at this time.