Skip to content

Instantly share code, notes, and snippets.

@liorr
liorr / twingate_connectors_upgrade.sh
Last active September 4, 2023 19:40
Twingate connectors upgrade
#!/usr/bin/env bash
set -e
REPO="twingate"
IMAGE=$REPO/connector:latest
CID=$(docker ps -a --format "{{.Names}} {{.Image}}" | grep $REPO | awk '{print $1}')
docker pull $IMAGE
for im in $CID
do
LATEST=`docker inspect --format "{{.Id}}" $IMAGE`
RUNNING=`docker inspect --format "{{.Image}}" $im`
@liorr
liorr / SMPageControl.podspec
Last active December 19, 2015 15:19
SMPageControl pod spec that points to labgoo version of SMPageControl - "https://github.com/Labgoo/SMPageControl.giCloned from the v0.0.1 SMPageControl pod spec.
Pod::Spec.new do |s|
s.name = "SMPageControl"
s.version = "0.0.1"
s.summary = "UIPageControl’s fancy one-upping cousin."
s.description = <<-DESC
Designers love to make beautifully custom page controls that fit in with all the wood,
gradients, and inner shadows they've worked so hard perfecting.
Who can blame them?! SMPageControl makes it dead simple to give them what they want. Even
better, SMPageControl is a drop in replacement for UIPageControl. It mirrors all the functions
@liorr
liorr / nimbus.podspec
Last active December 17, 2015 05:28
Nimbus pod spec that points to labgoo version of nimbus - https://github.com/Labgoo/nimbus.git Cloned from the v1.0 Nimbus pod spec.
Pod::Spec.new do |s|
s.name = 'Nimbus'
s.version = '1.0.0'
s.license = 'Apache License, Version 2.0'
s.summary = 'An iOS framework whose growth is bounded by O(documentation).'
s.homepage = 'http://docs.nimbuskit.info/index.html'
s.author = { 'Jeff Verkoeyen' => 'jverkoey@gmail.com',
'Bubnov Slavik' => 'bubnovslavik@gmail.com',
'Roger Chapman' => 'rogchap@gmail.com',
'Manu Cornet' => 'manu.cornet@gmail.com',