$ 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 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 { createServer } from "http"; | |
import { Writable } from "node:stream"; | |
import { createWriteStream } from "node:fs"; | |
const prettyMemoryUsage = (mem) => { | |
const formattedMemory = Object.entries(mem).map(([key, value]) => { | |
const formattedValue = (value / 1024 / 1024).toFixed(2); | |
return `${key}: ${formattedValue} MB`; | |
}); |
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 React, { useMemo } from "react"; | |
import { CylinderGeometry } from "three"; | |
export const CurvedPlane = ({ | |
width, | |
height, | |
radius, | |
children, | |
}: { | |
width: number; |
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
require "bundler/inline" | |
gemfile do | |
source "https://rubygems.org" | |
gem "rails" | |
gem "pry-byebug" | |
end | |
require "rack/test" |
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
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 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 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 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 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 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' |
NewerOlder