Skip to content

Instantly share code, notes, and snippets.

View safinsingh's full-sized avatar
🪐
atlas

Safin Singh safinsingh

🪐
atlas
View GitHub Profile
@safinsingh
safinsingh / waves.py
Last active May 8, 2020 23:06
Animations for explanatory video on the Physics of Waves
from manimlib.imports import *
# Copyright 2020 Safin Singh
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTI
@safinsingh
safinsingh / pull_repo.js
Last active June 12, 2020 23:42
Pulls your starred repositories from GitHub and inserts them into a table with jQuery
$.ajax({url:"https://api.github.com/users/{USER}/starred",success:function(s){for(i=0;i<=3;i++)$("#el").append('<div class="row">\n<div class="col-md-6 acv">\n<div class="colcont">\n<h2><a href = '+s[2*i].html_url+">"+s[2*i].name+"</a></h2>\n<p>"+s[2*i].description+'</p>\n<p></p>\n</div>\n</div>\n<div class="col-md-6 acv">\n<div class="colcont">\n<h2><a href = '+s[2*i+1].html_url+">"+s[2*i+1].name+"</a></h2>\n<p>"+s[2*i+1].description+'</p>\n<p></p>\n</div>\n</div>')}});
@safinsingh
safinsingh / style.css
Created July 29, 2020 00:07
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
background-color: #fff;
font-family: "Inter", sans-serif;
}
.header-title-name {
background: -webkit-linear-gradient(225deg,#0c45ff,#0098ff);
-webkit-background-clip: text;
@safinsingh
safinsingh / style.css
Last active July 29, 2020 00:22
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
background-color: #fff;
font-family: "Inter", sans-serif;
}
.header-title-name {
background: -webkit-linear-gradient(225deg,#0c45ff,#0098ff);
-webkit-background-clip: text;
@safinsingh
safinsingh / style.css
Created July 29, 2020 04:35
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
background-color: #fff;
font-family: "Inter", sans-serif;
}
.header-title-name {
visibility: hidden;
position: relative;
@safinsingh
safinsingh / style.css
Created July 29, 2020 04:36
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
background-color: #fff;
font-family: "Inter", sans-serif;
}
.header-title-name {
visibility: hidden;
position: relative;
@safinsingh
safinsingh / style.css
Created July 29, 2020 16:39
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
background-color: #fff;
font-family: "Inter", sans-serif;
}
.header-title-name {
visibility: hidden;
position: relative;
@safinsingh
safinsingh / style.css
Created August 5, 2020 02:54
CSS uploaded by scrapbook.hackclub.com/customizer
@font-face{
font-family: 'JetBrains Mono';
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Regular.eot') format('embedded-opentype'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@safinsingh
safinsingh / style.css
Created August 5, 2020 03:01
CSS uploaded by scrapbook.hackclub.com/customizer
@font-face{
font-family: 'JetBrains Mono';
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Regular.eot') format('embedded-opentype'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@safinsingh
safinsingh / style.css
Created August 5, 2020 03:06
CSS uploaded by scrapbook.hackclub.com/customizer
@font-face{
font-family: 'JetBrains Mono';
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Regular.eot') format('embedded-opentype'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}