Skip to content

Instantly share code, notes, and snippets.

📚
Focusing

Kurian Benoy kurianbenoy

📚
Focusing
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 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");
View file2.txt
Oceans and lakes have much in common, but they are also quite different. Both are bodies of water, but oceans are very large bodies of salt water, while lakes are much smaller bodies of fresh water. Lakes are usually surrounded by land, while oceans are what surround continents. Both have plants and animals living in them. The ocean is home to the largest animals on the planet, whereas lakes support much smaller forms of life. When it is time for a vacation, both will make a great place to visit and enjoy.
View file1.txt
Sunset is the time of day when our sky meets the outer space solar winds. There are blue, pink, and purple swirls, spinning and twisting, like clouds of balloons caught in a blender. The sun moves slowly to hide behind the line of horizon, while the moon races to take its place in prominence atop the night sky. People slow to a crawl, entranced, fully forgetting the deeds that still must be done. There is a coolness, a calmness, when the sun does set.
View docker
# FROM python:3.6
FROM kennethreitz/pipenv as build
FROM python:3.6
ENV PYTHONUNBUFFERED 1
RUN pip install pipenv
RUN mkdir -p /excelplay/excelplay_kryptos
WORKDIR /excelplay/excelplay_kryptos
ADD Pipfile /excelplay/excelplay_kryptos/
ADD Pipfile.lock /excelplay/excelplay_kryptos/
ADD setup.py /excelplay/excelplay_kryptos/
View train.py
# set the matplotlib backend so figures can be saved in the background
import matplotlib
matplotlib.use("Agg")
# import the necessary packages
from keras.preprocessing.image import ImageDataGenerator
from keras.optimizers import Adam
from keras.preprocessing.image import img_to_array
from sklearn.preprocessing import LabelBinarizer
from sklearn.model_selection import train_test_split
View mysite.log
[16/Aug/2018 11:22:00] DEBUG [django.db.backends.schema:124] CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMARY KEY, "app" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "applied" timestamp with time zone NOT NULL); (params None)
[16/Aug/2018 11:22:00] DEBUG [django.db.backends.schema:124] CREATE TABLE "django_content_type" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(100) NOT NULL, "app_label" varchar(100) NOT NULL, "model" varchar(100) NOT NULL); (params None)
[16/Aug/2018 11:22:00] DEBUG [django.db.backends.schema:124] ALTER TABLE "django_content_type" ADD CONSTRAINT django_content_type_app_label_model_76bd3d3b_uniq UNIQUE ("app_label", "model"); (params ())
[16/Aug/2018 11:22:00] DEBUG [django.db.backends.schema:124] CREATE TABLE "auth_permission" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL, "content_type_id" integer NOT NULL, "codename" varchar(100) NOT NULL); (params None)
[16/Aug/2018 11:22:00] DEBUG [django.db.backends.schema:124] CREATE TABLE "auth_group" ("i
You can’t perform that action at this time.