Skip to content

Instantly share code, notes, and snippets.

View JackieMium's full-sized avatar
🎯
Focusing

JackieMe JackieMium

🎯
Focusing
View GitHub Profile
@indgy
indgy / quiet_boot.sh
Last active April 12, 2022 01:39
FreeBSD Quiet Boot
#!/bin/sh
# Speed up boot slightly
sysrc background_dhclient=YES
sysrc -f /boot/loader.conf autoboot_delay=3
# Quieten boot messages
sysrc rc_startmsgs=NO
sysrc -f /boot/loader.conf boot_mute=YES
sysrc -f /boot/loader.conf beastie_disable=YES
@lilydjwg
lilydjwg / colors.py
Last active November 15, 2024 15:30
colors.py: show all kinds of terminal colors at a glance
#!/usr/bin/python3
from functools import partial
def colors16():
for bold in [0, 1]:
for i in range(30, 38):
for j in range(40, 48):
print(f'\x1b[{bold};{i};{j}m {bold};{i};{j} |\x1b[0m', end='')
print()
@kar9222
kar9222 / my_{colorout}.md
Last active March 31, 2024 02:32
My {colorout}

My {colorout}

First of all, thank you jalvesaq for the great package! 🙏🙏

If you'd like to colorize R terminal output you can use {jalvesaq/colorout}

I customize extra color patterns for

@olinguyen
olinguyen / gsoc-summary.md
Last active December 9, 2018 12:08
GSoC 2017 Shogun Data Project

GSoC 2017 Final Report: Data Project - Patient Monitoring and Decision Support using Health Data

Name: Olivier Nguyen

Mentors: Lea Goetz, Heiko Strathmann

Organization: Shogun Machine Learning Toolbox

Abstract

@muktupavels
muktupavels / toggle-decorations.c
Last active October 7, 2024 02:58
Simple app to toggle window decorations.
/*
* Copyright (C) 2017 Alberts Muktupāvels
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@xccds
xccds / gbm.R
Last active July 13, 2018 02:07
Learn Gradient Boosting Model by coding
# Learn Gradient Boosting Model by coding
# good slide
# http://www.ccs.neu.edu/home/vip/teach/MLcourse/4_boosting/slides/gradient_boosting.pdf
# http://cran.r-project.org/web/packages/gbm/gbm.pdf
#1 Gradient Boosting for Regression
# generate data
generate_func = function(n=1000,size=0.5){