This file contains hidden or 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
    
  
  
    
  | -- change the "new_owner" role before running | |
| SELECT 'ALTER TABLE '|| schemaname || '.' || tablename ||' OWNER TO new_owner;' | |
| FROM pg_tables WHERE NOT schemaname IN ('pg_catalog', 'information_schema') | |
| ORDER BY schemaname, tablename; | |
| SELECT 'ALTER SEQUENCE '|| sequence_schema || '.' || sequence_name ||' OWNER TO new_owner;' | |
| FROM information_schema.sequences WHERE NOT sequence_schema IN ('pg_catalog', 'information_schema') | |
| ORDER BY sequence_schema, sequence_name; | 
  
    
      This file contains hidden or 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 'drop '||lower(object_type)||' '|| object_name||decode(object_type,'TABLE',' cascade constraints;',';') | |
| from user_objects; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | set heading off; | |
| set feedback off; | |
| set echo off; | |
| Set lines 999; | |
| spool run_invalid.sql | |
| select 'ALTER ' || OBJECT_TYPE || ' ' || OWNER || '.' || OBJECT_NAME || ' COMPILE;' | |
| from dba_objects | |
| where status = 'INVALID' | 
  
    
      This file contains hidden or 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 readline from 'readline'; | |
| import util from 'util'; | |
| import chalk from 'chalk'; | |
| let terminal = readline.createInterface(process.stdin, process.stdout); | |
| export default function cli(commands){ | |
| return (new CLI(commands)).repl(); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | static Main(){ | |
| var client = {INSERT_HERE}; | |
| var search = {INSERT_HERE}; | |
| var json = Encoding.UTF8.GetString(client.Serializer.Serialize(search)); | |
| Console.WriteLine(json); | |
| } | 
  
    
      This file contains hidden or 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 static class DateTimeExtensions | |
| { | |
| static readonly Dictionary<double, Func<TimeSpan, string>> RelativeDateMap; | |
| static DateTimeExtensions() { | |
| RelativeDateMap = new Dictionary<double, Func<TimeSpan, string>> { | |
| {0.75, x => "less than a minute"}, | |
| {1.5, x => "about a minute"}, | |
| {45, x => string.Format("{0} minutes", Math.Round(Math.Abs(x.TotalMinutes), 0))}, | |
| {90, x => "about an hour"}, | 
  
    
      This file contains hidden or 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
    
  
  
    
  | function getUuid() { | |
| function _p8(s) { | |
| var p = (Math.random().toString(16) + "000000000").substr(2, 8); | |
| return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; | |
| } | |
| return _p8() + _p8(true) + _p8(true) + _p8(); | |
| }; | 
  
    
      This file contains hidden or 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 Currency | |
| { | |
| /// <summary> | |
| /// Gets or sets the ID of the currency. | |
| /// </summary> | |
| public Guid Id { get; set; } | |
| /// <summary> | |
| /// Gets or sets the ISO currency code. | |
| /// </summary> | 
  
    
      This file contains hidden or 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
    
  
  
    
  | using UnityEngine; | |
| using System.Collections; | |
| using TapjoyUnity; | |
| public class TapjoyIntegration { | |
| public static TJPlacement placementAppLaunch; | |
| public static TJPlacement placementAppClose; | |
| public static GameObject bgmObject; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | ######################## | |
| ## Variables | |
| ######################## | |
| variable "environment_name" { | |
| description = "The name of the environment" | |
| } | |
| variable "vpc_id" { |