Skip to content

Instantly share code, notes, and snippets.

View angelbotto's full-sized avatar
🏃

Angel Celis Botto angelbotto

🏃
View GitHub Profile
@angelbotto
angelbotto / get_current_wallpaper_location.sh
Created July 21, 2024 01:44
Get Current Wallpaper Location on macOS 15.0
#!/bin/bash
# Get the current wallpaper location on macOS
osascript -e 'tell application "System Events" to tell current desktop to get picture'
@angelbotto
angelbotto / change-arc-icon.md
Created July 12, 2024 00:39 — forked from gabe565/change-arc-icon.md
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@angelbotto
angelbotto / colombia.dpto.json
Created July 18, 2017 16:38
Colombia departamentos geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@angelbotto
angelbotto / whatsapp_phone_enumerator_floated_div.js
Last active May 12, 2017 17:47
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every

Keybase proof

I hereby claim:

  • I am angelbotto on github.
  • I am bottico (https://keybase.io/bottico) on keybase.
  • I have a public key whose fingerprint is 6818 B785 2FCC 7746 0A3F F9A7 5FB3 400B 9445 C11B

To claim this, I am signing this object:

ignore = %w(name dafuq)
replace_with = "*"
data = {
secure: {
name: 'value 1',
last: 'value 2'
},
content: {
dinamic: {
name: 'value 3'
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/build/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var r=n(5),o=i(r),s=n(20),a=i(s),u=n(21),c=i(u),l=n(40),h=i(l),f=n(41),d=i(f),p=n(75),v=i(p),m=n(78),g=i(m),y=n(85),b=i(y),_=n(88),w=i(_);n(91),(0,o["default"])(a["default"].config,h["default"].development),a["default"].use(c["default"]),a["default"].use(d["default"]),a["default"].component("modal",g["default"]),a["default"].component("personal",b["default"]),a["default"].component("billing",w["default"]),new a["default"]({el:"#vlipco",components:[v["default"],g["default"],b["default"],w["default"]]})},,,,,function(t,e,n){t.exports={"default":n(6),__esModule:!0}},function(t,e,n){n(7),t.exports=n(10).Object.assign},function(t,e,n){var i=n(8);i(i.S+i.F,"Object",{assign:n(13)})},function(t,e,n){var i=n(9),r=n(10),o=n(11),s="prot
@angelbotto
angelbotto / check_cpu
Last active September 27, 2015 03:30
checks consul
#!/bin/bash
cpuused=`top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print 100 - $1}'`
critical=90
warning=60
if [[ $cpuused > $critical ]]; then
echo "CPU CRITIC $cpuused"
exit 2
elif [[ $cpuused > $warning ]]; then
echo "CPU HIGH $cpuused"
@angelbotto
angelbotto / pre-commit
Created September 12, 2015 22:32
Run all test before commits :)
#!/bin/bash
git stash -q --keep-index
echo -e "👮 Wait, run all test before commit!\n"
FAILS=`rspec --format progress | grep -E '(\d*) failure(s?)' -o | awk '{print $1}'`
git stash pop -q
if [ $FAILS -ne 0 ]; then