#STOP launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
#START launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
| /* | |
| * 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) { |
| /* 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: |
| /* 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: |
| final View homeIcon = findViewById(android.R.id.home); | |
| ((View) homeIcon.getParent()).setVisibility(View.GONE); |
| /* 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: |
| 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 { |
| #!/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() |
| path=%PATH%;node_modules\.bin |
#STOP launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
#START launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
| 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) { |