I hereby claim:
- I am petros on github.
- I am petros (https://keybase.io/petros) on keybase.
- I have a public key whose fingerprint is 0258 A4D8 FBE1 6C8A 1072 1C17 79CC 4830 0A0D 3529
To claim this, I am signing this object:
class ApplicationController < ActionController::Base | |
include SessionAuthentication | |
# ... | |
end |
I hereby claim:
To claim this, I am signing this object:
<li>
<span>{{ post.date | date_to_string }}</span> »
{% if post.external-url %}
<a href="{{ post.external-url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a> · <a class="metaperma" href="{{ root_url }}{{ post.url }}">⌘</a> <br />
{% else %} <!-- normal posts -->
<a href="{{ post.url }}"> {{ post.title }}</a>
<!-- {{ post.excerpt }} -->
{% endif %}
//Use List(T) ForEach method | |
myList.ForEach(s => Console.WriteLine(s.ToString())); | |
//instead of: | |
foreach(var s in myList) | |
{ | |
Console.WriteLine(s.ToString()); | |
} |
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> | |
<project name="MyProject" queue="Q1" queuePriority="1"> | |
<modificationDelaySeconds>0</modificationDelaySeconds> | |
<maxSourceControlRetries>15</maxSourceControlRetries> | |
<stopProjectOnReachingMaxSourceControlRetries>true</stopProjectOnReachingMaxSourceControlRetries> | |
<sourceControlErrorHandling>ReportOnRetryAmount</sourceControlErrorHandling> |
puts "Hello world" |
Write "Hello world". |
RESTORE DATABASE MyNewDB | |
FROM DISK = 'D:\MyDB.bak' | |
WITH | |
MOVE 'MyDB_Data' TO 'C:\MSSQL\Data\MyNewDB_Data.MDF', | |
MOVE 'MyDB_Log' TO 'C:\MSSQL\Data\MyNewDB_Log.LDF', | |
REPLACE | |
GO |
if params[:category] != nil | |
@category = params[:category] | |
if @store == "[Uncategorized]" | |
#Get all uncategorized products | |
else | |
category = Category.find(@category) | |
#Get the products from that category | |
end | |
end |
def list_by_filter | |
@filterinfo = [] | |
sql = "select i.* from installations i" | |
sqlconditions = "" | |
if params[:code] != nil | |
@code = params[:code] | |
sqlconditions += "code = '#{@code}'" | |
@filterinfo << "με κωδικό #{@code}" | |
end |