$ kubectl apply -f https://gist.githubusercontent.com/mtsmfm/7d582a83f2c963273612d6dcd8f856c1/raw/6ebaff9d92a062d7cb886ff22bcad57c36f6f1cf/coredns-configmap.yaml
$ kubectl patch deployment coredns -n kube-system --patch "$(curl https://gist.githubusercontent.com/mtsmfm/7d582a83f2c963273612d6dcd8f856c1/raw/6ebaff9d92a062d7cb886ff22bcad57c36f6f1cf/coredns-deployment-patch.yaml)"
$ chectl server:deploy --platform=docker-desktop --domain che.127.0.0.1.nip.io
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
| trap 'kill "${child_pid}"; wait ${child_pid}; exit' TERM INT | |
| ruby -e 'at_exit { sleep 3; p "exit" }; loop { p "sleep"; sleep 1 }' & | |
| child_pid="$!" | |
| sleep infinity & wait |
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 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'pry-byebug' | |
| gem 'activesupport', require: %w[active_support active_support/core_ext/hash] | |
| end | |
| require "open3" |
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
| source "https://rubygems.org" | |
| gem "testgem", path: "." |
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
| apiVersion: v2 | |
| publisher: eclipse | |
| name: che-theia | |
| version: next | |
| type: Che Editor | |
| displayName: theia-ide | |
| title: Eclipse Theia development version. | |
| description: 'Eclipse Theia, get the latest release each day.' | |
| icon: /images/default.png | |
| category: Editor |
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
| apiVersion: v2 | |
| publisher: matklad | |
| name: rust-analyzer | |
| version: latest | |
| type: VS Code extension | |
| displayName: Rust Analyzer | |
| title: Rust Analyzer | |
| description: Rust Analyzer | |
| icon: https://github.com/rust-analyzer/rust-analyzer/raw/master/assets/logo-square.svg | |
| category: Programming Languages |
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 'bundler/inline' | |
| gemfile do | |
| eval File.read(File.join(__dir__, 'Gemfile')) | |
| gem 'js_regex' | |
| gem 'pry-byebug' | |
| end | |
| require_relative 'config/environment' |
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
| chrome.action.onClicked.addListener(() => { | |
| console.log(chrome.tabCapture); | |
| }); |
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 LpGen | |
| INFINITY = Float::INFINITY | |
| module HasMembers | |
| def set_coefficient(var, x) | |
| members << Member.new(var, x) | |
| end | |
| def members | |
| @members ||= [] |
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 'net/http' | |
| require 'uri' | |
| require 'json' | |
| require 'time' | |
| require 'csv' | |
| class NrqlClient | |
| def initialize(api_key:, account_id:) | |
| @api_key = api_key | |
| @account_id = account_id |