Skip to content

Instantly share code, notes, and snippets.

@cenkalti
cenkalti / tr.yml
Created Oct 8, 2012
Intercom.io locale file Turkish
View tr.yml
tr:
language_name: "Türkçe"
widget:
message_from_app: "<strong>{{#owner}}{{name}}{{/owner}}</strong> {{app_name}}'den"
messages_with_app: "<strong>{{app_name}}</strong> ile olan konuşmalarınız"
message_to_app: "{{app_name}}'ye <strong>Mesajınız</strong>"
new_message_to_app: "{{app_name}}'ye <strong>Yeni mesaj</strong>"
reply: "Yanıtla"
send: "Gönder"
back: "Geri"
@cenkalti
cenkalti / jenkins-home-git.sh
Last active Apr 8, 2022
Backup Jenkins home periodicallly with git.
View jenkins-home-git.sh
#!/bin/bash
# Setup
#
# - Create a new Jenkins Job
# - Mark "None" for Source Control Management
# - Select the "Build Periodically" build trigger
# - configure to run as frequently as you like
# - Add a new "Execute Shell" build step
# - Paste the contents of this file as the command
View python_conversion.md

Python Number Conversion Chart

From To Expression
@cenkalti
cenkalti / json_datetime.py
Created May 10, 2013
Custom encoder and decoder class for using json module with datetime objects.
View json_datetime.py
from __future__ import absolute_import
import json
import datetime
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ" # ISO 8601
class JSONEncoder(json.JSONEncoder):
View keybase.md

Keybase proof

I hereby claim:

  • I am cenkalti on github.
  • I am cenk (https://keybase.io/cenk) on keybase.
  • I have a public key whose fingerprint is 4517 3BCE AB1B 618F 917D FFC1 2DB2 EA6F D1BF 1761

To claim this, I am signing this object:

View genesis_public_key
0442e77cce664925f1bdec69b50013f9873d6c97d9352ba6ef8e68444355bcef57ef285430775e3dfa9c56a11ab4b557fec640a769e0ba4c03f6e933342d72d0a4;paracycle