Skip to content

Instantly share code, notes, and snippets.

View chrisadipascual's full-sized avatar

Chrisopher Adi D. Pascual chrisadipascual

  • Freelance
  • AC , Philippines
View GitHub Profile
@chrisadipascual
chrisadipascual / gist:5b527f1e96133af74916f53095775b03
Created June 3, 2024 19:53 — forked from priore/gist:7163408
ASP.NET [C#] Redirect with post data
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections.Specialized;
using System.Text;
// ASP.NET [C#] REDIRECT WITH POST DATA
public static class WebExtensions
{
@chrisadipascual
chrisadipascual / Parse Font Aweseome CheatSheet
Last active March 26, 2018 10:59
javascript to parse the font awesome icon names from the font awesome cheatsheet
var xmlString= "";
$(".col-md-4.col-sm-6.col-lg-3").each(function (i, element) {
var name = null;
var value = null;
//3=FA Class Name 5=Unicode
var icon = $(element).text().split("\n")[3].trim();
//var icon = $(element).text().split("\n")[5].trim();
//name = icon.replace("fa-", "").replace(/-/g, "_");
value = icon;
xmlString += '\n' + (icon);