Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Zip through the Jungle</title>
<style type="text/css">
body{
text-transform: uppercase;
text-decoration: none;
font-family: "ProximaNova Light", sans-serif;
}
<html>
<head>
<title>Zip through the Jungle</title>
<style type="text/css">
body{
text-transform: uppercase;
text-decoration: none;
font-family: "ProximaNova Light", sans-serif;
}
<html>
<head>
<title>Ch10-sighting</title>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.16.custom/css/sunny/jquery-ui-1.8.16.custom.css">
<script type="text/javascript" src="jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
function hexFromRGB(r,g,b){
@shenevol
shenevol / EdgeAlert.html
Last active August 29, 2015 14:26
Jump alert for Edge to useIE instead
<!DOCTYPE html>
<html>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#detectUA").click(function(){
var UA = navigator.userAgent;
if(UA.includes("Edge")){
alert("Please use IE to open this website!");
}
@shenevol
shenevol / ParkingFeeCalculate.cs
Last active August 29, 2015 14:24
Calculate the parking fee
using System;
namespace ParkingCalculate
{
class Program
{
static void Main(string[] args)
{
Car myCar = new Car();
myCar.inTime = new DateTime(2015,7,5,19,30,00);
myCar.outTime = DateTime.Now;
@shenevol
shenevol / ParkingFeeCalculate
Created July 6, 2015 05:51
Calculate the parking fee
using System;
namespace ParkingCalculate
{
class Program
{
static void Main(string[] args)
{
Car myCar = new Car();
myCar.inTime = new DateTime(2015,7,5,19,30,00);
myCar.outTime = DateTime.Now;
@shenevol
shenevol / ParkingFee_Calculate
Created July 6, 2015 05:49
Calculate how much the parking is !
using System;
namespace ParkingCalculate
{
class Program
{
static void Main(string[] args)
{
Car myCar = new Car();
myCar.inTime = new DateTime(2015,7,5,19,30,00);
myCar.outTime = DateTime.Now;
<html>
<head>
<title>Black 21</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.9.3/lodash.min.js"></script>
<script type="text/javascript">
deck=[];
round=[];
//initialize the deck array
deck=[];
//initialize the deck array
for(var i=0;i<52;i++){
deck[i]=i;
}
deck=_.shuffle(deck);
console.log(deck);
suite=['spades','heart','diamond','club'];
count=0;