Skip to content

Instantly share code, notes, and snippets.

View ivoarch's full-sized avatar

ivoarch (Ivaylo Kuzev) ivoarch

View GitHub Profile
@ivoarch
ivoarch / create_rpmrepo.sh
Created October 1, 2014 19:54
Create RPM Repository for Rhel/CentOS
#!/bin/bash
# Create RPM Repository for Rhel/CentOS
ftpdir="$HOME/Dropbox/Public/rpmrepo"
releases=(el6 el7)
for release in "${releases[@]}"; do
for dir in i386 x86_64 SRPMS; do
pushd "${ftpdir}/${release}/${dir}" >/dev/null 2>&1
createrepo -v .
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 5, 2025 16:57
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@tunnckoCore
tunnckoCore / tunnckoCore-charlike.md
Last active June 6, 2018 05:08
Charlike Mike Reagent (tunnckoCore) - info about me and links

Charlike Make Reagent [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url] Contact me on Codementor

tunnckocore.tk keybase tunnckocore [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]

@kaleocheng
kaleocheng / change_brightness.sh
Last active August 29, 2015 14:03
根据时间改变屏幕的亮度(配合crontab使用)
#!/usr/bin/env bash
#Filename: change_brightness.sh
#这个脚本会根据当前时间来改变系统屏幕的亮度,最好配合crontab来使用,而且我把他放在了/etc/rc.local中开机执行.
current_time=`date +%H`
case $current_time in
0|1|2|3|4|5|6|22|23)
#echo 'Night'
#这一句得用root权限来执行(sudo在这里也不行)
echo 0 > /sys/class/backlight/acpi_video0/brightness
#now=0
@arnested
arnested / README.md
Last active July 5, 2022 13:30
Using Font Awesome in the Emacs mode line

Font Awesome icons in Emacs mode-line

I installed Font Awesome and uses it to make my Emacs mode line look cool:

  • Use the align-left icon for auto-fill-mode.
  • Use the thumbs-up and thumbs-down icons for flymake status (we need to reimplement flymake-report-status to make this happen).
  • Use the tags icon for gtags-mode.

Requirements: diminish.el - I installed it from MELPA.

@ShingoFukuyama
ShingoFukuyama / Font-Awesome-for-Emacs.el
Last active May 3, 2020 11:46
Show Font Awesome icons on Emacs
;; Assume you have already installed Font Awesome on the system
;; http://fortawesome.github.io/Font-Awesome/
(require 'ov)
;; Overlay Library
;; https://github.com/ShingoFukuyama/ov.el
;; Example 1: Insert all fonts at the cursor position
(defun font-awesome-insert-all ()
@red-noise
red-noise / Spotify script for conky
Last active April 29, 2021 04:51
Spotify script for Conky
#This is ho you should edit your conkyrc file in order to get the spotify player.
####################
# - MEDIA PLAYER - #
####################
${if_running spotify}${voffset -2}${font Liberation Sans:style=Bold:size=8}
${voffset -10}${goto 73}Title:
${goto 73}${color2}${exec ~/.conkycolors/spotify/spotify_info_title}${color}
${goto 73}Artist:
@XVilka
XVilka / TrueColour.md
Last active April 27, 2025 10:17
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@ivoarch
ivoarch / zenburn-theme
Created January 4, 2014 15:45
zenburn like color scheme for newsbeuter <http://www.newsbeuter.org/>
# Ivaylo Kuzev <[email protected]>, 2014
# zenburn like color scheme for newsbeuter <http://www.newsbeuter.org/>
color background color188 color237
color info color223 color234
color article color188 color237
color listnormal color188 color237
color listfocus color108 color234
color listnormal_unread color108 color234
color listfocus_unread color234 color108