Skip to content

Instantly share code, notes, and snippets.

View ashumeow's full-sized avatar
🎯
Moving Forward

Aswini S ashumeow

🎯
Moving Forward
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title>Let's Draw!</title>
<link rel='stylesheet' type='text/css' href='stylesheet.css'/>
</head>
<body>
<canvas id="canvas" width="200" height="200">
hello hello
</canvas>
var userAge = parseInt(prompt("What is your age : "), 10);
if(isNaN(userAge))
{
console.log("not a numeric");
}
else if(userAge >= 18 && userAge <=100 || userAge ===26){
console.log("valid age");
}
else
{
@ashumeow
ashumeow / index.html
Last active December 28, 2015 03:49 — forked from mbannert/index.html
<!doctype HTML>
<meta charset ="UTF-8">
<html>
<head>
<link rel='stylesheet' type="text/css" href="http://nvd3.org/src/nv.d3.css">
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'></script>
<script src='http://d3js.org/d3.v2.min.js' type='text/javascript'></script>
<script src='http://nvd3.org/nv.d3.js' type='text/javascript'></script>
<script src='http://nvd3.org/lib/fisheye.js' type='text/javascript'></script>
<html>
<body>
<table>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
include defs.h
include command.h
include buffer.h
#edit :
main.o kbd.o command.o display.o \
insert.o search.o files.o utils.o
cc -o edit main.o kbd.o command.o display.o \
insert.o search.o files.o utils.o
@ashumeow
ashumeow / index.html
Last active December 27, 2015 15:09 — forked from hano/index.html
<!DOCTYPE html>
<html>
<head>
<title>Fernsehturm</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="tower-container">
<div class="antennas">
function Foo(){}
Foo.prototype.bar = 42;
var foo = new Foo();
delete foo.bar; // returns true, but with no effect, since bar is an inherited property
console.log(foo.bar); // alerts 42, property still inherited
delete Foo.prototype.bar; // deletes property on prototype
console.log(foo.bar);
@ashumeow
ashumeow / .gitconfig
Last active December 27, 2015 14:39 — forked from berlotto/.gitconfig
# user and email config
$ git config user.name "My Name"
$ git config user.email my@email.com
# push
$ git push
#alias
$ git log --oneline
@ashumeow
ashumeow / Modernizer
Last active December 27, 2015 14:29 — forked from anneallen/Modernizer
//Add Modernizer
function eva_modernizer_doctype() {
<!DOCTYPE html>
<html>
<div class="no-js">
<?php language_attributes( 'html' ); ?>>
<head>
<meta charset="UTF-8"> </head>
<?php
}
@ashumeow
ashumeow / header.php
Last active December 27, 2015 14:29 — forked from funteractive/header.php
<?php
echo(wp_title( '|',true,'right') );
bloginfo('name');
?>