- Create access token for your github user with read rights to org.
- Install github-backup
pip install github-backup
github-backup -t --all -O -P --prefer-ssh
#!/bin/bash | |
#Comment Test | |
#Comment Test | |
#Comment Test | |
#Comment Test | |
#Comment Test | |
export FIRST_LINE=0 | |
export LAST_LINE=0 |
#!/bin/sh | |
export FIRST_LINE=0 | |
export LAST_LINE=0 | |
sleep 1 | |
sed -i'' "$FIRST_LINE,$LAST_LINE s/^/#/" /root/Dropbox/PSA_All_Check | |
sleep 2 | |
from SOAPpy import WSDL | |
SITELINK_URL = "https://api.smdservers.net/CCWs_3.5/CallCenterWs.asmx?WSDL" | |
SITELINK_CORP_CODE = "CCTST" | |
SITELINK_LOC_CODE = "Demo" | |
SITELINK_CORP_LOGIN = "Administrator" | |
SITELINK_CORP_PASS = "Demo" | |
SITE_INFORMATION_PARAMS = { | |
"sCorpCode": SITELINK_CORP_CODE, |
(ns webdev.core | |
(:require [ring.adapter.jetty :as jetty] | |
[ring.middleware.reload :refer [wrap-reload]] | |
[compojure.core :refer [defroutes GET]] | |
[compojure.route :refer [not-found]] | |
[ring.handler.dump :refer [handle-dump]])) | |
(defn about [req] | |
{:status 200 | |
:body "My name is Brandon Orther. I am following along with LispCast's Intro to Web Development with Clojure." |
(def ops | |
{"+" + | |
"-" - | |
"*" * | |
":" /}) | |
;; calc request handler and proof the app's in clojure jerk | |
(defn calc [req] | |
(let [a (Integer. (get-in req [:route-params :a])) | |
b (Integer. (get-in req [:route-params :b])) |
{ | |
"data": { | |
"name": "Brandon", | |
"age": 32 | |
} | |
} |
This is from a facebood post Mehmet Ali 'mali' Akmanalp. These are two comments written by Mehmet Ali 'mali' Akmanalp:
Matt: so with SQLAlchemy the point is that the ORM is laid on top of this lower level SQL generator, so when the ORM is too specific and you need to fall back, you don't have to concatenate strings and you can generate syntactically correct and safe SQL through code. Check it: http://docs.sqlalchemy.org/en/rel_0_9/core/tutorial.html (scroll down for cooler examples).
Matt: let me give you an example from what I'm working on now. So let's say you have a generic query for fetching monthly aggregated import / export values between countries. Sometimes you want to filter by one country. Sometimes you want to filter by 10 countries. Sometimes you want to use the column containing the inflation-adjusted value instead of the regular column. Sometimes you want the average export instead of the total export.
With a low level abstraction layer, I can do stuff like already_complicated_query.fi
.PHONY: help db-gen-migration dev-rqworker dev-machine-api dev-frontend dev-api clean clean-pyc clean-build list test test-all test-aws coverage docs release sdist | |
help: | |
@echo "clean-build - remove build artifacts" | |
@echo "clean-pyc - remove Python file artifacts" | |
@echo "coverage - check code coverage quickly with the default Python" | |
@echo "db-gen-migration - autogenerate alembic migration" | |
@echo "dev-admin - start admin http server for development (uses chaussette)" | |
@echo "dev-api - start api http server for development (uses chaussette)" | |
@echo "dev-dashboard - start dashboard http server for development (uses chaussette)" |
#hdmi_group=2 | |
#hdmi_mode=47 | |
gpu_mem=128 | |
#start_file=start_x.elf | |
#fixup_file=fixup_x.dat | |
start_x=1 |