I hereby claim:
- I am willgarcia on github.
- I am willgarcia (https://keybase.io/willgarcia) on keybase.
- I have a public key ASDByKo0el7Rv-t3cgFr5SVn_1AG4gWUo4hetLx1gfjT_Ao
To claim this, I am signing this object:
# Index tracker and rebalancer | |
## Installation | |
``` | |
npm install | |
``` | |
## Configuration and usage |
I hereby claim:
To claim this, I am signing this object:
brew update; brew upgrade --cleanup; brew cask cleanup; brew prune; brew cleanup --force; upgrade_oh_my_zsh; istats |
0 🍒 chatbot/ $ for i in $(seq 5 100); do aws lambda delete-function --function-name chatbot-FBMessageEvent-DWQ6NCE7L0C5 --qualifier $i --region us-east-1; done |
I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.
So it might be really unintuitive at first but lambda functions have three states.
#!/bin/bash | |
set -e | |
AWS_FUNCTIONS=$(aws lambda list-functions --query "Functions[].FunctionArn") | |
for func in $AWS_FUNCTIONS | |
do | |
CMD="aws lambda delete-function --function-name $func" | |
echo $CMD | |
$CMD |
source 'https://rubygems.org' | |
gem "table_print" |
class test::config inherits test::params { | |
exec { | |
"hello": | |
command => "/bin/mv ${file} /tmp/test", | |
require => Class['test::install'], | |
} | |
} | |
class test { | |
$foo = [ |
class test { | |
$foo = [ | |
{'volume' => '/tmp/vol1', 'size' => '60'}, | |
{'volume' => '/tmp/vol2', 'size' => '600'}, | |
] | |
define myResource { | |
$file_path = "${name['volume']}/${name['size']}" | |
file { $file_path: |
OS X and Linux | |
Removing Prey from Unix-based systems is quite straightforward. You just need to open a terminal (OS X, Linux) and run the following command: | |
sudo /usr/lib/prey/current/bin/prey config hooks pre_uninstall && sudo rm -rf /usr/lib/prey /var/log/prey.log /etc/prey | |
That will effectively delete all traces of Prey from your system. | |
Android | |
Prey for Android is a bit difficult to remove because thieves shouldn't have it easy. If you're sure you don't need this protection anymore, please follow these instructions: | |
On the device, go to Global Settings > Security > Device administrators. | |
Disable permissions for Prey. |