This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
0 AS "zero_sum", | |
(0 + COUNT("pizza"."id")) | |
FROM "pizza" | |
zero_sum | complex_sum | |
--------- | ----------- | |
0 | 100 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
ffmpeg -i $1 -vf "transpose=1","crop=2" -an -f image2pipe -vcodec ppm - | montage ppm:- -tile x1 -mode concatenate - | convert - -flop scanimage.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from flask import Flask, render_template, url_for, redirect, request | |
import os | |
tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), './') | |
app = Flask(__name__, template_folder=tmpl_dir) | |
@app.route("/", methods=['GET', 'POST']) | |
def index(): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## git status in prompt | |
find_git_status() { | |
local c_red='\[\e[31m\]' | |
local c_green='\[\e[32m\]' | |
local c_clear='\[\e[0m\]' | |
ps1pc_start="$1" | |
ps1pc_end="$2" | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "ip_gits_test" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
NewerOlder