Skip to content

Instantly share code, notes, and snippets.

View JewettCitySoftwareCorporation's full-sized avatar

Luke@jcsc.biz JewettCitySoftwareCorporation

View GitHub Profile
@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / asp_get_base_url.cs
Created October 26, 2020 07:29 — forked from kmlprtsng/asp_get_base_url.cs
Get Base URL or a part of URL
//*************** Solution 1 **************/
// http://forums.asp.net/t/1466607.aspx/1
//http://forums.asp.net/t/1383898.aspx
//would return http://localhost:2013 or http://localhost:2013/ApplicationPath
return string.Format("{0}://{1}{2}",
HttpContext.Current.Request.Url.Scheme,
HttpContext.Current.Request.ServerVariables["HTTP_HOST"],
@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / buildFeedCard.js
Created September 9, 2020 07:47 — forked from knanne/buildFeedCard.js
JS Function to transform RSS feed into Bootstrap 4 Card
/*
* code to transform list of RSS feeds into bootstrap cards
* view my tutorial at https://knanne.github.io/posts/how-to-create-a-custom-rss-reader
* 1 DEPENDENCY - YQL: https://developer.yahoo.com/yql/
* Adhere to Google News GUIDELINES as standard for parsing RSS feeds
* (e.g. link to source, site author etc.)
* https://support.google.com/news/publisher/answer/4203?hl=en
*/
// make YQL query as url string
@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / index.html
Created March 24, 2019 04:14
Salesforce Lightning Design System Grid Example
<div class="slds-grid slds-grid--frame slds-grid--vertical">
<!-- Header -->
<header class="header slds-size--1-of-1" role="banner">
<div class="slds-grid">
<div class="stage-left slds-grid slds-size--2-of-12 slds-theme--alt-inverse slds-p-vertical--x-small slds-p-horizontal--medium js-nav-toggle open">
<span class="slds-icon__container slds-align-middle">
<img class="slds-icon slds-icon--small" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/8005/rows.svg" alt="Toggle Menu" />
<span class="slds-assistive-text">Toggle Menu</span>
@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / google-material-icons-ligature-based-font-icons.markdown
Created December 26, 2018 02:04
Google Material Icons – Ligature based font icons
@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / index.html
Created December 26, 2018 02:00
Responsive Bootstrap Pricing Table
<table class="table table-hover table-bordered" style="text-align:center;padding-left:200px; padding-right:200px;">
<thead>
<tr class="active">
<th style="background:#fff"><center></center></th>
<th><center><h3>Basic</h3><p class="text-muted text-sm">Ideal for small operations.</p></center></th>
<th><center><h3>Plus</h3><p class="text-muted text-sm">Perfect for larger operations.</p></center></th>
<th><center><h3>Super</h3><p class="text-muted text-sm">Perfect for those who want software.</p></center></th>
<th><center><h3>Platinum</h3><p class="text-muted text-sm">The best fit for larger operations.</p></center></th>
</tr>
</thead>
<br><br><br><center><div class="ch-kns"><table cellspacing="0" cellpadding="0"><tr><td><div class="botonesch boton0">INFORMACIONES</div><div class="botonesch boton1">EVENTOS</div><div class="botonesch boton2">REGISTROS DE PJ</div><div class="botonesch boton3">ATENCIÓN AL USUARIO</div><div class="botonesch boton4">ADMINISTRACIÓN</div><div class="botonesch boton5">PREMIOS</div><div id="ch-data">Master's Chains fue creado por Sakura Namida, Izaya Orihara y Lelouch Lamperouge. La historia, ambientación, eventos, códigos y demás pertenece a administración, se prohíbe su uso total o parcial. Todo tema publicado pertenece a quien lo publicó salvo que se indique lo contrario, sean fichas, talleres, tutoriales, etc.<br><br>Master's Chains 2016.<br><br><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Licencia Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png" /></a></div></td><td><div id="ch-info"><div id="caja0"><div class="ch-tit">I

LONDON — For one African migrant, there was nothing left to lose.

Mr. Haroun, who news reports said is Sudanese and has no fixed address, was charged this week with obstructing engines or carriages on a railway under the Malicious Damage Act of 1861. He is expected to appear at Canterbury Crown Court on Aug. 24.

Cool Aside

The migrant, Abdul Rahman Haroun, 40, risked his life this week by climbing four fences, evading around 400 security cameras and international search teams, and walking about 30 miles underground in the darkness of the Channel Tunnel in an effort to reach England from near Calais, France. He dodged trains traveling to London from Paris as they hurtled by at up to 100 miles per hour.

He became on Tuesday what the authorities said was the first migrant to walk nearly the entire length of the Channel Tunnel. Officials at Eurotunnel, which operates the crossing, said that Mr. Haroun had been close to the other side of the tunnel, in Folkestone, England

@JewettCitySoftwareCorporation
JewettCitySoftwareCorporation / README.md
Created February 25, 2018 06:21 — forked from hofmannsven/README.md
My simply Git Cheatsheet
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person