#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 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 { |
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 ( |
/* The MIT License (MIT) | |
Copyright (c) 2014, Marty Glaubitz | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
/* | |
* USAGE | |
* | |
* var ctx = SP.ClientContext.get_current(); | |
* | |
* var web = ctx.get_web(); | |
* var groups = web.get_siteGroups(); | |
* | |
* ctx.loadAsync([web, groups], function (err, clientObjects) { | |
* if (err) { |
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