Skip to content

Instantly share code, notes, and snippets.

Boboss74 /
Last active Apr 19, 2020
Manage Chrome search engine

Manage search engine chrome


Search engine
URL with %s in the place of query

Google FR
View bookmark-scripts.js
// image-rendering:pixelated
javascript: let e=document.createElement('style');e.innerHTML='img{image-rendering:pixelated}';document.head.appendChild(e)
// prevent leave page
javascript: javascript:window.onbeforeunload=()=>true
View .gitconfig
ui = auto
brancha = branch --all
fetcha = fetch --all --verbose
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
lolaa = log --graph --decorate --all --pretty='%C(auto)%h%Creset%C(auto)%d%Creset %cr %Cblue<%an>%Creset %s' --abbrev-com
Boboss74 / .bash_aliases
Last active Feb 5, 2020
aliases debian/ubuntu (~/.bash_aliases)
View .bash_aliases
alias ll='ls -laF'
# display numerical chmod within ls,
alias lschmod="ls -laF --color=always -F --group-directories-first |awk '{k=0;s=0;for(i=0;i<=8;i++){;k+=((substr(\$1,i+2,1)~/[rwxst]/)*2^(8-i));};j=4;for(i=4;i<=10;i+=3){;s+=((substr(\$1,i,1)~/[stST]/)*j);j/=2;};if(k){;printf(\"%0o%0o \",s,k);};print;}'"
Boboss74 / .bashrc
Last active Jan 7, 2020
Git colored prompt
View .bashrc
# This is a fork of a fork of a fork... of probably
# Add the following lines inside your ~/.bashrc
# START : git, coloration
if [ -z "$PS1_ORIG" ]; then
Boboss74 / mute-spotify-ads.ps1
Last active Feb 8, 2019
Mute spotify advertising: run when ads are starting, then the script will mute during ~50 sec, then unmute
View mute-spotify-ads.ps1
# Mute spotify advertising
# Script powershell Windows 10
# Run when ads are starting, then the script will mute during ~50 sec, then unmute
$obj = new-object -com
Start-Sleep -Seconds 50
Boboss74 / countdown.html
Created Mar 8, 2017
fr countdown
View countdown.html
<!DOCTYPE html>
body {
background-color: #2a2a33;
.content {
padding-top: 120px;
You can’t perform that action at this time.