Skip to content

Instantly share code, notes, and snippets.

Avatar

Maxwell Pray synthead

View GitHub Profile
View PKGBUILD
# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=php71-apcu
pkgver=5.1.10
pkgrel=1
arch=('x86_64')
pkgdesc='A userland caching module for PHP'
url='https://pecl.php.net/package/APCu'
depends=('php71')
View unifi-import-ssl.sh
#!/bin/bash
ALIAS=unifi
CANAME=root
PASSWORD=aircontrolenterprise
KEYSTORE=/usr/lib/unifi/data/keystore
TEMP_P12_FILE=.${0##*/}.$$.p12
openssl \
pkcs12 \
View PKGBUILD
# Maintainer: larte <lauri.arte@gmail.com>
# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
pkgname=kubectl-bin
pkgdesc="Kubernetes.io client binary"
pkgver=1.4.6
pkgrel=1
arch=('i686' 'x86_64')
url="http://kubernetes.io"
license=('apache')
View PortStatisticsRpm.htm
<script>
var max_port_num = 8;
var port_middle_num = 16;
var all_info = {
state:[1,1,1,1,1,1,1,1,0,0],
link_status:[6,5,6,6,6,0,0,0,0,0],
pkts:[2122543,0,3700387,0,3680568,0,2159940,0,12396,0,5219,0,373395,0,315254,0,7230,0,595,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
};
var tip = "";
</script>
View PKGBUILD
# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
# Contributor: Jeramy Rutley <jrutley@gmail.com>
pkgname=(ruby-svn ruby-docs-svn)
pkgver=54049M
pkgrel=1
arch=(i686 x86_64)
url='http://www.ruby-lang.org/en/'
View gist:4a287f993008138113fb
...
group :development, :test do
...
gem "pry-rails"
...
end
View README.md

Setting up a new Yeoman project using the sp2010 rest emulator:

  1. Create a new Yeoman project, eg: $ yo webapp my-project.
  2. Install the SharePoint 2010 rest emulator $ npm install sp2010-rest --save-dev.
  3. Add the rest emulator as middleware to any connect servers in your project's [Gruntfile.js][Gruntfile].
  4. Create a 'lists' folder in your project, and fill it with a copy of the json REST response (eg: /_vti_bin/listdata.svc/Documents -> [demo-list.json][json]) for any SharePoint lists you would like to emulate.

Deploying a Yeoman project to a sp2010 server:

  1. Map a network drive to SharePoint.
View Error from puppet agent
# puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class swftools for gitrdun on node gitrdun
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
You can’t perform that action at this time.