apt-get remove nodejs npm node
sudo apt-get purge nodejs npm node
sudo rm -rvf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules
sudo rm -rfv /usr/local/lib/node*
sudo rm -rfv /usr/local/include/node*
sudo rm -rfv /usr/local/bin/node*
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rec_split(arr=[], start=0, end=0): | |
''' | |
Recursively split list by 2 till end of all sublists to | |
have leaf list of length 1. | |
Example: | |
>>> sl = [2,3,4, 99, 76,12, 5] | |
>>> rec_split(sl) | |
[2, 3, 4] | |
[99, 76, 12, 5] | |
[2] |
- This is a JS/HTML interactive created by Harshit, HBCSE. Planning to get integrated in activity pages as like other CLIx interactives. Generated data will get saved under defined folder hierarchy as JSON file.
- It should be easy to embed in multiple activity pages.
- It should play as like other interactives within activities.
- While students playing the interactive, it should track each and every step and log those detailed data along with inputs and each iterations.
- User Generated Data (UGD) should get persists to server.
- Data persistance should happen at following events:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**1. GIT LOG WITH COMMIT-NO, DATE, AUTHOR, COMMIT-NAME** | |
git log --oneline --name-only --pretty="%h %cd, %an : %s" 7b32cc4...27537cc | |
OUTPUT: | |
27537cc Fri Aug 4 12:37:34 2017 +0530, Kedar Aitawdekar : Merge pull request #1794 from Prachirb/dlkit | |
f4ef8e1 Fri Aug 4 12:35:21 2017 +0530, saurabh : Merge pull request #1780 from kedar2a/dlkit-dev | |
847ee1e Thu Aug 3 19:12:48 2017 +0530, Prachirb : Interaction settings UI modifications | |
gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/clix/clix2017.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dlkit-i2c:/home/docker/code/gstudio/gnowsys-ndf/qbank-lite# pip install cffi==1.7.0 | |
Downloading/unpacking cffi==1.7.0 | |
Downloading cffi-1.7.0.tar.gz (400kB): 400kB downloaded | |
Running setup.py (path:/tmp/pip_build_root/cffi/setup.py) egg_info for package cffi | |
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/local/lib/python2.7/dist-packages (from cffi==1.7.0) | |
Installing collected packages: cffi | |
Running setup.py install for cffi | |
building '_cffi_backend' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Dropdown with HTML5 Datalist</title> | |
<style type="text/css"> | |
datalist{ | |
display: none; | |
} | |
select{ | |
width: 100%; |