I hereby claim:
- I am bspkrs on github.
- I am bspkrs (https://keybase.io/bspkrs) on keybase.
- I have a public key whose fingerprint is 2715 4B22 8424 BE3C F79B DFEE 2E0B E584 6970 E2A3
To claim this, I am signing this object:
#!/bin/bash | |
# Runs pg_dump and runs a file rotation script to manage the files | |
# Author bspkrs ([email protected]) | |
echo Running Backup Script on $(date +"%C%y%m%d %T")... >> /var/lib/pgsql/backup.log | |
stagefolder=/var/lib/pgsql/newdump/ | |
# Run the backup | |
/usr/pgsql-9.3/bin/pg_dump -Fc <databasename> > ${stagefolder}/db_$(date +%C%y%m%d).dmp |
[main] | |
ds = com.mysql.jdbc.Driver | |
ds.serverName = localhost | |
ds.user = user | |
ds.password = password | |
ds.databaseName = db_name | |
jdbcRealm = org.apache.shiro.realm.jdbc.JdbcRealm | |
jdbcRealm.dataSource = $ds | |
jdbcRealm.permissionsLookupEnabled = true |
/** | |
* @(#)StretchIcon.java 1.1 01/15/2016 | |
*/ | |
package com.valsphere.vidval.utils; | |
import java.awt.Component; | |
import java.awt.Container; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.Image; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
usage() | |
{ | |
cat << EOF | |
usage: $0 options | |
This script sets ownership for all tables, sequences, views, and functions for a given schema. | |
Run this script as your postgres OS user. |
# installs to /opt/gradle | |
# existing versions are not overwritten/deleted | |
# seamless upgrades/downgrades | |
# $GRADLE_HOME points to latest *installed* (not released) | |
gradle_version=1.11 | |
wget -N http://services.gradle.org/distributions/gradle-${gradle_version}-all.zip | |
sudo mkdir -p /opt/gradle | |
sudo unzip -uo gradle-${gradle_version}-all.zip -d /opt/gradle/ | |
sudo ln -sfn /opt/gradle/gradle-${gradle_version} /opt/gradle/latest | |
sudo printf "export GRADLE_HOME=/opt/gradle/latest\nexport PATH=\$PATH:\$GRADLE_HOME/bin" | sudo tee /etc/profile.d/gradle.sh > /dev/null |
@Override | |
public void onBlockHarvested(World world, int x, int y, int z, int metadata, EntityPlayer player) { | |
if (!world.isRemote && !player.isSneaking() && (!player.capabilities.isCreativeMode || this.settings.enableCreative) && player.getCurrentEquippedItem() != null) { | |
int type = 0x00; | |
if (this.settings.axes.contains(player.getCurrentEquippedItem().itemID)) { | |
type = 0x01; | |
} else if (this.settings.shears.contains(player.getCurrentEquippedItem().itemID)) { | |
type = 0x02; | |
} else { | |
return; |