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
#include <iostream> | |
#include <string> | |
#include <regex> | |
using namespace std; | |
int main () { | |
// replace first x => ks | |
string str = "Thanx Texas\n"; | |
cout << str; |
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
item: { | |
id: "1", | |
name: "Mattress", | |
price: "115.00", | |
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", | |
images: [ | |
{ | |
url: "http://loremflickr.com/320/240/mattress", | |
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" | |
}, |
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
### Get Repos Ready ### | |
# initial update & upgrade | |
sudo pacman -Syu | |
# install new apps | |
sudo pacman -Sy --noconfirm gcc patch curl zlib readline libxml2 libxslt git autoconf diffutils make libtool bison subversion vim-rails qgit | |
# configure git | |
git config --global user.name your-username |
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
var f1 = function(x,y){ | |
return Math.pow(x-2, 2) + Math.pow(y-1,2); | |
} | |
var f2 = function(x,y) { | |
return Math.pow(x-5, 2) + Math.pow(y-5,2); | |
}; | |
(function(input) { | |
var crit = []; |