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
class Queue(object): | |
def __init__(self): | |
self.stack1 = Stack() | |
self.stack2 = Stack() | |
def enqueue(self,p): | |
self.stack1.push(p) | |
def dequeue(self): | |
#pop off all in 1 onto 2 |
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
#!/usr/bin/env ruby | |
def show_user_prompt(msg) | |
puts msg | |
# flush our message to display | |
STDOUT.flush | |
return STDIN.gets.chomp | |
end | |
def get_user_input |
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
#!/usr/bin/env ruby | |
# take some text, make it into a big block of warning text | |
# like this: | |
# *********************************************************************************************** | |
# ** !! WARNING !! ** | |
# ** InAppMessageEvent was published, but no subscribers were found. ** | |
# ** This is likely an integration error. Please ensure that the AppboyInAppMessageManager is ** | |
# ** registered as early as possible. Additionally, be sure to call ** |
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
. |
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
#!/usr/bin/env ruby | |
def pbpaste | |
`pbpaste` | |
end | |
# get the raw text | |
papertrail_text = pbpaste() | |
# match for the error types |
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
<resources> | |
<string name="app_name">Thinker</string> | |
<!-- Slides for the intro --> | |
<string name="welcome_slide_title">Welcome to your Trivia Assistant!</string> | |
<string name="welcome_slide_description">I provide answers to trivia questions in the background while you play</string> | |
<string name="what_is_trivia_slide_title">What does a trivia game look like?</string> | |
<string name="what_is_trivia_slide_description">It\'s a question, followed by 3 answers.</string> |
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
{"lastUpload":"2019-08-20T19:07:01.697Z","extensionVersion":"v3.4.1"} |
This file has been truncated, but you can view the full file.
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
Building solution Android (Debug) | |
Build started 8/18/2021 7:14:48 PM. | |
Environment at start of build: | |
COMMAND_MODE = unix2003 | |
XPC_SERVICE_NAME = com.microsoft.visual-studio.6216 | |
ServiceHubUniqueLogDir = vsmac | |
LANGUAGE = en | |
DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR = /usr/local/share/dotnet | |
PATH = /Library/Frameworks/Mono.framework/Commands:/Applications/Visual Studio.app/Contents/Resources:/Applications/Visual Studio.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:~/.dotnet/tools:/usr/local/share/dotnet |
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
package com.radix.triviaassistant.models.util; | |
import android.os.Build; | |
import android.os.Bundle; | |
import com.radix.triviaassistant.BuildConfig; | |
import com.radix.triviaassistant.models.events.AnalyticsSingleton; | |
public class EmulatorDetector { |
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
2017-09-18 19:05:41.970 18651-18692/com.YourCompany.BrazeSample I/MediaPlayer: Need to enable context aware info | |
2017-09-18 19:05:41.970 18651-18692/com.YourCompany.BrazeSample V/MediaPlayer-JNI: native_setup | |
2017-09-18 19:05:41.971 18651-18692/com.YourCompany.BrazeSample V/MediaPlayerNative: constructor | |
2017-09-18 19:05:41.978 18651-18692/com.YourCompany.BrazeSample V/MediaPlayerNative: setListener | |
2017-09-18 19:05:41.987 18651-18692/com.YourCompany.BrazeSample D/UE4: [2017.09.18-23.05.41:987][ 0]LogMoviePlayer: Initializing movie player | |
2017-09-18 19:05:41.990 18651-18692/com.YourCompany.BrazeSample D/UE4: [2017.09.18-23.05.41:990][ 0]LogNiagaraDebuggerClient: Niagara Debugger Client Initialized | Session: 27C2EC554FB498A2D539FCB462D7B150 | Instance: DAD310EE445440A6B722C3C41D6CFF39 (SM-G930V-18651). | |
2017-09-18 19:05:41.992 18651-18692/com.YourCompany.BrazeSample D/UE4: [2017.09.18-23.05.41:992][ 0]LogTcpMessaging: Initializing TcpMessaging bridge, listening on 127.0.0.1:6666 | |
2017-09-18 19:05:42.024 1865 |
OlderNewer