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
| # Generated by tep 2026-06-17 11:45:47 from serve.rb | |
| # --- inlined: tep/version.rb --- | |
| module Tep | |
| VERSION = "0.11.4" | |
| end | |
| # --- inlined: spinel_kit/hex.rb --- | |
| # VENDORED from OriPekelman/spinelkit @ 09e8558 -- DO NOT EDIT HERE. | |
| # Edit upstream and re-sync with `make vendor-spinelkit`. | |
| # SpinelKit::Hex -- hex digit/byte encode + decode: the pieces every Spinel |
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
| Self-service keeps you honest. Enterprise wants consumer-grade. | |
| % | |
| Your users are actually on another platform. Be where your users are. | |
| % | |
| You can’t have empathy for customers if you don’t have empathy for your colleagues. | |
| % | |
| Everybody is in sales: Ops. Engineering. Support. Everybody. Hopefully sales are also in sales. | |
| % | |
| Always work in tandem: one of THEM and one of US. Whomever “us” and “them” may be. One hot-head, one conservative. One sales, one engineering. We’re both wrong, and right is often somewhere in the middle. | |
| % |
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
| version: 1 | |
| info: | |
| id: platformsh/express-bun | |
| name: Express on Bun 1.0 | |
| description: | | |
| <p>This unofficial template demonstrates building the Express framework for Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server. It is intended for you to use as a starting point and modify for your own needs.</p> | |
| <p>Express is a minimalist web framework written in Node.js.</p> | |
| class: starter | |
| featured: true |
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
| #.platform/applications.yaml | |
| - name: vault | |
| type: 'golang:1.15' | |
| source: | |
| root: vault | |
| disk: 1024 | |
| hooks: | |
| build: ./vault-install.sh | |
| mounts: | |
| "/data": |
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
| echo "[0;1;36;46m;[0;1;36;47m8[0;5;36;44m [0;5;37;46m8[0;37;46mX[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[0;36;47m8[0;5;1;34;46m8[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
| #!/usr/bin/env ruby | |
| require "base64" | |
| require "json" | |
| if ARGV.length != 3 then #expecting precisely 3 arguments | |
| puts "usage: rels_to_env [relationship name] [environment variable prefix] [start command]\n\nExample:\nexport_rels mysql DB \"java -jar myapp.jar\"\n\noutput:\nexport DB_HOST=\"database.internal\”\nexport DB_PORT=...\n" | |
| else | |
| rels = JSON.parse(Base64.decode64(ENV['PLATFORM_RELATIONSHIPS'])) | |
| rel_name= ARGV[0] | |
| prefix = ARGV[1] |
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
| cat /var/log/php.access.log| awk '{print $6}' | sort -n | awk ' BEGIN { c = 0; sum = 0; min = 0; max =0 } {c++; a[c] = $1; sum += $1;} END { ave = sum / c; if( (c % 2) == 1 ) { median = a[ int(c/2) ]; } else { median = ( a[c/2] + a[c/2-1] ) / 2; min=a[0]; max = a[c-1]; } OFS="\t"; print "Count", "Average", "Median", "Min", "Max"; print c, ave, median, min, max; }' |
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
| /** | |
| * Automatically Create named ranges for each column | |
| * | |
| * NOTE THAT IT DESTORYS ALL OTHER NAMED RANGES ON EVERY EDIT IN EVERY SHEET | |
| * | |
| * Public Domain by Ori Pekelman (2017) | |
| **/ | |
| function addNamedRanges(SS, s, number_of_sheets){ |
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
| dependencies: | |
| ruby: | |
| "wkhtmltopdf-binary": "> 0.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
| #!/bin/sh | |
| KERNEL="/Users/oripekelman/Sites/xhyve-platform/tmp/cd/install.386/vmlinuz" | |
| INITRD="initrd.img" | |
| CMDLINE="modules=sd-mod,ext4,console quiet console=ttyS0 acpi=on" | |
| MEM="-m 1G" | |
| NET="-s 2:0,virtio-net" | |
| IMG_HDD="-s 4,virtio-blk,hdd.img" |
NewerOlder