This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
FILENAME=pg_dumpall_$(date +"%Y%m%d-%H:%M:%S").sql.gz | |
else | |
FILENAME=$1 | |
fi | |
FQ_FILENAME=/var/lib/pgsql/backups/$FILENAME | |
su -c "pg_dumpall | gzip -c > $FQ_FILENAME" postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#top-bar { | |
height: auto; | |
} | |
#search { | |
padding: 8px 0; | |
} | |
#lhn-add-subscription-section { | |
height: 48px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://localhost:8080/v1/solution?solutionCategoryId=4942 | |
select | |
this_.id as id3_1_, | |
this_.version as version3_1_, | |
this_.date_created as date3_3_1_, | |
this_.description as descript4_3_1_, | |
this_.import_source as import5_3_1_, | |
this_.import_source_collection_url as import6_3_1_, | |
this_.import_source_url as import7_3_1_, | |
this_.keywords as keywords3_1_, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2012 Peter Doyle (petedoyle at gmail.com) | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storm 3GB SSD instance | |
Filesystem: Ext3 | |
---------------------- | |
root@ssddb1:~# bonnie++ -d tmp -u root | |
... | |
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- | |
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- | |
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP | |
ssddb1.local 5464M 1480 99 888791 77 281107 23 5919 98 608776 26 12463 111 | |
Latency 5591us 55315us 72806us 4821us 89998us 2431us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | |
<style | |
name="Theme.MyTheme" | |
parent="android:style/Theme.Holo"> | |
<!-- Setting windowNoTitle to true would turn off the ActionBar --> | |
<item name="android:windowNoTitle">false</item> | |
<item name="android:windowActionBar">true</item> | |
</style> | |
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends android.support.v4.app.FragmentActivity { | |
// Only one MapView instance is allowed per MapActivity, | |
// so we inflate it in the MainActivity and tie its | |
// lifetime here to the MainActivity. Package scope | |
// so we can grab them from different instances of map | |
// fragments. | |
// | |
// The other option was to make them static, but that causes | |
// memory leaks on screen rotation. | |
View mMapViewContainer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CONFIG: | |
def apiBaseUrl = "http://conf.cotni.org/bigbluebutton/api" // no trailing '/' please | |
def salt = "26f31c52-6d4f-4562-b3c7-fd7857d191ac" | |
def phoneNumber = "360-536-4392" // the number to join the conference via phone | |
def meetingParams = [ | |
name: 71000, | |
meetingID: 71000, | |
attendeePW: 7777, | |
moderatorPW: 8888, |
NewerOlder