Skip to content

Instantly share code, notes, and snippets.

View sorinstanila's full-sized avatar

Sorin Valer Stanila sorinstanila

View GitHub Profile
@sorinstanila
sorinstanila / launch.json
Created August 9, 2020 10:22
VScode launch config with parameters
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Hearo Portal",
# Remove all volumes
docker volume rm $(docker volume ls -qf dangling=true)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@sorinstanila
sorinstanila / buergerbot.rb
Created December 21, 2015 20:25 — forked from pbock/buergerbot.rb
Bürgerbot: Refreshes the Berlin Bürgeramt page until an appointment becomes available, then notifies you.
#!/usr/bin/env ruby
require 'watir-webdriver'
def log (message) puts " #{message}" end
def success (message) puts "+ #{message}" end
def fail (message) puts "- #{message}" end
def notify (message)
success message.upcase
system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message
rescue StandardError => e
@sorinstanila
sorinstanila / alice&bob&chuck_usefull_commands
Last active November 25, 2015 11:34 — forked from tsergium/alice&bob_usefull_commands
Alice & Bob&Chuck Usefull Commands
Chuck
==========
* Run migrations:
php application/cli.php intcart_dev dev admin migration execute
Alice & Bob Usefull Commands

API NOTES

sku = sourceSku configSku = configSku

Cart

GET /cart/ - done remove "configSku": from response doc - Ok