Skip to content

Instantly share code, notes, and snippets.

View syaleni's full-sized avatar
💭
Testing 1 2 3

Siavash Habibi syaleni

💭
Testing 1 2 3
  • Vira Web Solutions
  • Richmond Hill, ON.
View GitHub Profile
@syaleni
syaleni / NBCC2005TableC-2 Alberta.csv
Created January 5, 2021 17:27
NBCC2005 Table C-2
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 22 columns, instead of 11 in line 8.
CityName,Elevation,DesignTemperatureJan2.5,DesignTemperatureJan1.0,DesignTemperatureJulDry,DesignTemperatureJulWet,Degree-DaysBelow18,15MinRain,OneDayRain1/50,AnnRain,MoistIndex,AnnTotPpn,DrivingRainWindPressures1/5,Ss,Sr,q1/10,q1/50,Sa(0.2),Sa(0.5),Sa(1 .0),Sa(2.0),PGA
Athabasca,515,-35,-38,28,19,6000,18,86,370,0.58,480,80,1.5,0.1,0.30,0.40,0.12,0.056,0.023,0.006,0.059
Banff,1400,-30,-32,27,17,5500,18,65,300,0.58,500,120,3.6,0.1,0.39,0.48,0.24,0.14,0.066,0.037,0.12
Barrhead,645,-34,-37,28,19,6000,20,86,375,0.58,475,100,1.7,0.1,0.32,0.44,0.12,0.056,0.023,0.008,0.059
Beaverlodge,730,-35,-38,28,18,5900,25,92,315,0.49,470,100,2.4,0.1,0.27,0.36,0.13,0.078,0.039,0.022,0.070
Brooks,760,-32,-34,32,19,5200,18,86,260,0.26,340,220,1.2,0.1,0.39,0.52,0.12,0.056,0.023,0.012,0.059
Calgary,1045,-31,-33,29,17,5200,23,103,325,0.37,425,220,1.1,0.1,0.40,0.50,0.15,0.084,0.041,0.023,0.088
Campsie,660,-34,-37,28,19,6000,20,86,375,0.58,475,100,1.7,0.1,0.32,0.44,0.12,0.056,0.023,0.009,0.059
Camrose,740,-33,-35,29,19,5700,20,92,355,0
/**
* Shunting yard algorithm
* See: http://en.wikipedia.org/wiki/Shunting_yard_algorithm
*
* Converts infix notation to postfix notation
*
* by Dmitry Soshnikov <[email protected]>
* MIT Style License
*/
@syaleni
syaleni / index.html
Created August 13, 2019 01:05
Javascript Sudoku Puzzle Generator
<!--
# Javascript Sudoku Puzzle Generator
Generation process is handled in a producer wrapped in
a worker that is embedded in html.
API is designed to be pluggable, but needs more
interface to support this. Currently it responds
with an array of rows.