Skip to content

Instantly share code, notes, and snippets.

View duluca's full-sized avatar
💭
😎

Doguhan Uluca duluca

💭
😎
View GitHub Profile
@duluca
duluca / package.json
Created September 3, 2014 17:33
remote-retro-hapi
{
"name": "remote-retro-hapi",
"version": "0.0.1-1",
"description": "A tool to host retrospectives for Agile Scrum projects with remote members",
"main": "server.js",
"engines": {
"node": "0.10.x"
},
"scripts": {
"postinstall": "bower install",
@duluca
duluca / Legacy System Modernization.md
Last active April 12, 2017 14:18
What is Legacy System Modernization?

Legacy System Modernization

Here is our understanding of what legacy system modernization is vs. what it isn't -- and the importance of doing it in the first place.

Defining Legacy System Modernization

We modernize to rebuild (and rethink) legacy systems to achieve new levels of scalability, maintainability, and flexibility.

Legacy System Modernization is NOT...:

@duluca
duluca / Outline.md
Last active June 20, 2017 16:39
The JavaScript Promise Outline

The JavaScript Promise

A guide to effective, productive and joyful development experience

The JavaScript Promise is about the promise of JavaScript as a whole, including the language, community, libraries, frameworks and tools, enabling you to be a happier, more effective and productive creator for beginners and seasoned software engineers alike.

If you're an absolute beginner, the JavaScript ecosystem offers the gentlest ramp up possible in any web-ready technology stack to bring you up from zero to hero. You don't need to be a long time coder or have a computer science degree to achieve results with JavaScript.

If you're a professional whose needs scale from a single page website to large scale enterprise deployment, who needs reliability, performance, security, code analysis and automated testing, JavaScript is fully capable of meeting and exceeding these needs and do so in a cost effective manner.

The JavaScript Promise aims to open your mind up to the possibilities that are enabled by the JavaS

@duluca
duluca / config.xml
Created October 26, 2017 14:17
Sample Cordova Config file
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="203091" id="com.excella.central" version="2.3.9" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<name>Excella Central</name>
<description>
Connect with your colleagues.
</description>
<author email="support@excella.com" href="https://www.excella.com">
Excella
</author>
<content src="index.html" />
@duluca
duluca / http-server.js
Created March 12, 2017 00:47
No plug-in http server for Node.js
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8080;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), "public", uri);
@duluca
duluca / common-commands.md
Last active September 11, 2018 14:20
Commonly Used, but Oft-Forgotten CLI Commands

Commonly Used, but Oft-Forgotten CLI Commands

MacOS

  • zip -e my_zip_file.zip your_original_file.docx

SSH

  • ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • eval "$(ssh-agent -s)"
  • ssh-add -K ~/.ssh/id_rsa use this to add existing key to your terminal session

Keybase proof

I hereby claim:

  • I am duluca on github.
  • I am dougi (https://keybase.io/dougi) on keybase.
  • I have a public key ASCO4mKqid0D1Vjc9P3iDzh9SNMkXbugEMCqFbpsybDfrQo

To claim this, I am signing this object:

@duluca
duluca / StartingWithDocker.md
Last active June 30, 2020 02:20
Starting with Docker

What is Docker?

  • Docker is an open platform for developing, shipping, and running applications.
  • Combines a lightweight container virtualization platform with workflows and tooling that help manage and deploy applications.

Why is Containerization Important?

  • Containerization allows for encapsulation of app specific configuration concerns.
  • Encapsulation allows for decoupling of dependencies, so each app can depend on different versions.
  • Simpler dependency management results in a low friction IT environment, less things to learn and break.
  • Low friction allows to ship code faster, test faster, deploy faster, shortening the cycle between writing code and running code.
@duluca
duluca / load-test.sh
Created January 18, 2018 00:11 — forked from bigomega/load-test.sh
A simple bash script to do load (performance) testing of a web service
max="$1"
date
echo "url: $2
rate: $max calls / second"
START=$(date +%s);
get () {
curl -s -v "$1" 2>&1 | tr '\r\n' '\\n' | awk -v date="$(date +'%r')" '{print $0"\n-----", date}' >> /tmp/perf-test.log
}