Skip to content

Instantly share code, notes, and snippets.

View o's full-sized avatar
🔥
deleting code

Osman o

🔥
deleting code
View GitHub Profile
@o
o / 1.md
Last active August 14, 2019 09:40
Off season running plan
Day Training Alternative
Monday Rest
Tuesday Intervals
Wednesday Easy run
Thursday Threshold run Fartlek
Friday Rest
Saturday Easy run
Sunday 10K
@o
o / telegraf.conf.toml
Created May 3, 2019 08:59
My Telegraf configuration
[agent]
flush_interval = "10s"
flush_jitter = "0s"
interval = "10s"
round_interval = true
[inputs.cpu]
percpu = false
[inputs.disk]

I'd done a lot of Boot projects before. But never tried multi-module structure.

Here is the my sample structure

Parent project: com.github.o.parent

Just declares org.springframework.boot-spring-boot-autoconfigure

Common project:

@o
o / Post.php
Created January 5, 2016 12:28
Sample Symfony Entity
<?php
namespace __
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\UniqueConstraint;
/**
* Post
*
@o
o / gulpfile.js
Created December 29, 2015 21:16
test for @ademilter
var gulp = require('gulp');
gulp.task('copy', function () {
return gulp
.src('index.js')
.pipe(gulp.dest('dist'))
})
@o
o / p.sh
Created February 5, 2015 09:25
echo "opcache.revalidate_freq=0" >> /etc/php5/mods-available/opcache.ini
echo "opcache.validate_timestamps=0" >> /etc/php5/mods-available/opcache.ini
echo "opcache.max_accelerated_files=7963" >> /etc/php5/mods-available/opcache.ini
echo "opcache.memory_consumption=256" >> /etc/php5/mods-available/opcache.ini
echo "opcache.interned_strings_buffer=16" >> /etc/php5/mods-available/opcache.ini
echo "opcache.fast_shutdown=1" >> /etc/php5/mods-available/opcache.ini
echo "opcache.enable_cli=1" >> /etc/php5/mods-available/opcache.ini
@o
o / gist:43b2817af4d23972faf1
Created December 31, 2014 09:34
Devops engineer
Devops Engineer (Tasit.com, Istanbul, Turkey)
---
Skills:
* System administration experience on Linux. (Debian is a plus.)
* Background in working with private or public cloud.
* Experience with large scale online services.
* Strong understanding of systems networking, firewalls and securing services.
* Ability to write scripts for automation in Bash or Python.
#!/usr/bin/php
<?php
$a = array(
'asd',
'sdf',
'lkj',
'adl',
'fkj',
'das',
@o
o / example.com.conf
Created August 4, 2013 00:48
Symfony2 Nginx Configuration (For production)
upstream php5-fpm-sock {
server unix:/var/run/php5-fpm.sock;
}
server {
listen 80;
server_name domain.com;
root /path/to/domain.com/public_html/web/;
charset utf-8;
@o
o / community-bundle.md
Created July 8, 2013 12:36
ImportCommunityBundle

I need your help guys. This is the short brief for the our community driven project like Google groups. My goal is the made done this with Symfony2 Standard Edition.

Features:

  • Clean, minimalistic layout.
  • Question / answer system.
  • User login / registration.
  • Filters for questions: Topics i started, Topics i answered, Topics i participated, Nobody replied, Modified within date, Started within date, marked as complete.
  • Powerful search (Will be done with ElasticSearch or something like that)
  • Email features: Instant emails for new topics, instant emails for new answers, Daily summaries, replying topic through email. (Emails will be queued to RabbitMq and processed)