Skip to content

Instantly share code, notes, and snippets.

View phlbrz's full-sized avatar
👋
Available

Felipe C. phlbrz

👋
Available
View GitHub Profile
@phlbrz
phlbrz / codepenchallenge-403-forbidden-page.markdown
Created March 8, 2021 04:05
CodePenChallenge: 403 Forbidden Page

CodePenChallenge: 403 Forbidden Page

403 Forbidden Page with SVG illustration, CSS animation and a bit of JS.

A Pen by Felipe Campos on CodePen.

License.

@phlbrz
phlbrz / gist:b9d5fa438ec2dbbc76c2015a3fce4409
Created January 11, 2021 03:41
/etc/pulse/default.pa
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
-load-module module-bluetooth-policy a2dp_source=true hfgw=true auto_switch=2
+load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
-load-module module-bluetooth-discover headset=auto
+load-module module-bluetooth-discover
.endif

Keybase proof

I hereby claim:

  • I am phlbrz on github.
  • I am phlbrz (https://keybase.io/phlbrz) on keybase.
  • I have a public key whose fingerprint is 2CF0 FF25 0A80 4227 4C12 5500 712A FC6F 8F41 4F04

To claim this, I am signing this object:

@phlbrz
phlbrz / diff-recursive-meld.sh
Created February 22, 2017 03:49
Diff Recursive (dir recursive files) using meld to show the diff. usage chmod +x diff-recursive-meld.sh ; ./diff-recursive-meld dir1 dir2
#!/bin/bash
IFS=$'\n'
for file in $(grep -Ilsr -m 1 '.' "$1"); do
if [ "$(diff "$file" "${file/${1}/${2}}")" ] ; then
#sudo meld -n "$file" "${file/${1}/${2}}" &
#no sudo
meld -n "$file" "${file/${1}/${2}}" &
fi
done