Skip to content

Instantly share code, notes, and snippets.

View kirillk77's full-sized avatar

Kirill K kirillk77

  • Moscow, Russia
View GitHub Profile
@svetlyak40wt
svetlyak40wt / start-next.sh
Last active January 13, 2018 14:38
Starting nExt browser
# install Roswell: https://github.com/roswell/roswell
# and Qlot: https://github.com/fukamachi/qlot
# they are "must have" tools if you are Common Lisp professional :)
git clone git@github.com:nEXT-Browser/nEXT.git
cd nEXT
echo 'ql :all :latest' > qlfile
qlot install
ros use ccl-bin
@wowbroforce
wowbroforce / insert_build_phases.rb
Created January 7, 2017 21:19
Example of adding 'Shell Script Build Phase' to Xcode project using Fastlane action and Xcodeptoj tool
module Fastlane
module Actions
module SharedValues
INSERT_BUILD_PHASES_CUSTOM_VALUE = :INSERT_BUILD_PHASES_CUSTOM_VALUE
end
class InsertBuildPhasesAction < Action
def self.run(params)
require 'xcodeproj'
@Faheetah
Faheetah / Jenkinsfile.groovy
Last active June 17, 2024 15:05
Jenkinsfile idiosynchrasies with escaping and quotes
node {
echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1'
echo 'No quotes, pipeline command in single quotes'
sh 'echo $BUILD_NUMBER' // 1
echo 'Double quotes are silently dropped'
sh 'echo "$BUILD_NUMBER"' // 1
echo 'Even escaped with a single backslash they are dropped'
sh 'echo \"$BUILD_NUMBER\"' // 1
echo 'Using two backslashes, the quotes are preserved'
sh 'echo \\"$BUILD_NUMBER\\"' // "1"
#!/bin/sh
##
## Create a CISCO AnyConnect VPN Client *.deb from anyconnect-predeploy-linux-*.tar
## Copyright (c) SATOH Fumiyasu @ OSS Technology Corp., Japan
##
## License: GNU General Public License version 3
##
set -u
set -e
@crisidev
crisidev / grafana-dashboard-exporter
Created October 7, 2015 20:35
Command to export all grafana 2 dashboard to JSON using curl
KEY=XXXXXXXXXXXX
HOST="https://metrics.crisidev.org"
mkdir -p dashboards && for dash in $(curl -k -H "Authorization: Bearer $KEY" $HOST/api/search\?query\=\& |tr ']' '\n' |cut -d "," -f 5 |grep slug |cut -d\" -f 4); do
curl -k -H "Authorization: Bearer $KEY" $HOST/api/dashboards/db/$dash > dashboards/$dash.json
done
@hsanjuan
hsanjuan / photo_developing_cheatsheet.md
Last active April 17, 2018 09:27
Photo developing cheatsheet

Photograph developing cheat sheet

Working with ADOX products: http://www.adox.de .

35mm film developing

Requirements

  • Water at 20°C
  • ADONAL: Developer which equals to Rodinal