Skip to content

Instantly share code, notes, and snippets.

View pinkeshbadjatiya's full-sized avatar

Pinkesh Badjatiya pinkeshbadjatiya

View GitHub Profile
Must do or understand
=====================
- Absolute path (Full path) and relative path
- Following commands:
- ls, ls -a, ls -l
The students should be able to tell whether something is a regular
file or a directory using first column of "ls -l" output.
- mkdir, mkdir -p
- rmdir
- rm, rm -rf
http://linux.math.tifr.res.in/linux-manual/howto.html
http://www.tldp.org/LDP/intro-linux/html/intro_10.html
Instructions for Proxy settings on multiple devices and other settings required for IIIT-H: https://self-help.iiit.ac.in/
Search on internet and read about this. If you have any questions then ask them in you labs or in Q & A forum.
- What is a proxy server
- What is Internet
- Difference between various flavors of Linux, eg Ubuntu vs Fedora
- Difference between various desktops, eg Gnome vs. KDE
http://linux.math.tifr.res.in/linux-manual/basic.html
http://www.tldp.org/LDP/intro-linux/html/chap_03.html
http://teaching.idallen.com/dat2330/04f/notes/links_and_inodes.html
https://ptpb.pw/TqaL
@pinkeshbadjatiya
pinkeshbadjatiya / schema.sql
Created July 9, 2016 11:39
SQL schema change(tables) : listen -> listen + listen_json
CREATE TABLE listen (
id SERIAL,
user_id VARCHAR NOT NULL,
ts TIMESTAMP WITH TIME ZONE NOT NULL,
artist_msid UUID NOT NULL,
album_msid UUID,
recording_msid UUID NOT NULL,
listen_json id,
);
@pinkeshbadjatiya
pinkeshbadjatiya / get_and_post.py
Created March 2, 2016 20:38
Lastfm scrapper + ListenBrainz scrobbler | Python
#!/usr/bin/env python
# coding: utf-8
#####################################################################################################
# How to use
# ###################################################################################################
#
# python get_and_post.py
# -> It will push the listens from lastfm to listenbrainz.
# -> Successful working with resolve issues LB-68, LB-87, LB-88 and may be more.