Skip to content

Instantly share code, notes, and snippets.

Kurian Benoy kurianbenoy

Block or report user

Report or block kurianbenoy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:cad40da2bb54b545db9147d720bb2c33
## coz
- first year contribution(
- NODE.js + GITHUB
- MOZILLA regional sprints
-
View .emacs
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(inhibit-startup-screen t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
View init.el
(define-skeleton insert-org-entry
"Prompt for task, estimate and category"
nil
'(setq task (skeleton-read "Task: "))
'(setq estimate (skeleton-read "Estimate: "))
'(setq category (skeleton-read "Category: "))
'(setq timestamp (format-time-string "%s"))
"** " task \n
":PROPERTIES:" \n
":ESTIMATED: " estimate \n
View message_buffer
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50festival.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
@kurianbenoy
kurianbenoy / obecttracking.py
Created Jul 12, 2019
OpenCV - Object tracking
View obecttracking.py
import cv2
import numpy as np
cap = cv2.VideoCapture(0)
while(1):
# Take each frame
_, frame = cap.read()
View Chef_and_proxy.cpp
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
int T,D=0;
//string str;
int cp=0,p;
float r;
View error Message
(.env) kurian@Kurian-PC:~/Projects/classify$ dvc run -v -d code/featurization.py -d code/conf.py -d data/Posts-train.tsv -d data/Posts-test.tsv -o data/matrix-train.p -o data/matrix-test.p python code/featurization.py
DEBUG: PRAGMA user_version;
DEBUG: fetched: [(3,)]
DEBUG: CREATE TABLE IF NOT EXISTS state (inode INTEGER PRIMARY KEY, mtime TEXT NOT NULL, size TEXT NOT NULL, md5 TEXT NOT NULL, timestamp TEXT NOT NULL)
DEBUG: CREATE TABLE IF NOT EXISTS state_info (count INTEGER)
DEBUG: CREATE TABLE IF NOT EXISTS link_state (path TEXT PRIMARY KEY, inode INTEGER NOT NULL, mtime TEXT NOT NULL)
DEBUG: INSERT OR IGNORE INTO state_info (count) SELECT 0 WHERE NOT EXISTS (SELECT * FROM state_info)
DEBUG: PRAGMA user_version = 3;
DEBUG: SELECT count from state_info WHERE rowid=1
DEBUG: fetched: [(16,)]
View development-docker-compose.yml
version: '3'
services:
nginx:
image: nginx:latest
container_name: nginx
ports:
- "8011:8011"
volumes:
View anagram.c
#include<stdio.h>
void main()
{
int n,i,j;
char a[100][100];
scanf("%d",&n);
View 1pass.c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void main()
{
FILE *p;
char label[100],opcode[100],operand[100],c;
p = fopen("assembly.txt","r");
You can’t perform that action at this time.