pipenv install djongo
add this to settings.py
DATABASES = {
'default': {
'ENGINE': 'djongo',
'ENFORCE_SCHEMA': True,
'NAME': 'db-name',
/* | |
grab the whole line | |
char a[100]; | |
cin.getline(a,100); | |
scanf("%[^\n]",a); | |
gets(a); | |
*/ | |
inline void fastRead_int(int *a) | |
{ |
#include <bits/stdc++.h> | |
using namespace std; | |
#define usingcincout ios::sync_with_stdio(0);cin.tie(0); | |
template <class T> | |
void gint(T& n) { | |
n = 0; | |
int sign=1; | |
register char c=0; | |
while(c<33) |
#include <bits/stdc++.h> | |
using namespace std; | |
#define usingcincout ios::sync_with_stdio(0);cin.tie(0); | |
template <class T> | |
void getInt(T& n) { | |
n = 0; | |
int sign=1; | |
register char c=0; | |
while(c<33) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#include <iostream> | |
#include <cmath> | |
#include <GL/glut.h> | |
#include <GL/glu.h> | |
#include <GL/gl.h> | |
void renderScene() // this function is called when you need to redraw the scene | |
{ | |
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); // clear the scene |
But soft! What light through yonder window breaks? | |
It is the east, and Juliet is the sun. | |
Arise, fair sun, and kill the envious moon, | |
Who is already sick and pale with grief, |
pipenv install djongo
add this to settings.py
DATABASES = {
'default': {
'ENGINE': 'djongo',
'ENFORCE_SCHEMA': True,
'NAME': 'db-name',
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title> <s