Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
asdfx86 / clock.html
Created Mar 25, 2020
clock with html, css, js, and svg
View clock.html
margin: 0;
<svg version="1.1" id="Layer_1" xmlns="" xmlns:xlink="" x="0px" y="0px"
asdfx86 / dimhwar.cpp
Created Oct 31, 2019
quick solution to get second dimension based on given 1st dim and aspect ratio
View dimhwar.cpp
#include <iostream>
using namespace std;
int main(){
int h, w, c, ar1, ar2;
cin >> h >> ar1 >> ar2;
c = h/ar1;
w = c*ar2;
cout << w;
You can’t perform that action at this time.