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
module Rack | |
class Lint | |
def call(env = nil) | |
@app.call(env) | |
end | |
end | |
end |
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
# Maintainer: Serg Podtynnyi <serg@podtynnyi.com> | |
pkgname=nvtop | |
pkgver=3.0.2 | |
pkgrel=1 | |
pkgdesc="GPUs process monitoring for AMD, Intel,NVIDIA and Adreno" | |
url="https://github.com/Syllo/nvtop" | |
arch="aarch64" | |
license="GPL3" | |
depends=" | |
ncurses |
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
set :stage, 'production' | |
set :shared_children, shared_children << 'tmp/sockets' | |
puma_sock = "unix://#{shared_path}/sockets/puma.sock" | |
puma_control = "unix://#{shared_path}/sockets/pumactl.sock" | |
puma_state = "#{shared_path}/sockets/puma.state" | |
puma_log = "#{shared_path}/log/puma-#{stage}.log" | |
namespace :deploy do | |
desc "Start the application" |
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
Mock Version: 1.4.21 | |
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/linux.spec'], chrootPath='/var/lib/mock/clear-linux/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f1c21192ac0>timeout=0uid=1000gid=1000user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.jen2q097:/etc/resolv.conf']unshare_net=TrueprintOutput=True) | |
Using nspawn with args ['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.jen2q097:/etc/resolv.conf'] | |
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6a1b257e9915400ba3c15d991d8d286f', '-D', '/var/lib/mock/clear-linux/root', '-a', '--capability=cap_ipc_lock', '--console=pipe', '--bind= |
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
System Information | |
------------------ | |
Raspberry Pi Zero W Rev 1.1 | |
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" | |
NAME="Raspbian GNU/Linux" | |
VERSION_ID="10" | |
VERSION="10 (buster)" | |
Raspberry Pi reference 2019-09-26 |
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
# http://www.mono-project.com/Compiling_Mono_on_OSX | |
require 'formula' | |
class Mono < Formula | |
#url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2' | |
#sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77' | |
url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2' | |
sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de' | |
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
# Go to the project dir | |
prcd() { | |
project=$* | |
cd $PROJECTS_HOME/$project | |
} | |
# Create new project and cd in the project path and open ST | |
prnew() { | |
mkdir "$PROJECTS_HOME/$*" && cd "$PROJECTS_HOME/$*" && git init | |
} |
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 ShairportSync < Formula | |
desc "AirTunes emulator. Shairport Sync adds multi-room capability." | |
homepage "https://github.com/mikebrady/shairport-sync" | |
url "https://github.com/mikebrady/shairport-sync/archive/2.6.tar.gz" | |
sha256 "d04036241e5a811240c43a3ddfb05a119a6043e8c5f1f354872a88e6cbdaef07" | |
head "https://github.com/mikebrady/shairport-sync.git" | |
depends_on "pkg-config" => :build | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build |
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 | |
if __FILE__ == $0 | |
bundle_name = ARGV[0] if (ARGV[0]) | |
bundle_name = `pwd`.split('/').last.chomp if bundle_name.nil? | |
bundle_name += ".git.bundle" | |
puts "Backing up to bundle #{bundle_name}" | |
`git bundle create ~/Dropbox/backup/git-repos/#{bundle_name} --all` | |
end |
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 | |
require 'httparty' | |
require 'ostruct' | |
require "thor" | |
CLIENT_ID = ENV['DIGITAL_OCEAN_CLIENT_ID'] | |
API_ID = ENV['DIGITAL_OCEAN_API_ID'] |
NewerOlder