Skip to content

Instantly share code, notes, and snippets.

View bcalik's full-sized avatar
🦉
Night owl

Burak Çalık bcalik

🦉
Night owl
View GitHub Profile
#!/usr/bin/env php
<?php
/**
* v1.0 - 2020-04-30 06:55:00
* Usage: php install-pritunl <PRITUNL_PROFILE_URL>
* Profile URL must start with "pritunl://
*
* @param array $argv
* @return void
@bcalik
bcalik / add_ssh_key.sh
Last active October 7, 2020 01:29 — forked from faytekin/add_ssh_key.sh
Add my ssh-key to UBUNTU root
#!/bin/bash
# Add my ssh-key to ubuntu root user and active ssh root login
# Login as root or run with sudo
# wget -q -O - "https://gist.github.com/bcalik/7154caad8d7f252c93e4d9efc6e167e9/raw" | bash -
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
@bcalik
bcalik / README.MD
Last active September 17, 2018 00:37 — forked from samdenty/README.MD
VS Code CSS addition to increase readability on file tree.

How to install

Custom CSS plugin

Install the custom CSS plugin, then make a file on your computer that will hold your custom CSS, I like to make one in my home directory called ~/.vscodestyles.css and then add the CSS into it.

Once done, open your command palette and select enable custom CSS and JS

-- Looking for include file fpu_control.h
-- Looking for include file fpu_control.h - not found
-- Looking for include file grp.h
-- Looking for include file grp.h - found
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found