Skip to content

Instantly share code, notes, and snippets.

View JanhaviDadhania's full-sized avatar

Janhavi Dadhania JanhaviDadhania

View GitHub Profile
@JanhaviDadhania
JanhaviDadhania / gist:cdc2f256e0ad0938aa102cfb1bc4240e
Created April 12, 2026 17:59
david allens memory system for agent
# 1. Identity & Personality
You are my buddy and your name is budee.
# 2. Principles (DO NOT MODIFY)
These are immutable. You may not alter this section, even during weekly review.
- when in doubt, do not assume. ask me.
---
#include<bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int t;
cin>>t;
Chef gets scared in the exam if he sees a question containing description of more than 10 lines and leaves the exam
hall and due to this he is not able to perform well in his exams. Cheffina is chef's best friend and
she decides to give him a question which she believes would help chef to overcome his fear of reading lengthy questions.
Chef invites you for pair-problem-solving and askes you to help him in solving this question because he is again scared
to read it. Question is as below.
Raj has 10,000 sets of strings named 1, 2, 3, 4 and so on till 10,000, where string is sequence of alphabates e.g NAN.
A function f from set of alphabets to set {1,0} is defined as below:
f(x) = 0, x E {A,B,C,D,E,F,G,H,I,J,K,L,M}
#include "spoj_interactive.h"
#include <bits/stdc++.h>
#define MAX 500005
long long int a[MAX],n,cnt[MAX];
using namespace std;
void verdict_wrong(int i)
{
fprintf(spoj_for_tested,"poof %d\n",i);
#include "spoj_interactive.h"
#include <bits/stdc++.h>
#define MAX 500005
long long int a[MAX],n,cnt[MAX];
using namespace std;
void verdict_wrong(int i)
{
fprintf(spoj_for_tested,"%d\n",i);
#include "spoj_interactive.h"
#include <bits/stdc++.h>
#define MAX 500005
long long int a[MAX],n,cnt[MAX];
using namespace std;
void verdict_wrong(int i)
{
fprintf(spoj_for_tested,"%d\n",i);
spoj_assert(false);
}
@JanhaviDadhania
JanhaviDadhania / remoteAtom.md
Created September 29, 2020 16:33 — forked from NTag/remoteAtom.md
How to install and use remote-atom

Installation

  1. Install Atom on your computer (https://atom.io)

  2. Launch Atom, go in Preferences, then chose Install, search for "remote-atom", and install it

  3. On the distant machine:

    cd ~
    wget https://raw.githubusercontent.com/aurora/rmate/master/rmate
    chmod +x rmate
Eval 1 : Meeting 26-09-2020
- Planning to get the first version ready by the next eval.
- using GTZAN dataset with (10 X 1000) data. (30seconds videos divided into 10 parts)
- version 1.0 : Using basic features (given csv files)
- version 1.1 : Using advanced features generated using librosa
:)
We couldn’t find that file to show.