Skip to content

Instantly share code, notes, and snippets.

@charset "UTF-8";
/*!
* Marp Dracula theme.
* @theme dracula
* @author Daniel Nicolas Gisolfi
*
* @auto-scaling true
* @size 4:3 960px 720px
* @size 16:9 1280px 720px
*/
#!/bin/bash
set -euo pipefail; [[ -z ${TRACE:-} ]] || set -x
[[ $EUID -eq 0 ]] || die "Root privileges required"
pushd () {
command pushd "$@" > /dev/null
}
require 'zircon'
require 'colorize'
client = Zircon.new(
server: 'irc.twitch.tv',
port: '6667',
channel: '#admiralbulldog',
username: 'username',
password: 'oauth:your_token'
)
#!/bin/sh
# Kaynak: https://www.syslogs.org/openssl-ve-tsa-ile-otomatik-log-imzalayici-shell-script/
# DEGISKENLER
# Imzali dosyalara ait tar.gz dosyasinin ismine eklenecek zaman bilgisi.
tarih=`date "+%Y%m%d-%H%M%S"`
dosya_tarihi=`date "+%Y%m%d"`
wget --no-check-certificate https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install
sudo bash coreos-install -d /dev/sda -C stable -c cloud-config.yaml
#cloud-config
---
hostname: coreos-1
ssh_authorized_keys:
# FOR SSH CONNECT
- ssh-rsa AAAAB3... username@example
# DEIS KEY
- ssh-rsa AAAAB3... deis
@ecylmz
ecylmz / keybase.md
Last active August 29, 2015 14:07
keybase.md

Keybase proof

I hereby claim:

  • I am ecylmz on github.
  • I am ecylmz (https://keybase.io/ecylmz) on keybase.
  • I have a public key whose fingerprint is DA40 5C23 029D 027E D9F7 D189 4DEF 3279 9E3A 02AC

To claim this, I am signing this object:

# encoding: utf-8
require 'benchmark'
str = ' Emre Can Yılmaz '
squeeze_result = Benchmark.measure do
1.upto(1_000_000) { str.squeeze(' ').strip }
end
19 paket deposu (yoksa) ekleniyor...
Temel Deb paketleri kuruluyor...
sudo: aptitude: command not found
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libhighline-ruby1.9.1
E: Couldn't find any package by regex 'libhighline-ruby1.9.1'
Bazı Deb paketlerinin kurulumunda hata oluştu. Tekrar denenerek kuruluma devam edilecek...
sudo: aptitude: command not found