- Herşey bir
Object
(Nesne) - Her
Object
BasicObject
den türemiş. (Objective-C NSObject gibi...) Object.methods
ile o nesneye ait tüm method'larObject.methods.inspect
string olarak method'lar- Mutlaka bir şey geriye döner. Hiçbir şey dönmese
nil
döner.
;;; Non-interactively save all selected regions as separate files | |
(define (script-fu-export-selected-regions image drawable) | |
;; Start | |
(gimp-image-undo-group-start image) | |
;; If there are selections | |
(when (= 0 (car (gimp-selection-is-empty image))) | |
(let ((number 1) (prefix "") (suffix "")) | |
;; Construct filename components | |
(let* ((parts (strbreakup (car (gimp-image-get-filename image)) ".")) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This is my response to an email asking about Domain-Driven Design in golang project.
Thank you for getting in touch. Below you will find my thoughts on how golang works with DDD, changing it. This is merely a perception of how things worked out for us in a single project.
That project has a relatively well-known domain. My colleagues on this project are very knowledgeable, thoughtful and invested in quality design. The story spelled out below is a result of countless hours spent discussing and refining the approach.
Conclusions could be very different, if there was a different project, team or a story-teller.
There are three easy to make mistakes in go. I present them here in the way they are often found in the wild, not in the way that is easiest to understand.
All three of these mistakes have been made in Kubernetes code, getting past code review at least once each that I know of.
- Loop variables are scoped outside the loop.
What do these lines do? Make predictions and then scroll down.
func print(pi *int) { fmt.Println(*pi) }
Security - the elephant in the room. Everyone agrees that it is very important but few takes it seriously. We at RisingStack want you to do it right - this is why we have put together this checklist to help you guide through the must have security checks before your application is enabled to thousands of users/customers. | |
Most of these items are general and applies to all languages and frameworks not just Node.js - however some of the tools presented are Node.js specific. You should also check our introductory Node.js security blogpost. | |
Configuration Management | |
Security HTTP Headers | |
There are some security-related HTTP headers that your site should set. These headers are: |
JALE | |
ALİ | |
MAHMUT | |
MANSUR KÜRŞAD | |
GAMZE | |
MİRAÇ | |
YÜCEL | |
KUBİLAY | |
HAYATİ | |
BEDRİYE MÜGE |
ŞEN | |
KANDEMİR | |
ÇEVİK | |
ERKURAN | |
TÜTEN | |
ÖZTÜRK | |
YÜZBAŞIOĞLU | |
VURAL | |
YÜCEL | |
SÖNMEZ |
# the first thing we specify in a Dockerfile is the base image. | |
# This is essentially bare bones alpine linux with node installed. | |
FROM node:7.5.0-alpine | |
# Creates a non-root-user. | |
RUN addgroup -S nupp && adduser -S -g nupp nupp | |
# Sets the HOME environment variable. | |
ENV HOME=/home/nupp |