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
| [ | |
| { | |
| "tableName": "albums", | |
| "columns": [ | |
| { | |
| "columnName": "AlbumId", | |
| "columnType": "INTEGER", | |
| "isOptional": false, | |
| "foreignKeyReference": null | |
| }, |
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
| maturity_model: | |
| Enhanced Workforce Evolution: | |
| - description: 'Wilderness: View of AI as a replacer, not an augmenter. High levels | |
| of fear.' | |
| level: 0 | |
| - description: 'Minimal AI Exposure: AI tools are either not present or used in | |
| isolated instances.' | |
| level: 1 | |
| - description: 'Introduction of AI-Enhanced Tools: Limited scale introduction of | |
| AI tools, focusing on automating repetitive tasks.' |
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
| from langchain_openai import ChatOpenAI | |
| from langchain_core.prompts import ChatPromptTemplate | |
| from langchain_core.runnables import RunnablePassthrough | |
| from langchain.memory import ConversationBufferWindowMemory | |
| # Initialize the LLM | |
| llm = ChatOpenAI(api_key="xxx") | |
| # Define a prompt template | |
| prompt = ChatPromptTemplate.from_messages([ |
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
| from langchain_openai import ChatOpenAI | |
| from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder | |
| from langchain_core.runnables.history import RunnableWithMessageHistory | |
| from langchain.memory import ConversationBufferMemory | |
| # Initialize the LLM | |
| llm = ChatOpenAI(api_key="xxx") | |
| # Define a prompt template | |
| prompt = ChatPromptTemplate.from_messages([ |
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
| =sum( | |
| indirect( | |
| "'sheet1'!B"&MATCH(query('sheet1'!A:A,"select A where A = '"&A2&"'"),'sheet1'!A:A,0) | |
| ): | |
| indirect( | |
| "'sheet1'!D"&MATCH(query('sheet1'!A:A,"select A where A = '"&A2&"'"),'sheet1'!A:A,0) | |
| ) | |
| ) |
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
| require 'aws-sdk' | |
| require 'json' | |
| file = File.open "example.json" | |
| data = JSON.load file | |
| table = ARGV.shift | |
| data["table"] = table || data["table"] | |
| client = Aws::Lambda::Client.new |
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
| class buildkite::install( | |
| Pattern[/(\d+\.\d+\.\d+|installed)/] $agent_version = $buildkite::agent_version, | |
| $agent_count = 1 | |
| ) { | |
| # more puppet code | |
| if $agent_count > 1 { | |
| range('2', String($agent_count)).each |$extra_agent| { | |
| file { "/usr/lib/systemd/system/buildkite-agent${extra_agent}.service": |
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
| aws_xray_sdk | |
| boto3 | |
| datadog | |
| doubles | |
| flask | |
| flask_ask |
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
| #!/bin/bash | |
| rm -rf modules || true | |
| pip install -r requirements.txt -t modules |
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
| #!/bin/bash | |
| echo "Generatating python modules directory ..." | |
| echo "-----------------------------------------" | |
| echo "" | |
| docker run -v ${PWD}:/working -it python_builder | |
| echo "" | |
| echo "Create code artifact ..." | |
| echo "------------------------" |
NewerOlder