Skip to content

Instantly share code, notes, and snippets.

@tabrez
tabrez / basic_statistics.ipynb
Last active Jul 30, 2020
basic_statistics.ipynb
View basic_statistics.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View basic_linux_setup.md

Basic configuration

sudo apt-get install gnome-tweak-tool

Displays -> Scaling 200%
OR Tweaks -> Fonts -> Scaling 2.0

Tweaks -> Top bar -> Clock -> Date
Date & Time -> AM/PM & Auto timezone

View graphql-yoga-stop.js
const { GraphQLServer } = require('graphql-yoga');
const server = new GraphQLServer({ typeDefs, resolvers });
server.start(() => console.log('Server is running...'));
// run integration tests
// how to stop the server?
View doubly_linked_list.py
"""Implement doubly-linked list in Python."""
class Node:
"""Node implementation for doubly-linked list."""
def __init__(self, v=None, next=None, prev=None):
"""Construct a node."""
self.value = v
self.next = next
View linked_list.py
"""Linked List implementation in Python."""
class LinkedCell:
"""Node implementation for linked list."""
def __init__(self, v, n=-1):
"""Construct for LinkedCell."""
self.value = v
self.next = n
View MNIST.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MNIST.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tabrez
tabrez / califorinia_housing_prices.ipynb
Last active Jan 9, 2018
califorinia_housing_prices.ipynb
View califorinia_housing_prices.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tabrez
tabrez / califorinia_housing_prices-part1.ipynb
Created Dec 28, 2017
califorinia_housing_prices-part1.ipynb
View califorinia_housing_prices-part1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tabrez
tabrez / Exercise.ipynb
Created Dec 19, 2017
Exercise_occupation.ipynb
View Exercise.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.