- Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.
- Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.
- Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.
- Business people and developers must work together daily throughout the project.
- Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.
- The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.
- Working software is the primary measure of progress. Agile processes promote sustainable development.
- The sponsors, developers, and users should be able to maintain a constant pace indefinitely.
- Continuous attention to technical excellence and good design enhances agility.
- Simplicity--the
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "bundler" | |
require_relative "lib/importer" | |
Bundler.setup | |
desc "Import from Trello board" | |
task :import do | |
Importer.new(File.dirname(__FILE__)).import ENV["ISSUE"] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
#-- | |
# Name : git_watch.rb | |
# Author : Jerod Santo | |
# Contact : "moc.liamg@otnas.dorej".reverse | |
# Date : 2008 October 14 | |
# About : Checks a git repository for changes and emails provided email | |
# address if changes have been made. Schedule with cron. | |
#-- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// connect to the Slack API | |
let slack = "https://changelog.slack.com/api" | |
let token = Deno.env.get("SLACK_TOKEN") | |
let channel = "C1YNE3WUX" | |
let url = new URL(`${slack}/conversations.members`) | |
url.searchParams.set("token", token) | |
url.searchParams.set("channel", channel) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
mnist = tf.keras.datasets.mnist | |
(x_train, y_train),(x_test, y_test) = mnist.load_data() | |
x_train, x_test = x_train / 255.0, x_test / 255.0 | |
model = tf.keras.models.Sequential([ | |
tf.keras.layers.Flatten(input_shape=(28, 28)), | |
tf.keras.layers.Dense(512, activation=tf.nn.relu), | |
tf.keras.layers.Dropout(0.2), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ping.pingecho uses TCP echo requests, which sucks when you really want | |
# to know if the machine is pingable, ie - it answers ICMP requests | |
# Here's a poor man's replacement for use in a pinch: | |
def pingable?(host, timeout=5) | |
system "ping -c 1 -t #{timeout} #{host} >/dev/null" | |
end |
Many objects in Changelog's system have attachable images. People have avatars. Sponsors have logos. Topics have icons. Etc.
Currently, we attach images by downloading them to our machines and then uploading them via a file input on the forms. An example form:
This is fine, but many times the images already exist on the web somewhere.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
function uncrippleFrame() { | |
var body = this.contentWindow.document.getElementsByTagName('body')[0]; | |
this.contentWindow.onclick = null; | |
body._frame = this; | |
body.onmousemove = function() { | |
this._frame.contentWindow.onclick = null; | |
this.setAttribute('style', '-webkit-user-select: auto;'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def gravatar_url(email, size) do | |
hash = email | |
|> String.strip | |
|> String.downcase | |
|> :erlang.md5 | |
|> Base.encode16(case: :lower) | |
"https://secure.gravatar.com/avatar/#{hash}.jpg?s=#{size}&d=mm" | |
end |
NewerOlder