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
psql (9.4.4) | |
Type "help" for help. | |
postgres=# | |
postgres=# SELECT name, current_setting(name), source | |
postgres-# FROM pg_settings | |
postgres-# WHERE source NOT IN ('default', 'override'); | |
name | current_setting | source | |
---------------------------------+----------------------------------+-------------------- | |
application_name | psql | client |
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
SELECT | |
COALESCE(blockingl.relation::regclass::text,blockingl.locktype) as locked_item, | |
blockeda.procpid AS blocked_pid, | |
blockeda.current_query as blocked_query, | |
blockedl.mode as blocked_mode, | |
blockinga.procpid AS blocking_pid, | |
blockinga.current_query as blocking_query, | |
blockingl.mode as blocking_mode | |
FROM pg_catalog.pg_locks blockedl | |
JOIN pg_stat_activity blockeda ON blockedl.pid = blockeda.procpid |
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
SELECT MESSAGE.ID, | |
MESSAGE.SERVER_ID, | |
MESSAGE.RECEIVED_DATE, | |
MESSAGE.PROCESSED, | |
MESSAGE.ORIGINAL_ID, | |
MESSAGE.IMPORT_ID, | |
MESSAGE.IMPORT_CHANNEL_ID, | |
METADATA_IDS | |
FROM | |
( SELECT M.ID, |
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
mirthdb=> SELECT version(); | |
version | |
--------------------------------------------------------------------------------------------------------------- | |
PostgreSQL 9.3.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44), 64-bit | |
(1 row) | |
mirthdb=> SELECT name, current_setting(name), source | |
mirthdb-> FROM pg_settings | |
mirthdb-> WHERE source NOT IN ('default', 'override'); | |
name | current_setting | source |
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
TopMemoryContext: 123760 total in 16 blocks; 2720 free (7 chunks); 121040 used | |
TableSpace cache: 8192 total in 1 blocks; 3216 free (0 chunks); 4976 used | |
Type information cache: 24240 total in 2 blocks; 3744 free (0 chunks); 20496 used | |
Operator lookup cache: 24576 total in 2 blocks; 11888 free (5 chunks); 12688 used | |
TopTransactionContext: 8192 total in 1 blocks; 7368 free (0 chunks); 824 used | |
MessageContext: 4186112 total in 9 blocks; 633960 free (19 chunks); 3552152 used | |
JoinRelHashTable: 8192 total in 1 blocks; 624 free (0 chunks); 7568 used | |
Operator class cache: 8192 total in 1 blocks; 1680 free (0 chunks); 6512 used | |
smgr relation table: 24576 total in 2 blocks; 9808 free (4 chunks); 14768 used | |
TransactionAbortContext: 32768 total in 1 blocks; 32736 free (0 chunks); 32 used |
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
postgres=# SELECT version(); | |
version | |
--------------------------------------------------------------------------------------------------------------- | |
PostgreSQL 9.3.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44), 64-bit | |
(1 row) | |
postgres=# SELECT name, current_setting(name), source | |
postgres-# FROM pg_settings | |
postgres-# WHERE source NOT IN ('default', 'override'); | |
name | current_setting | source |
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
ckage com.vkg; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class ClassGenerator { | |
private static final int BUFFER = 1024; |
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
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class ClassGenerator { | |
private List<Class<?>> classList = new ArrayList<>(); | |
public static void main(String[] args) { |
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
import java.util.*; | |
import java.net.*; | |
public class ShowEth0PrimaryIp { | |
public static final String ETH0 = "eth0"; | |
public static void main(String[] args) throws Exception { | |
System.out.println(new ShowEth0PrimaryIp().getEth0PrimaryIp()); | |
} |
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
<!DOCTYPE html> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Redirecting...</title> | |
<link rel=canonical href="http://www.kehlet.cx/subnetting-is-fun/index.html"> | |
<meta http-equiv=refresh content="0; url=http://www.kehlet.cx/subnetting-is-fun/index.html"> | |
<h1>Redirecting...</h1> | |
<a href="http://www.kehlet.cx/subnetting-is-fun/index.html">Click here if you are not redirected.</a> | |
<script>location='http://www.kehlet.cx/subnetting-is-fun/index.html'</script> |
OlderNewer