Watch a table for changes and push a notification with a payload describing the change.
In the Postgres shell:
-- Create the functions
Watch a table for changes and push a notification with a payload describing the change.
In the Postgres shell:
-- Create the functions
This explains how to setup for GitHub projects which automatically generates Doxygen code documentation and publishes the documentation to the gh-pages
branch using Travis CI.
This way only the source files need to be pushed to GitHub and the gh-pages branch is automatically updated with the generated Doxygen documentation.
Get an account at Travis CI. Turn on Travis for your repository in question, using the Travis control panel.
To create a clean gh-pages
branch, with no commit history, from the master branch enter the code below in the Git Shell. This will create a gh-pages branch with one file, the README.md
in it. It doesn't really matter what file is uploaded in it since it will be overwritten when the automatically generated documentation is published to th
This explains how to setup for GitHub projects which automatically generates Doxygen code documentation and publishes the documentation to the gh-pages
branch using Travis CI.
This way only the source files need to be pushed to GitHub and the gh-pages branch is automatically updated with the generated Doxygen documentation.
Get an account at Travis CI. Turn on Travis for your repository in question, using the Travis control panel.
To create a clean gh-pages
branch, with no commit history, from the master branch enter the code below in the Git Shell. This will create a gh-pages branch with one file, the README.md
in it. It doesn't really matter what file is uploaded in it since it will be overwritten when the automatically generated documentation is published to th
Before you continue, if you don't know what IMGUI is don't bother reading this post, just ignore it, don't write anything in comments section, etc. If you're curious about IMGUI see bottom of this post, otherwise continue whatever you were doing, this post it's not for you. Thanks!
If you know what IMGUI is, for context read following presentations and blog posts:
########################################################################### | |
# | |
## @file postgres.py | |
# | |
########################################################################### | |
import psycopg2 | |
########################################################################### | |
# |
"""making a dataframe""" | |
df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB')) | |
"""quick way to create an interesting data frame to try things out""" | |
df = pd.DataFrame(np.random.randn(5, 4), columns=['a', 'b', 'c', 'd']) | |
"""convert a dictionary into a DataFrame""" | |
"""make the keys into columns""" | |
df = pd.DataFrame(dic, index=[0]) |
#include <stdio.h> | |
#include <SDL2/SDL.h> | |
#include <SDL2/SDL_image.h> | |
#define WIDTH 800 | |
#define HEIGHT 600 | |
#define IMG_PATH "exit.png" | |
int main (int argc, char *argv[]) { |
import argparse | |
# import data2tabshop | |
# from data2tabshop import __version__ | |
__version__ = '0.1.0' | |
__author__ = u'Steffen Exler' | |
def get_parser(): |
import sys | |
import requests | |
import PyPDF2 | |
import requests | |
import os | |
crossref = 'http://api.crossref.org/' | |
def rename(pdf): | |
"""Rename an academic article pdf file with human readable format |
(Unknown author)
This is one of the classic mistakes of problem solving - you think you understand what's going on, but you didn't look deep enough or get enough information to really get it. Before starting to solve any problem, be sure you spend some time and be absolutely sure you understand exactly what's going in.