Skip to content

Instantly share code, notes, and snippets.

View samyok's full-sized avatar
🎒
schoolworkin

Samyok Nepal samyok

🎒
schoolworkin
  • University of Minnesota, Twin Cities
  • Minneapolis, MN
  • LinkedIn in/samyok
View GitHub Profile
@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++;
@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 |
<!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 / 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>

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:

[Unit]
Description=QBBuzzer
[Service]
ExecStart=/home/meredith/qbbuzzer/index.js
Restart=always
User=nogroup
# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody'
Group=nogroup
Environment=PATH=/usr/bin:/usr/local/bin
@samyok
samyok / test
Created January 27, 2019 22:03
test
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDybLcyb7zjLxTXxeI8ofC7FARd/zTFHk03M2nwi8dIWpKWxA0bpOTnU7AuZnxBJYm9CYJuEqCDpZVLBwOuMk9F5BgvKex3Li66luwIWXQMYauIn8iOp9moQJZ1UJorevPnUII8/sz3gG5SVuK3RT/jzzf7eM5O481uuoY+MGB0KRBQT/d6FwJgz9Pfpcgb3Ae306by+MoB9VhIEFsgsoaAQVmpaRSAhKXWyXun6JAMcEyf7uqGJf8mzZGZIIkzxwTdYUeP28R5i4H6tU3/1oOzMj2SmfyAZqT3xaLZFdhrACba8glBLcgjxCTERlazrduZ4ptBLXP6fj/Bt1YDQPCN samyo@DESKTOP-Gn
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCd88j1XD+Jk5hX1fkN/K+jw2A3kcC6XR6UFMPL9uGR1QmbjsSuVIPh26zQKVH52wlZ4WIky2e0PSVPI0KH79r9T3v/GfzarEYUrJPapRLgD6hr1IuRddOgDjzOEACKrKveulrZAN8Yvlw99giC8WJMp/BWb+nyJQcaxlYqf5TmGVMXkQ5wkIAv6tqj5a93hPL8LUjcYZJwYeDO0dDNpbDpoJ2ZxQUpY8n7Oh+9ed58DjSkUmFHXViyeLxzxWr9yfXGFYTKNx3W6Kpj0Vf3nRoaJDuEgUevGhVZMlFNZ8SYi/NBWRTLfn8K9VlESA2JYPHefPZBYXZAr2Kw8OiS8/hr nepalsa@bps@R90PWXZ1
@samyok
samyok / Storage.js
Created December 4, 2019 02:36
musicblocks test
// Copyright (c) 2019 Samyok Nepal
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the The GNU Affero General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// You should have received a copy of the GNU Affero General Public
// License along with this library; if not, write to the Free Software
// Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA
@samyok
samyok / index.html
Created December 11, 2019 02:33
Testimonial Section - Vue and Fetch
<section id="app">
<div class="review__container">
<div v-for="review in reviews">
<div class="review__item">
<p class="review__review">{{ review.review }}</p>
<div class="review__user">
<img :src="review.status">