Skip to content

Instantly share code, notes, and snippets.

Avatar
☮️
369?

Sanjog Sigdel sigdelsanjog

☮️
369?
View GitHub Profile
View edit.blade.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
</head>
<body>
<div class="container">
<h2>Edit Student Information</h2><br />
View index.blade.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Information Detail Page</title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
</head>
<body>
<div class="container">
<br />
View create.blade.php
<!-- create.blade.php -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/css/bootstrap-datepicker.css" rel="stylesheet">
View div.html
/* Price Chart Widget */
<div class="btcwdgt-chart"></div>
/* Active Forum Topics Widget */
<div class="btcwdgt-forum"></div>
/* News Stories Widget */
<div class="btcwdgt-news"></div>
/* News Ticker Widget */
View bitcoin.html
<script>
(function(b,i,t,C,O,I,N) {
window.addEventListener('load',function() {
if(b.getElementById(C))return;
I=b.createElement(i),N=b.getElementsByTagName(i)[0];
I.src=t;I.id=C;N.parentNode.insertBefore(I, N);
},false)
})(document,'script','https://widgets.bitcoin.com/widget.js','btcwdgt');
</script>
View githubchartapi.md
<img src="http://ghchart.rshah.org/sigdelsanjog" alt="Sanjog Sigdel's Contribution" />

replace the username sigdelsanjog with your github username and the emphasis text inside alt tag alt
You will then see following output:
Sanjog Sigdel's Contribution

You can also add a different color instead of the default green one. And this is how you do it. In your image source link you need to append any HEXCombination colour code to generate chart in different colot that you want

View ascii.txt
..... (¯`v´¯)♥
.......•.¸.•´
....¸.•´
... (
☻/
/▌♥♥
/ \ ♥♥
__________________________s$______________s
_________________________.s$$_____________s$
View ipcmodification.js
const electron = require('electron')
const countdown = require('./countdown')
const app = electron.app
const BrowserWindow = electron.BrowserWindow
const ipc = electron.ipcMain
let mainWindow
app.on('ready', _ => {
mainWindow = new BrowserWindow({
View renderer.js
const electron = require('electron')
const ipc = electron.ipcRenderer
document.getElementById('start').addEventListener('click', _ => {
ipc.send('countdown-start')
})
ipc.on('countdown', (evt, count) => {
document.getElementById('count').innerHTML = count
View countdown.html
<html>
<head>
<link rel="stylesheet" href="countdown.css" />
</head>
<body>
<div class="container">
<h1 class="title">COUNTDOWN</h1>
<div class="countdown" id="count"></div>
<button class="btn" id="start">Start</button>
</div>