Skip to content

Instantly share code, notes, and snippets.

View linuxgemini's full-sized avatar

İlteriş Eroğlu linuxgemini

View GitHub Profile
/*
Please do note that this script will not do pulses on colours.
This is due to me not using H(ue) - S(aturation) - B(rightness) format
of Philips.
Written by linuxgemini, MIT License, 2017
*/
#!/bin/bash
DEST=/home/ircbot/hlsbuff/
streamName=run
# don't edit
topkek="*."
FORMAT=m3u8
FORMAT2=ts
@linuxgemini
linuxgemini / ror-inst.bash
Last active July 2, 2024 09:22
ruby on rails installer for ubuntu 16.04 and 17.04
#!/bin/bash
# RoR Automated Install v2
if [[ $(id -u) -eq 0 ]]; then
isSomethingRoot=yes
else
isScriptReady=yes
fi
@linuxgemini
linuxgemini / fcopy.bash
Last active June 18, 2017 23:53
A weird way to move-to a-secure-place&share. Something higher than Ubuntu 12.10 required.
#!/bin/bash
# Move&Share Script v0.1.0 by linuxgemini
# Moves files in the format specified and runs a server daemon.
# Leaves no traces after using "stop" option.
# (Deletes the files in the destination folder (OPTIONAL) and stops the daemon)
SERVICE=vsftpd
SOURCE=/path/to/source/folder/
DEST=/path/to/destination/folder/
/*
SLIGHT MODIFICATIONS MAY BE NECESSARY IF YOU WANT TO RUN THIS COMMAND
ON YOUR BOT
*/
exports.commands = {
"bilgi": {
process: function(<client>, message) {
@linuxgemini
linuxgemini / adbscreenshot-mac.bash
Last active June 18, 2017 23:53
ADB Screenshotter for Mac, Usage (in Terminal): "./adbscreenshot-mac.sh <optional filename>" without quotes. Requires Android Studio, Check the filename<.png> you choose is not present in Desktop. The default is "screen<.png>".
#!/bin/bash
if [ -e ~/Library/Android/sdk/platform-tools/adb ]; then
echo
echo ADB is installed. Go ahead.
echo
echo
else
echo
echo ADB, platform-tools or SDK is not installed. Install it and try again.

Keybase proof

I hereby claim:

  • I am linuxgemini on github.
  • I am linuxgemini (https://keybase.io/linuxgemini) on keybase.
  • I have a public key whose fingerprint is 03B9 8A66 9F30 6CFA 1AC5 A812 8518 57AE F956 0555

To claim this, I am signing this object: