Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

neuthral neuthral

🎯
Focusing
  • finland
View GitHub Profile
View ipfs-public_gateways.json
[
"https://ipfs.io/ipfs/:hash",
"https://:hash.ipfs.dweb.link",
"https://gateway.ipfs.io/ipfs/:hash",
"https://ipfs.infura.io/ipfs/:hash",
"https://ninetailed.ninja/ipfs/:hash",
"https://ipfs.globalupload.io/:hash",
"https://10.via0.com/ipfs/:hash",
"https://ipfs.eternum.io/ipfs/:hash",
"https://hardbin.com/ipfs/:hash",
View keybase.md

Keybase proof

I hereby claim:

  • I am neuthral on github.
  • I am greenlion (https://keybase.io/greenlion) on keybase.
  • I have a public key ASBxkjeTDfLFboh9h35hqNAYxfJepggbh59TYgHuFc23Nwo

To claim this, I am signing this object:

@neuthral
neuthral / layout.blade.php
Created Sep 5, 2019
Telescope/resources/views/layout.blade.php - assets dirty fix
View layout.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="shortcut icon" href="telescope.ico">
<title>Telescope{{ config('app.name') ? ' - ' . config('app.name') : '' }}</title>
@neuthral
neuthral / getBlockLists.sh
Created Jul 2, 2019 — forked from johntyree/getBlockLists.sh
Make one large blocklist from the bluetack lists on iblocklist.com
View getBlockLists.sh
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
@neuthral
neuthral / handler.php
Created Jun 1, 2019
Laravel log stack one line
View handler.php
<?php
namespace App\Exceptions;
use Log;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
@neuthral
neuthral / lazygit
Created Dec 12, 2018
Lazy git add, commit, push
View lazygit
Building off of @Gavin's answer:
Making lazygit a function instead of an alias allows you to pass it an argument. I have added the following to my .bashrc (or .bash_profile if Mac):
function lazygit() {
git add .
git commit -a -m "$1"
git push
}
@neuthral
neuthral / vpn_autoconnect.sh
Created Nov 11, 2018
vpn autoconnect #cli #network
View vpn_autoconnect.sh
#! /bin/bash
REQUIRED_CONNECTION_NAME="Wired connection 1"
VPN_CONNECTION_NAME="bender"
activ_con=$(nmcli con status | grep "${REQUIRED_CONNECTION_NAME}")
activ_vpn=$(nmcli con status | grep "${VPN_CONNECTION_NAME}")
if [ "${activ_con}" -a ! "${activ_vpn}" ];
then
@neuthral
neuthral / vncServer.sh
Created Nov 11, 2018
vnc server example #cli #vnc
View vncServer.sh
#!/bin/bash
/opt/TurboVNC/bin/vncserver -3dwm -geometry 1280x720
@neuthral
neuthral / thread.html
Created Nov 11, 2018
Easily modify dependencies of a .deb file #deb #cli #debian #ubuntu
View thread.html
Ubuntu Forums
HOWTO: Easily modify dependencies of a .deb file
Printable View
Show 75 post(s) from this thread on one page
Page 1 of 3123NextLastLast
December 10th, 2007Loevborg
HOWTO: Easily modify dependencies of a .deb file
Save the following script as "videbcontrol",
Code:
@neuthral
neuthral / system_backup.sh
Created Nov 11, 2018
system backup script #cli #backup
View system_backup.sh
#!/usr/bin/env bash
sudo nice tar czf /media/bender/STOREJET/system_backup.tar.gz --exclude=/home \
--exclude=/media --exclude=/dev \
--exclude=/mnt --exclude=/sys \
--exclude=/run --exclude=/proc /
You can’t perform that action at this time.