Skip to content

Instantly share code, notes, and snippets.

View anshumankmr's full-sized avatar
:shipit:
Busy pretending to be busy🤓

Anshuman Kumar anshumankmr

:shipit:
Busy pretending to be busy🤓
View GitHub Profile
@vividvilla
vividvilla / ring-counter.v
Created January 23, 2013 14:05
Verilog Program for Ring Counter with Test bench and Output
/* Code written by Anand K
contact me at itsexzion@gmail.com */
module ring_count(q,clk,clr);
input clk,clr;
output [3:0]q;
reg [3:0]q;
always @(posedge clk)
if(clr==1)
q<=4′b1000;
@Su-Shee
Su-Shee / gist:5d1a417fa9de19c15477
Last active June 3, 2024 20:49
Falsehoods Programmers Believe About "Women In Tech"

Falsehoods Programmers Believe About "Women In Tech"

  • We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.

  • We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.

  • We're not laughing about your joke, so we clearly need you explain it to us. In great detail.

  • We're only in tech to find a husband, boyfriend or generally to get laid.

@PurpleBooth
PurpleBooth / README-Template.md
Last active June 19, 2024 07:39
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@sedovolosiy
sedovolosiy / install-opencv-2.4.13-in-ubuntu.sh
Created August 9, 2016 22:03 — forked from arthurbeggs/install_opencv2_ubuntu.sh
Install opencv-2.4.13 in Ubuntu 16.04
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng12-dev libtiff5-dev libjasper-dev
@soxofaan
soxofaan / README.md
Last active January 19, 2024 17:48
Simple pretty CSV and TSV file viewer.
@greyli
greyli / index.html
Last active May 16, 2022 12:58
Photo upload demo with Flask-Uploads and Flask-WTF.
<!-- create a folder named templates, put this file into it -->
<!DOCTYPE html>
<title>Upload File</title>
<h1>Photo Upload</h1>
<form method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }}
{{ form.photo }}
{% for error in form.photo.errors %}
<span style="color: red;">{{ error }}</span>
{% endfor %}
@researchranks
researchranks / flower-and-plant-names.csv
Created April 18, 2017 23:09
flower and plant names
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
alder
african rice
african violet
algerian oak quercus
almond
ambrosia
american cress
american dogwood
american nightshade
american white hellebore
@kyamagu
kyamagu / dogs-vs-cats.ipynb
Last active June 17, 2019 20:29
Example of Caffe2 fine-tuning
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@koshian2
koshian2 / mobilenet.py
Last active April 23, 2020 09:31
Insert dropout to MobileNet
import tensorflow as tf
from tensorflow.keras.applications import MobileNet
from tensorflow.keras.layers import GlobalAveragePooling2D, Dense, Dropout
from tensorflow.keras.models import Model
from tensorflow.keras.callbacks import History
from tensorflow.contrib.tpu.python.tpu import keras_support
import tensorflow.keras.backend as K
from keras.datasets import cifar10
from keras.utils import to_categorical
@lisawolderiksen
lisawolderiksen / git-commit-template.md
Last active June 17, 2024 07:04
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the