#STOP launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
#START launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
import csv | |
import dataclasses | |
import json | |
import io | |
import os | |
import os.path | |
import subprocess | |
import sys | |
import urllib.parse | |
import urllib.request |
import csv | |
import datetime | |
import io | |
import sys | |
import urllib.request | |
import xml.dom.minidom | |
def get_sitemap_urls(sitemap_url): | |
response = urllib.request.urlopen(sitemap_url) |
#include <iostream> | |
#include "select_driver.h" | |
IrrlichtDevice* createDeviceWithBestGraphicsDriver(dimension2d<u32> resolution) | |
{ | |
for (auto driverType : driverTypesByPreference) | |
{ | |
IrrlichtDevice *result = createDevice( driverType, resolution, 16, |
import json | |
import sqlite3 | |
def load_jcr_json(filePath: str): | |
with open(filePath) as file: | |
return json.load(file) | |
nodes_scheme = ''' | |
CREATE TABLE IF NOT EXISTS nodes ( |
package de.schlankr.utils; | |
import android.support.annotation.IdRes; | |
import android.view.View; | |
import rx.subjects.PublishSubject; | |
public class SubjectClickListener <V> implements View.OnClickListener { | |
public static <V> SubjectClickListener<V> get(final PublishSubject<V> publishSubject, final View clickTarget, final View tagTarget, @IdRes final int listenerId) { |
#STOP launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
#START launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
path=%PATH%;node_modules\.bin |
#!/usr/bin/python -u | |
import argparse | |
import subprocess | |
import time | |
parser = argparse.ArgumentParser(description='Pull a memory profile of an running process') | |
parser.add_argument('pid', nargs='+', help='The apps process id') | |
args = parser.parse_args() |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.support.v8.renderscript.Allocation; | |
import android.support.v8.renderscript.Element; | |
import android.support.v8.renderscript.RenderScript; | |
import android.support.v8.renderscript.ScriptIntrinsicBlur; | |
import com.squareup.picasso.Transformation; | |
public class GaussianBlurTransformation implements Transformation { |