Skip to content

Instantly share code, notes, and snippets.

@ktushar14
ktushar14 / private_fork.md
Created February 17, 2021 03:29 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@ktushar14
ktushar14 / main.tex
Created April 28, 2019 23:42
LaTeX preamble for simple note-taking.
\documentclass[11pt,english]{article}
\usepackage[a4paper,bindingoffset=0.2in,%
left=1in,right=1in,top=1in,bottom=1in,%
footskip=.25in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{mathpazo} % add possibly `sc` and `osf` options
% \usepackage{eulervm}
\renewcommand{\baselinestretch}{1.0}
@ktushar14
ktushar14 / type_limits.cpp
Created April 25, 2019 18:31
Script to check limits of data types on your system
#include <iostream>
#include <limits>
int main(int, char **) {
std::cout
<< "char :" << static_cast< int >(std::numeric_limits< char >::max()) << "\n"
<< "unsigned char :" << static_cast< int >(std::numeric_limits< unsigned char >::max()) << "\n"
<< "short :" << std::numeric_limits< short >::max() << "\n"
<< "unsigned short :" << std::numeric_limits< unsigned short >::max() << "\n"
<< "int :" << std::numeric_limits< int >::max() << "\n"
@ktushar14
ktushar14 / font_variables.scss
Created December 27, 2018 20:04 — forked from jacrook/font_variables.scss
Sass Css Font Stack Variables
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;