Skip to content

Instantly share code, notes, and snippets.

View samyok's full-sized avatar
🌴
palo alto

Samyok Nepal samyok

🌴
palo alto
  • University of Minnesota, Twin Cities
  • Minneapolis, MN
  • LinkedIn in/samyok
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nepaltechguy2 on github.
  • I am samyok (https://keybase.io/samyok) on keybase.
  • I have a public key whose fingerprint is 5A41 4AFD 6425 4B29 9984 D5B3 603E 31E8 70CA E034

To claim this, I am signing this object:

@samyok
samyok / index.html
Created June 11, 2018 04:11
Material Overlay Animation
<main id="container">
<h2>CARD</h2>
<p class="detail">Stone</p>
<div class="button-wrapper">
<div class="layer"></div>
<button class="main-button fa fa-info">
<div class="ripple"></div>
</button>
</div>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.js"
integrity="sha256-fNXJFIlca05BIO2Y5zh1xrShK3ME+/lYZ0j+ChxX2DA="
crossorigin="anonymous"></script>
@samyok
samyok / samyok-online-all.css
Created December 1, 2017 15:34
Common CSS through Samyok Online
/*\
* SAMYOK-ONLINE CSS
* COPYRIGHT 2017 SAMYOK NEPAL.
* NON-COMMERCIAL USE ALLOWED. ALL OTHER USAGES PROHIBITED.
\*/
/********************************************\
+------------------------------------------+|
| TABLE OF CONTENTS |
+------------------------------------------+|
| A. NAVIGATION BAR |
@samyok
samyok / index.js
Created October 6, 2017 23:24
Samyok.us Server Code
var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');
});
var usersOnline = 0;
io.on('connection', function(socket){
usersOnline++;